agentleFS
fengsihao23-engfengsihao23-eng/shen-hua/skills/self-reviewer/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when:

    line 12
  2. Distinctive:

    Do not use this skill for:

    line 20
  3. Very specific:

    Read .agent/PLAN.md, .agent/TASKS.md, .agent/LOG.md, and .agent/HANDOFF.md.

    line 27
  4. Very specific:

    If a serious issue is found and is in scope, fix it and rerun $verification-loop.

    line 37
  5. Distinctive:

    If not fixing, record the risk clearly.

    line 38
  6. Very specific:

    Use $verification-loop if no current verification exists after changes, or if the review leads to fixes.

    line 53
  7. Very specific:

    Use $handoff-writer after self-review.

    line 54

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Re-read the user's latest request and project rules.
  2. Read .agent/PLAN.md, .agent/TASKS.md, .agent/LOG.md, and .agent/HANDOFF.md.
  3. Inspect the current diff or changed-file list when version control is available.
  4. 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
  5. If a serious issue is found and is in scope, fix it and rerun $verification-loop.
  6. 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-loop if no current verification exists after changes, or if the review leads to fixes.
  • Use $handoff-writer after 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:

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.