self-reviewer
Skill1 starsChanged 6 months agoMITView on GitHub
Shen-Hua self-review workflow before finishing a task. Use before final responses, commits, PRs, handoffs, or readiness claims to inspect requirements coverage, diffs, risks, tests, missed edge cases, destructive changes, and unresolved work.
In this repository9 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- deep-plannerSkill
- handoff-writerSkill
- persistent-memorySkill
- project-commanderSkill
- runtime-operatorSkill
- shen-huaSkill
- subagent-orchestratorSkill
- verification-loopSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 12
Use this skill when:
- Distinctive: line 20
Do not use this skill for:
- Very specific: line 27
Read .agent/PLAN.md, .agent/TASKS.md, .agent/LOG.md, and .agent/HANDOFF.md.
- Very specific: line 37
If a serious issue is found and is in scope, fix it and rerun $verification-loop.
- Distinctive: line 38
If not fixing, record the risk clearly.
- Very specific: line 53
Use $verification-loop if no current verification exists after changes, or if the review leads to fixes.
- Very specific: line 54
Use $handoff-writer after self-review.
≈ “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
Self Reviewer
Self Reviewer is the final quality gate before saying the task is done.
Trigger Conditions
Use this skill when:
- A work round is ending.
- The agent is about to claim completion or readiness.
- Code/config/docs changed.
- A verification loop passed, failed, or was skipped.
Do Not Trigger
Do not use this skill for:
- Pure Q&A with no project impact.
- Early planning before implementation begins, unless the user asks for plan review.
Review Workflow
- Re-read the user's latest request and project rules.
- Read
.agent/PLAN.md,.agent/TASKS.md,.agent/LOG.md, and.agent/HANDOFF.md. - Inspect the current diff or changed-file list when version control is available.
- Check:
- requirement coverage
- accidental unrelated changes
- edge cases and error handling
- public API or contract changes
- security/privacy concerns
- missing tests or weak verification
- documentation or handoff gaps
- If a serious issue is found and is in scope, fix it and rerun
$verification-loop. - If not fixing, record the risk clearly.
Required .agent/ Updates
Always update:
.agent/REVIEW_CHECKLIST.md: checklist result and findings..agent/LOG.md: self-review summary..agent/TASKS.md: any reopened or completed items..agent/HANDOFF.md: residual risks and next action.
Update when relevant:
.agent/DECISIONS.md: accepted risk or deliberate non-fix.
Other Skills
- Use
$verification-loopif no current verification exists after changes, or if the review leads to fixes. - Use
$handoff-writerafter self-review.
Subagents
A reviewer subagent may be useful for large diffs when permitted, but the main agent remains responsible for final judgment.
Verification Commands
Self-review itself is mostly inspection. Run commands only when review reveals missing or stale verification.
Output Format
SELF REVIEW
Requirements covered:
Changed files reviewed:
Verification freshness:
Findings:
Residual risks:
Ready status: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.

