agentleFS
Tianea2160Tianea2160/claude-skills/skills/feature-review/SKILL.md

feature-review

Skill1 starsChanged 7 months agoMITView on GitHub

Review phase of a feature workflow. Runs two parallel verification agents (goal alignment, code quality) against the implemented change, self-heals up to 2 retries per finding, and captures lessons into CLAUDE.md. Usage: /feature-review <plan-path>

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Lightspeed-Intelligence/agentic-workflow-template★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 3 are distinctive, and 7 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.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every delegated agent prompt ends with the fixed return schema from feature-research/references/plan-schema.md.

    line 19
  2. Very specific:

    Read the frontmatter. If status.work is pending, ask how to proceed.

    line 35
  3. Distinctive:

    Run git diff --stat and capture the list of changed paths.

    line 39
  4. Very specific:

    Agent C-1 — Goal alignment: read the Plan's ## Goal, ## Change Plan, and ## Test Scenarios.

    line 45
  5. Very specific:

    After fixes land, re-run Step 3 but narrow the scope to the files from findings only.

    line 59
  6. Very specific:

    Write the final finding set (including resolutions) to the Plan's ## Review Results section.

    line 63
  7. Very specific:

    If new architectural rules or conventions emerged that code alone cannot teach, update the relevant CLAUDE.md or .claude/rules/*.md.

    line 67
  8. Very specific:

    Do not modify source files from main.

    line 109
  9. Distinctive:

    Do not rewrite any other Plan section.

    line 110
  10. Distinctive:

    No third retry without user approval.

    line 111

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

feature-review

Fourth stage of the 4-skill feature workflow. Verifies that the implementation matches the Plan's goals and passes quality checks; captures durable lessons into CLAUDE.md / .claude/rules/.

$ARGUMENTS must be the path to the Plan file.

Language note: This skill is authored in English per .claude/rules/skill-authoring.md. User-facing output follows the project's CLAUDE.md language preference.

Invariants

  • Agent prompts carry only the Plan path and git diff --stat file list. Agents load diffs themselves via git diff <file>.
  • Every delegated agent prompt ends with the fixed return schema from feature-research/references/plan-schema.md.
  • Self-healing: the same agent that flagged an issue attempts the fix and re-reports. Two retries maximum; on the third failure, surface via AskUserQuestion.
  • Delta-only re-verification: on the second review round, only the files flagged in findings are reviewed again.

References

  • references/review-checklist.md — Code-quality checklist used by Agent C-2.
  • ../feature-research/references/plan-schema.md — Plan contract, agent return schema, status machine.

Workflow

1. Resolve the Plan

  1. Take the Plan path from $ARGUMENTS. If empty, prompt via AskUserQuestion.
  2. Read the frontmatter. If status.work is pending, ask how to proceed. If status.test is pending, ask whether to continue without tests.

2. Collect the changed-file list

Run git diff --stat and capture the list of changed paths. Do not embed diff bodies here; agents will fetch them individually.

3. Parallel verification (2 agents, single message)

Dispatch both in one Agent block. Each prompt includes: the Plan path, the changed-file list, and the fixed return schema.

  • Agent C-1 — Goal alignment: read the Plan's ## Goal, ## Change Plan, and ## Test Scenarios; for each requirement, confirm coverage in the diff. Return findings with severity, path:line, one_line_desc for each gap.
  • Agent C-2 — Code quality: apply references/review-checklist.md against each changed file (loaded via git diff <file>). Return findings per the same shape.

4. Resolve findings with self-healing

For each issues / blocked return:

  1. Dispatch the implementer agent (subagent_type: implementer) with the finding(s), the target files, and instructions to apply the fix then re-report status: ok.
  2. On retry failure, the agent exhausts 2 attempts internally, then returns status: blocked with its reasoning.
  3. On blocked, surface to the user via AskUserQuestion: continue with caveat, request manual fix, or abort.

Rationale: C-1 and C-2 are verification-only; actual edits go through implementer so main context never sees diff bodies.

5. Delta-only second round

After fixes land, re-run Step 3 but narrow the scope to the files from findings only. Loop Steps 3–5 until both agents return status: ok or the user accepts the remaining caveats.

6. Append findings to the Plan

Write the final finding set (including resolutions) to the Plan's ## Review Results section. Do not rewrite other sections.

7. Capture durable lessons (optional)

If new architectural rules or conventions emerged that code alone cannot teach, update the relevant CLAUDE.md or .claude/rules/*.md. Targets:

  • New architecture decisions (e.g., "notifications go over WebSocket").
  • Conventions solidified during implementation (e.g., "event types live in src/types/").
  • Non-obvious gotchas (e.g., "socket.io must initialize after HTTP server creation").

Skip this step if nothing was learned that is not already visible in the code.

8. Update Plan status

Set status.review: done in the Plan's frontmatter.

9. Mini-report (outline style)

Emit a final outline-form report as model text, in the project's preferred language. Labels below are reference-only.

──────────────────────────────────────────
  ✓ feature-review done   **<slug>**
──────────────────────────────────────────

**▸ Summary**
  - **Goal alignment** — **<n/n requirements>**
  - **Quality checks** — **<pass|issues resolved>**
  - **Self-heals applied** — **<m>**

**▸ Artifacts**
  - `.claude/plans/<slug>.md` — **Review Results appended**
  - `CLAUDE.md` / `.claude/rules/*.md` — **updated (if applicable)**

**▸ Metrics**
  - Findings **<total>** / resolved **<n>** / caveats **<k>**
  - Files reviewed **<n>**

**▸ Next steps**
  - **Merge-ready** / **User action** — <specific item if any>
──────────────────────────────────────────

Outline rules: no complete sentences; bold nouns/identifiers/numerics/status; symbols only from ✓ ⚠ ✗ ▸; never emit via Bash.

Constraints

  • Do not modify source files from main; source edits flow only through implementer. Main-thread Edits are limited to the Plan's ## Review Results / status.review and CLAUDE.md-style rule files.
  • Do not rewrite any other Plan section.
  • No third retry without user approval.

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.