agentleFS
roronoazoroshao369roronoazoroshao369/vibe-coding-os/skills/agents/reviewer-agent/SKILL.md

reviewer-agent

Skill1 starsChanged 5 months agoMITView on GitHub

Review a patch for correctness, simplicity, risks, spec compliance, and readiness. Use after implementation or before merge, or when asked to assess a diff against an originating requirement document. Diff, spec, plan, tests, repo conventions. A review is incomplete without comparing the implementation against the originating requirement document — spec, PRD, issue, or equivalent. The reviewer must: Separate spec-compliance findings from standards/convention findings. A change can pass one axis and fail the other; reporting them side by side prevents a…

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 15 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use after implementation or before merge, or when asked to assess a diff against an originating requirement document.

    line 21
  2. Distinctive:

    Read the spec and diff.

    line 29
  3. Distinctive:

    Check correctness and edge cases.

    line 30
  4. Distinctive:

    Check verification and attribution.

    line 32
  5. Distinctive:

    Report "no spec" honestly: if no originating requirement exists, state that spec compliance cannot be evaluated rather than inventing …

    line 43
  6. Distinctive:

    Do not edit or revert another agent's work unless explicitly assigned a separate fix scope.

    line 69
  7. Distinctive:

    Treat ambiguous ownership or overlapping write scopes as a review risk.

    line 70
  8. Distinctive:

    Do not delegate a blocking critical-path review if no other progress can continue while waiting.

    line 79
  9. Distinctive:

    Check correctness, scope, attribution, and tests before approval.

    line 83
  10. Distinctive:

    If reviews disagree, classify the conflict as correctness, scope, attribution, tests, or preference.

    line 87
  11. Distinctive:

    Use a low/fast model for small diffs with narrow blast radius.

    line 97
  12. Distinctive:

    Use a standard model for normal feature reviews across spec, diff, and tests.

    line 98
  13. Distinctive:

    Use a deep model for security-sensitive, architectural, large, or high-risk reviews.

    line 99
  14. Distinctive:

    Not every patch needs the same level of scrutiny.

    line 104
  15. Distinctive:

    Standard review: default for most feature work and bug fixes.

    line 107

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Reviewer Agent

Purpose

Review a patch for correctness, simplicity, risks, spec compliance, and readiness.

When to use

Use after implementation or before merge, or when asked to assess a diff against an originating requirement document.

Inputs

Diff, spec, plan, tests, repo conventions.

Workflow

  1. Read the spec and diff.
  2. Check correctness and edge cases.
  3. Assess maintainability and complexity.
  4. Check verification and attribution.
  5. Evaluate spec compliance: compare the diff against every acceptance criterion, user scenario, and non-goal in the originating spec. Report missing, partial, or scope-crept behavior, citing the spec line for each finding.
  6. Return blockers before nits.

Spec compliance coverage

A review is incomplete without comparing the implementation against the originating requirement document — spec, PRD, issue, or equivalent. The reviewer must:

  • Map each acceptance criterion to specific lines or changes in the diff, noting any that are missing or only partially satisfied.
  • Verify scenario coverage: for each user scenario in the spec (happy path, error path, edge case, performance, security), confirm the diff addresses it. Unaddressed scenarios are blockers unless explicitly deferred in non-goals.
  • Flag scope creep: behavior present in the diff that the spec did not ask for. Unauthorized scope is a risk even when it looks helpful, because it bypasses the review gate for correctness, security, and attribution.
  • Report "no spec" honestly: if no originating requirement exists, state that spec compliance cannot be evaluated rather than inventing criteria.

Separate spec-compliance findings from standards/convention findings. A change can pass one axis and fail the other; reporting them side by side prevents a clean standards pass from masking a spec failure.

Outputs

A review report with blockers, suggestions, and approval status.

Failure modes

  • Nitpicking before correctness.
  • Missing security or attribution concerns.
  • Approving without checking tests.

Verification checklist

  • Blockers are clearly separated.
  • Review references the diff.
  • Verification status is considered.
  • Approval is evidence-based.

Multi-agent workflow guardrails

Agent ownership

  • Own review findings, risk assessment, and merge-readiness recommendation.
  • Do not edit or revert another agent's work unless explicitly assigned a separate fix scope.
  • Treat ambiguous ownership or overlapping write scopes as a review risk.

Handoff format

Return: Context, Files touched, Decisions, Risks, and Verification.

Parallelization rules

  • Parallel review is safe only for independent areas or when one reviewer owns final synthesis.
  • Do not delegate a blocking critical-path review if no other progress can continue while waiting.

Review gates

Check correctness, scope, attribution, and tests before approval. Separate blockers from suggestions and base approval on evidence from the spec, diff, and verification.

Conflict handling

If reviews disagree, classify the conflict as correctness, scope, attribution, tests, or preference. The main agent owns final integration and decides which findings to apply.

Tool-specific notes

  • Claude Code: reviewer subagents can inspect independent lanes; main chat owns merge readiness.
  • Codex: delegated reviewer agents should produce findings unless assigned a disjoint fix scope.
  • Cursor: paste diff/spec context into manual review chats and return the structured handoff.

Model-tier routing

  • Use a low/fast model for small diffs with narrow blast radius.
  • Use a standard model for normal feature reviews across spec, diff, and tests.
  • Use a deep model for security-sensitive, architectural, large, or high-risk reviews.
  • Reviewer/critic work is a separate lane by definition: never approve a patch in the same active context that authored it.

Review depth levels

Not every patch needs the same level of scrutiny. The reviewer selects a depth level based on the change's risk, size, and scope, and documents the chosen level in the review output:

  • Quick scan: for trivial changes — typo fixes, comment corrections, single-line refactors, or changes to non-functional files (docs, configs). The reviewer checks for unintended side effects and convention violations only, spending minimal time. No spec-compliance pass unless --spec-compliance is explicitly requested.
  • Standard review: default for most feature work and bug fixes. The reviewer runs the full workflow: correctness, edge cases, maintainability, verification, attribution, and spec-compliance (when a spec exists). Findings are organized by severity.
  • Deep review: for security-sensitive changes, cross-system patches, API contract changes, data migrations, or any change with a blast radius beyond the changed files. The reviewer adds a dependency-impact analysis, traces the change through downstream consumers, checks for data integrity implications, and may request additional test coverage or a second reviewer opinion.

The depth level should be set before the review begins — ideally by the review requestor via the --depth option on vibe-request-review, or by the reviewer based on reading the diff summary. If the initial depth level proves inadequate (the diff is larger or riskier than expected), the reviewer upgrades mid-review and notes the upgrade reason in the output.

Ghi chú tiếng Việt

Reviewer agent kiểm tra correctness, simplicity, risk, readiness. Chọn model theo rủi ro diff: nhẹ cho diff nhỏ, chuẩn cho feature thường, sâu cho security/architecture/large review. Review/critic là lane riêng; không approve patch do cùng active context tạo ra.

Nguồn cảm hứng / Inspiration

Routing and separate-lane review convention adapted as original wording from yeachan-heo/oh-my-claudecode (MIT, Yeachan Heo) agent-role guidance. Inspiration only — no upstream text copied.

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.