agentleFS
GiggleLiuGiggleLiu/cryochamber/.claude/skills/review-implementation/SKILL.md

review-implementation

Skill34 starsChanged 7 months agoMITView on GitHub

Use after implementing a feature or any code change to verify completeness and correctness before committing

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-design and review-plan.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dirkkok101Skill

    review-design

    Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.

    Also in 3 projects that use this

  • JetBrainsSkill

    review-plan

    Manually re-run the autonomous plan review (Phase 2 — consistency + structural). The same review runs automatically as the first phase of /execute-tracks; this command is for re-runs after inline replanning or whenever the plan needs explicit re-validation. TRIGGER when: user asks to re-validate the plan after inline replanning; user requests explicit plan review outside /execute-tracks. SKIP: /execute-tracks already running State 0 in this session (autonomous Phase 2 path will fire) — do not double-run.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Read quality-reviewer-prompt.md from this skill directory

    line 49
  2. Distinctive:

    When the subagent returns:

    line 59
  3. Very specific:

    After creating a PR (from any flow), run make copilot-review to request GitHub Copilot code review on the PR.

    line 100

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “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

Review Implementation

Dispatches a quality review subagent with fresh context (no implementation history bias):

  • Quality reviewer -- DRY, KISS, HC/LC, HCI, test quality

Invocation

  • /review-implementation -- auto-detect from git diff
  • /review-implementation generic -- code quality only (explicit)

Step 1: Detect What Changed

Determine what files were added or modified:

# Check for NEW files (not just modifications)
git diff --name-only --diff-filter=A HEAD~1..HEAD
# Also check against main for branch-level changes
git diff --name-only --diff-filter=A main..HEAD

Extract the changed file paths and a summary of what changed.

Step 2: Prepare Subagent Context

Get the git SHAs for the review range:

BASE_SHA=$(git merge-base main HEAD)  # or HEAD~N for batch reviews
HEAD_SHA=$(git rev-parse HEAD)

Get the diff summary and changed file list:

git diff --stat $BASE_SHA..$HEAD_SHA
git diff --name-only $BASE_SHA..$HEAD_SHA

Step 3: Dispatch Quality Reviewer

Dispatch using Task tool with subagent_type="superpowers:code-reviewer":

  • Read quality-reviewer-prompt.md from this skill directory
  • Fill placeholders:
    • {DIFF_SUMMARY} -> output of git diff --stat
    • {CHANGED_FILES} -> list of changed files
    • {PLAN_STEP} -> description of what was implemented (or "standalone review")
    • {BASE_SHA}, {HEAD_SHA} -> git range
  • Prompt = filled template

Step 4: Collect and Address Findings

When the subagent returns:

  1. Parse results -- identify ISSUE items from the report
  2. Fix automatically -- clear issues, Important+ quality issues
  3. Report to user -- ambiguous issues, Minor quality items, anything you're unsure about
  4. Present consolidated report

Step 5: Present Consolidated Report

## Review: [Feature/Fix/Generic] [Name]

### Build Status
- `make test`: PASS / FAIL
- `make clippy`: PASS / FAIL

### Code Quality (from quality reviewer)
- DRY: OK / ...
- KISS: OK / ...
- HC/LC: OK / ...

### HCI (if CLI changed)
...

### Test Coverage
- Coverage: [X.X%] -- OK (>=95%) / CRITICAL (<95%)

### Test Quality
...

### Fixes Applied
- [list of issues automatically fixed by main agent]

### Remaining Items (needs user decision)
- [list of issues that need user input]

Integration

Copilot Review (after PR creation)

After creating a PR (from any flow), run make copilot-review to request GitHub Copilot code review on the PR.

Standalone

Invoke directly via /review-implementation for any code change.

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.