# Review Manual (Read-Only with User-Driven Fixes)

Perform a read-only review of the current change using the `review-auto` workflow, then apply fixes based on user selections from the generated findings.

**Canonical URL:** https://skillshunter.net/skills/discovered-1baaac00d927e5172ce0de11925bd2f9369d3b86e7f5fed3

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-1baaac00d927e5172ce0de11925bd2f9369d3b86e7f5fed3

**Markdown URL:** https://skillshunter.net/skills/discovered-1baaac00d927e5172ce0de11925bd2f9369d3b86e7f5fed3.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-1baaac00d927e5172ce0de11925bd2f9369d3b86e7f5fed3/download

**Category:** Software & Development

**Source URL:** https://github.com/AnotherSava/claude-code-common/blob/1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93/claude/skills/review-manual/SKILL.md

**Source commit:** 1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93

**Listing approved at:** 2026-12-01

**Created at:** 2026-11-30T08:08:36.000000Z

**Updated at:** 2026-12-01T12:48:20.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Ensure the `.claude/commit-checks.sh` script is present and the `tmp/review-findings.json` file is ignored by Git before proceeding. The user must explicitly choose which findings to fix; the system will not apply fixes automatically.

### When to use it

- Selective fixing of code review findings
- User-driven triage of code changes
- Read-only verification before committing changes

## Skill instructions

---
name: review-manual
description: >-
  Read-only review of the current change through the `review-auto` workflow, then fix only the findings
  the user leaves on fix.
  TRIGGER when: /review-manual, or a read-only review where the user chooses what gets fixed.
  DO NOT TRIGGER when: the review should fix its findings on its own (`review-auto`).
allowed-tools: Workflow
---

# Review manual

The read-only review loop: the workflow reviews and verifies without editing anything, the user picks what to fix,
and this session fixes it. The user's choice and the feedback typed against a row are the instruction; the
workflow's own triage is only the preset recommendation.

## Context

- Commit gate script: !`test -f .claude/commit-checks.sh && echo PRESENT || echo MISSING`
- Scratch file ignored: !`git check-ignore -q tmp/review-findings.json && echo IGNORED || echo NOT-IGNORED`

## Steps

1. **Build the workflow's args from the conversation** as `~/.claude/skills/shared/review-auto-args.md` describes,
   with `fix: false`. **Commit gate script** in Context says whether `.claude/commit-checks.sh` is the gate.
2. **Run** `Workflow({name: "review-auto", args})` and wait for its completion notification.
3. **Present the triage** as the workflow's returned `note` says.
4. **Write the picker's rows** to `tmp/review-findings.json` when **Scratch file ignored** is `IGNORED`; otherwise
   tell the user the file would be committable and ask where it should go. The file holds one `choices` block, in the
   format the docstring of `~/.claude/scripts/review_picker.py` defines, with `note_choice` `fix` and the column keys
   `finding`, `rating` and `view`, one row per triage row, ranked by your concern. Each row carries `choices`
   `["fix", "leave"]` and these fields: `id` is the triage id, `rating` its frequency and cost, `view` your
   recommendation and its reason in one line, `choice` `fix` where you recommend acting on it, and `dim` true where
   the fix would change only wording or documentation, which the picker draws in lighter grey.
5. **Run the picker in the background** — `python3 ~/.claude/scripts/review_picker.py tmp/review-findings.json`
   (`python` on Windows), with `run_in_background` — and wait for it to exit. Inside agterm it blocks until the user answers.
   The docstring defines each exit code and what it prints; act on them as follows.
   - Exit 0: the printed answer is the user's. Every row set to `leave` is an answer: fix nothing.
   - Exit 4: hand over the printed URL as a link and ask the user to choose, press **Copy answer**, and paste the
     result here. The pasted answer is the user's exactly as exit 0's would be.
   - Exit 2 or 3: show the same rows as a table in chat and ask which to fix and how.
   - Exit 1: report its stderr and fall back to the chat table.
6. **Fix exactly the rows set to `fix`**, following each one's note where it has some. Add or update tests wherever
   behaviour changed, then run the gate from step 1 and judge it by its exit status.
7. **When the tree changed**, say so and stop. The fixes were made after the review; the next `/wrap-up` or `/yolo`
   commits the reviewed tree first and the fixes as follow-up commits, as `~/.claude/skills/shared/commit-grouping.md`
   describes, including when that split does not apply.
8. **When nothing was set to `fix`, the tree is unchanged and the workflow's `bookmark` says it was recorded, commit
   exactly the reviewed tree**, so the bookmark moves now and whatever a later close-out adds — its reflection,
   clean-up and docs fixes — goes into later commits that the next review picks up. An unrecorded bookmark has
   nothing to move: report why it was not recorded and leave committing to `/wrap-up` or `/yolo`.
   1. Run `git status --short` now, since the tree at skill load predates the review. Group the paths as
      `~/.claude/skills/shared/commit-grouping.md` describes, together holding every path it lists and nothing else,
      and draft each message to a file under `tmp/`.
   2. Show the plan with each full message and ask for a yes. On it, commit each group with
      `python3 ~/.claude/skills/shared/commit.py -F <message-file> --reviewed <paths…>`, which stages the reviewed
      content, checks the message, scans what it adds and signs the commit. A blocking privacy finding is redacted
      in the commit itself, as the grouping document says, and the report says what that does to the bookmark.
   3. Run `python3 ~/.claude/scripts/review_scope.py advance` and report its line.
   4. Report the commits, and that the next `/wrap-up` or `/yolo` pushes them.

## Out of scope

- Do NOT fix a finding the user left on `leave`, however clearly it looks right.
- Do NOT run `review-auto` in fix mode, or an inline review workflow in its place.
- Do NOT commit a tree the review did not cover, amend a commit, or push; the push is `/wrap-up`'s or `/yolo`'s.

