End each change by asking how to review it, then run a single review in a fresh subagent or a multi-round review-and-fix loop against a baseline. Use at the end of every change (feature, fix, bootstrap step), or when the user asks for a review or a review loop on uncommitted work, a branch, or since a commit.
Ships in brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before following a step, check the project's CLAUDE.md and AGENTS.md, and the files they link to, for rules on the same step. Where they conflict with this skill, follow the project. Where they add to it, do both. Project rules also extend the review checklist below.
At the end of each change, give a one-line summary of the change, then ask with AskUserQuestion:
HEAD, and put any accepted fixes in a follow-up commit (fix: or refactor:).No review or loop starts until the user has chosen. If AskUserQuestion is unavailable, ask in plain text. If no one is available to answer, commit, skip the review, and say so. Commits follow commit-changes.
The user can also ask for a review or a loop at any time, on the current branch or since a given commit. Ask the loop setup questions first in that case too.
Reviews always run in a fresh subagent (the Agent tool with a general-purpose agent, never a fork of the current context). That way the reviewer judges the code on its own merits, without the reasoning that produced it. Give the subagent:
git diff HEAD plus untracked files for review-then-commit, or git show HEAD for commit-then-reviewCLAUDE.md and AGENTS.md, which it must read firstfile:line, a one-sentence problem, and a suggested fix. Each finding is tagged blocking (bug, regression, security, or project-rule violation) or improvement. It should say "no findings" rather than invent nitpicks.Checklist:
write-tests defines them. Flag tests that exist only for coverage or that over-mock.document-changes says.commit-changes defines it.Present the findings to the user concisely, and ask which to fix (all, some, or none) before changing anything.
The goal is the smallest, simplest, performant and readable diff against the baseline, with no bugs and no regressions.
Setup. When the user picks the loop, ask both questions in one AskUserQuestion call:
HEAD), the whole branch (git merge-base main HEAD), or since a specific commit (the user types the SHA). At the end of a change, the default is the uncommitted changes.Resolve the baseline to a SHA. Run the project's full check (formatter, static analysis, every test suite, and any generated-file freshness checks) once before round 1, and note anything already failing so it is not mistaken for a regression.
Once the user has approved the loop, run all rounds without stopping to ask, unless something below says to stop. Each round:
git diff <baseline> plus untracked files as the diff. Add these instructions:
Stop and ask the user instead of continuing if a fix would change behaviour the user asked for, would need a new dependency, or would go against a project rule.
After the loop, report briefly:
git diff --stat <baseline>Then commit. Loop fixes on uncommitted work become part of that change's commit. When the baseline includes existing commits, the fixes go in a follow-up commit (fix: or refactor:). If blocking findings remain after the last round, ask before committing.
What SKILL.md sets; muted values are Claude Code's defaults
/brain:review-changesfrom brain
npx claudepluginhub medilies/brain --plugin brain10 skills in this plugin
/commit-changesCommit with Conventional Commits v1.0.0, one logical change per commit, under the user's own git identity and with no AI attribution. Use whenever making a commit or writing a PR description./document-changesKeep docs true in the same commit as the code they describe - one home per fact, docs laid out by reader, ADRs as records, diagrams over walls of text. Use whenever a change touches behaviour, names, commands, config or architecture, and when writing or reorganizing docs./go-stackGo project preferences (versions, layer boundaries, database, OpenAPI, tools, CLIs and TUIs). Use whenever working in or bootstrapping a Go project.Other plugins' skills for the same job