agentleFS
SNIKOSNIKO/agent-skills/skills/swe-review/SKILL.md

swe-review

Skill2 starsChanged 6 months agoMITView on GitHub

Review an SWE brief, research report, spec, delivery plan, execution state, implementation diff, branch, or pull request. Use for fresh-context, evidence-backed findings before the human chooses the next action.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the target is ambiguous and artifact and code review would produce materially different scopes, ask one clarifying question.

    line 29
  2. Distinctive:

    Read the corresponding reference completely:

    line 34
  3. Distinctive:

    Treat the target as if entering with fresh context: verify its claims and do not defend decisions because they appeared earlier in the …

    line 38
  4. Distinctive:

    Prefer no findings when no concrete issue crosses the applicable review threshold.

    line 43
  5. Distinctive:

    Treat missing requirements or evidence as unknown.

    line 45
  6. Very specific:

    When verifying a material claim requires substantial repository impact analysis, an external probe, or a reproducible experiment, check …

    line 48
  7. Distinctive:

    Read artifacts, source, diffs, branches, and history, and run read-only inspection and non-destructive repository checks without asking.

    line 52
  8. Distinctive:

    Ask first before authenticated, paid, mutating, or otherwise consequential external research.

    line 54
  9. Distinctive:

    Never edit the reviewed artifact or code.

    line 56
  10. Distinctive:

    Use the selected reference's exact output structure.

    line 60
  11. Distinctive:

    Every finding cites concrete evidence and explains impact and minimal correction.

    line 66

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

Pipeline

swe-shape → swe-spec → [swe-plan] → [swe-worktree] → swe-execute → swe-review, with swe-research available at any point.

Each stage runs in its own session — that separation is what makes this review independent. Assume no memory of the session that produced the target.

  • This stage: review one artifact or one code change with fresh context.
  • Reads: the review target, its upstream artifacts, and the repository. Artifacts are brief.md (problem and acceptance, from swe-shape), spec.html (design and contracts, from swe-spec), plan.md (slice ordering, from swe-plan), state.md (execution progress, from swe-execute), and research reports (from swe-research).
  • Writes: nothing. Findings are returned in chat.
  • Next: the user decides whether to revise, return upstream, or proceed.

Purpose

Provide an independent, concise review of either an SWE artifact or changed code. Optimize for confirmed, actionable findings rather than volume.

Modes

Choose exactly one mode from the user's target:

  • Artifact review: brief.md, spec.html, plan.md, state.md, or a research report.md.
  • Code review: pull request, branch, commit range, staged changes, unstaged changes, or an implementation checked against SWE artifacts.

When the target is ambiguous and artifact and code review would produce materially different scopes, ask one clarifying question. Otherwise infer the mode from the path or request.

Workflow

  1. Identify the exact review target and scope.
  2. Read the corresponding reference completely:
    • artifact review: references/artifact-review.md
    • code review: references/code-review.md
  3. Apply repository rules before general review preferences.
  4. Treat the target as if entering with fresh context: verify its claims and do not defend decisions because they appeared earlier in the conversation.
  5. Return only verified, deduplicated, actionable findings in the reference's output format.

Shared Rules

  • Prefer no findings when no concrete issue crosses the applicable review threshold.
  • Review the requested artifact or changed behaviour and directly affected context, not the whole repository.
  • Treat missing requirements or evidence as unknown; do not invent them.
  • Match repository conventions and stated priorities when they differ from generic preferences.
  • Distinguish blocking correctness or decision gaps from optional improvements.
  • When verifying a material claim requires substantial repository impact analysis, an external probe, or a reproducible experiment, check .swe/research/INDEX.md and then run swe-research if needed, citing the report; keep ordinary source inspection inside the review.

Autonomy

Read artifacts, source, diffs, branches, and history, and run read-only inspection and non-destructive repository checks without asking. The only files this skill writes are the temporary review workspace files described in the code-review reference, which it removes before finishing.

Ask first before authenticated, paid, mutating, or otherwise consequential external research.

Never edit the reviewed artifact or code; the user decides what to fix after seeing the findings.

Output

Use the selected reference's exact output structure. State the review mode and target clearly. If no confirmed findings remain, say so directly.

Completion Criteria

  • The scope and mode are unambiguous.
  • Relevant repository rules and authoritative artifacts were considered.
  • Every finding cites concrete evidence and explains impact and minimal correction.
  • Speculative, stylistic, duplicated, and out-of-scope findings were removed.
  • The final assessment follows the selected reference's rubric.

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.