resolve-review-findings
Skill4 starsChanged 7 months agoMITView on GitHub
Validate and fix findings from the session review artifact. Use after /review when user says "fix review findings", "resolve review findings", "address review findings", "validate review findings", or wants the review-to-fix loop completed before commit.
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ai-workspace-projections.mdcCursor rule
- .cursor/rules/mcp-tool-configs.mdcCursor rule
- .cursor/rules/node-typescript.mdcCursor rule
- .cursor/rules/runstore-listruns-cache.mdcCursor rule
- .cursor/rules/worker-posture.mdcCursor rule
- .cursor/rules/worker-safety.mdcCursor rule
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- mergeprepSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- update-contextSkill
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 22 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Prefer a review artifact explicitly named by the user
- Distinctive: line 24
If none is named, infer the repository's review artifact convention:
- Very specific: line 25
Read .agents/skills/review/SKILL.md when present and use its artifact path pattern
- Very specific: line 26
Check branch-scoped review directories first, such as plans/{branch}/reviews/
- Distinctive: line 28
Prefer session review artifacts over branch-wide or pull-request artifacts unless the user explicitly asks otherwise
- Distinctive: line 34
If no artifact exists, use pasted findings from the conversation
- Distinctive: line 35
If there are no findings to resolve, report that and stop
- Distinctive: line 45
Create a temporary working ledger from the review input.
- Distinctive: line 58
Do not edit the review artifact yet.
- Distinctive: line 64
Read the referenced code and nearby call sites
- Distinctive: line 65
Read the relevant rule, plan decision, docs, or context that the finding depends on
- Very specific: line 77
If the user asked to fix all findings, fix all confirmed findings that do not require a user decision.
- Distinctive: line 79
Ask the user before changing behavior when:
- Distinctive: line 93
Update or add tests when the finding exposes missing behavioral coverage
- Distinctive: line 94
Avoid unrelated refactors, formatting churn, and opportunistic cleanup
- Distinctive: line 95
Keep user-owned unrelated working tree changes intact
- Distinctive: line 97
If a fix invalidates another finding or reveals a new issue, update the ledger and continue.
- Distinctive: line 101
Run verification proportional to the fixes:
- Distinctive: line 108
If verification fails, fix the failure or report the blocker with the command and failing evidence.
- Distinctive: line 123
When a plan exists, append concise evidence to the relevant execution log or review notes.
- Very specific: line 125
If a reusable pattern was learned, suggest /create-rule and provide:
- Distinctive: line 135
Do not dismiss critical or safety-related findings without code and rule evidence
- Distinctive: line 136
Ask before behavior-changing fixes
- Distinctive: line 137
Keep fixes scoped to reviewed changes unless the user approves broader work
- Distinctive: line 138
Run targeted verification after fixes
- Distinctive: line 139
Do not commit or push unless explicitly asked
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resolve Review Findings
Validate findings from the latest session review, fix confirmed issues, and re-run targeted checks before handoff.
When To Use
- User has just run
/reviewand wants the findings checked or fixed - User points to a saved
plans/{branch}/reviews/review-*.mdartifact - User pastes review findings and asks to validate, address, or close them
For pull request comments, use resolve-pr-comments. For branch-wide PR review findings, use review-pr first, then adapt this workflow only if the findings are local and actionable.
Instructions
Step 1: Locate The Review Input
- Get the current branch:
git branch --show-current - Prefer a review artifact explicitly named by the user
- If none is named, infer the repository's review artifact convention:
- Read
.agents/skills/review/SKILL.mdwhen present and use its artifact path pattern - Check branch-scoped review directories first, such as
plans/{branch}/reviews/ - Include repository-documented review directories if the review skill, plan, or docs name them
- Prefer session review artifacts over branch-wide or pull-request artifacts unless the user explicitly asks otherwise
- Read
- Find the most recent review artifact for the current branch using the inferred convention. Common fallback patterns are:
plans/{branch}/reviews/review-*.mdplans/{branch}/reviews/*review*.mdreviews/{branch}/*review*.mdreviews/*review*.mdwhen the artifact content or path clearly matches the current branch
- If no artifact exists, use pasted findings from the conversation
- If there are no findings to resolve, report that and stop
Also load supporting context when present:
contexts/{branch}/context.mdplans/{branch}/plan.mdand any sub-plans it references.agents/rules/*.mdfiles relevant to the changed files
Step 2: Build A Finding Ledger
Create a temporary working ledger from the review input. Track:
| Field | Meaning |
| ID | Finding number or stable local ID |
| Severity | critical, high, medium, low, or unknown |
| Source | review artifact path or pasted input |
| Rule | referenced rule/checklist item, if any |
| Location | file and line/symbol |
| Claim | what the review says is wrong |
| Proposed fix | reviewer suggestion, if provided |
| Status | pending, confirmed, false-positive, fixed, deferred, needs-user-decision |
Do not edit the review artifact yet. Use the ledger to avoid losing findings during fixes.
Step 3: Validate Each Finding Independently
For each finding:
- Read the referenced code and nearby call sites
- Read the relevant rule, plan decision, docs, or context that the finding depends on
- Confirm whether the issue is real in the current working tree
- Classify it:
confirmed: the issue exists and has a behavior-preserving fixfalse-positive: the claim is wrong; record evidenceneeds-user-decision: fixing changes product behavior, public contracts, data semantics, or scopedeferred: real but explicitly outside the current requested scope
AI or bot findings must be verified against code and docs before fixing. Do not implement a suggested fix just because it appears in a review.
Step 4: Decide Fix Scope
If the user asked to fix all findings, fix all confirmed findings that do not require a user decision.
Ask the user before changing behavior when:
- the fix would alter public API or persisted data semantics
- two valid fixes have materially different tradeoffs
- the review finding contradicts the plan or an existing rule
- the only fix is a broad refactor beyond the changed area
Otherwise, proceed without stopping.
Step 5: Implement Minimal Fixes
For each confirmed finding:
- Make the smallest scoped code change that resolves the issue
- Update or add tests when the finding exposes missing behavioral coverage
- Avoid unrelated refactors, formatting churn, and opportunistic cleanup
- Keep user-owned unrelated working tree changes intact
If a fix invalidates another finding or reveals a new issue, update the ledger and continue.
Step 6: Verify
Run verification proportional to the fixes:
- targeted tests for changed behavior
- build or typecheck for affected projects
- lint/format only if the repository normally requires it for changed files
- any Quality Gates listed in the plan that now apply
If verification fails, fix the failure or report the blocker with the command and failing evidence.
Step 7: Re-Review The Result
Re-run the session review workflow on the updated working tree, or manually re-check the original findings when the repository's review workflow is unavailable.
The outcome must say, for each original finding:
- fixed with evidence
- false positive with evidence
- deferred with user-approved rationale
- still open and why
Step 8: Update Artifacts
When a plan exists, append concise evidence to the relevant execution log or review notes. Do not rewrite the original review findings as if they never happened.
If a reusable pattern was learned, suggest /create-rule and provide:
- the pattern
- the anti-pattern
- evidence from the finding and fix
- suggested context tags
Critical Rules
- Validate before fixing; review findings are inputs, not commands
- Do not dismiss critical or safety-related findings without code and rule evidence
- Ask before behavior-changing fixes
- Keep fixes scoped to reviewed changes unless the user approves broader work
- Run targeted verification after fixes
- Do not commit or push unless explicitly asked
Checklist
- Review input located
- Context, plan, and relevant rules loaded
- Findings ledger created
- Each finding independently validated
- Confirmed findings fixed or escalated
- Tests/build/checks run as appropriate
- Re-review or manual re-check completed
- Final status reported per finding
Reference
.agents/skills/review/SKILL.md-- session-scoped review that creates the source artifact.agents/skills/resolve-pr-comments/SKILL.md-- pull request comment workflow.agents/skills/create-rule/SKILL.md-- capture reusable prevention rules
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

