--- name: report-review description: >- You should use this skill when: asked to clean up, review, or check a report in `notes/`, asked to verify that a technical markdown document matches the code --- # Report review Clean up a report in `notes/` and check its claims against the code. ## DependsOn - [notes.instructions.md](/com.github.copilot/rules/notes.instructions.md) - [reports.instructions.md](/com.github.copilot/rules/reports.instructions.md) ## Inputs A report path. Take the kind from the `..md` suffix and read the core requirements and the matching `/com.github.copilot/rules/reports-.instructions.md`. If the kind is unknown, apply only the core requirements and say so. ## Procedure ### 1. Clean up: edit in place - Fix every formatting, language, and filler violation of the core requirements directly in the file - Do not change facts, link targets, or code. If a fix needs a fact change, report it as a finding instead ### 2. Verify against code: report only Run this step in a subagent. Pass it only the report path and the instructions below. Without this conversation, the subagent does not share the author's assumptions. If no subagent tool is available, do it yourself and re-read the code for every claim. Subagent instructions: - Check every code link: the file exists and the line is inside the named symbol - Pick the key claims: ownership, lifecycle, threading, call order, data flow, error handling. Verify each one by reading the code - Return each claim as: report location, claim, verdict (`confirmed`, `wrong`, `unverifiable`), evidence link ### 3. Profile checks: report only Run the profile's checks. Also check the content rules of the core requirements. ## Output Format ```text Cleanup: edits () Findings: 1. [wrong | missing | unverifiable | ]
- Evidence: Fix: ``` List only `wrong` and `unverifiable` claims. Apply a finding only after the user picks it, for example with "fix 1, 3".