/skills:review-my-changesfrom skills
Reviews branches, pull requests, or diffs before merging by tracing changed functions to their callers outside the diff, proving each finding with a runnable test, and ranking issues by impact frequency and severity.
Ships in skills. 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.
Read when SKILL.md points to them.
Most bugs a review misses are not in the diff. They sit in a file nobody touched that still expects the old behaviour. Read the change, then read what depends on it.
git rev-parse --abbrev-ref HEAD
BASE_BRANCH=main
base=$(git merge-base HEAD "$BASE_BRANCH")
git log --oneline $base..HEAD
git diff --stat $base
If the diff is empty or the base does not resolve, say so and stop. Read the commit messages, the linked issue or spec if any, and the repo's own rules (CONTRIBUTING, AGENTS.md or CLAUDE.md). Do not change code while reviewing unless asked.
From git diff $base, list each exported function, method, route, type, event, config key or database column whose inputs, outputs, errors, timing (sync to async) or meaning changed. A changed return on the empty case (an empty list becoming null) counts. So does a dropped await.
For each item, search the whole repo, not only the diff:
git grep -n -w '<name>'
Open every caller outside the diff and ask: does it still hold after this change? Note the file and line of each one that does not.
Beyond callers, look for: boundaries and off-by-one (first page, last page, empty, exactly the limit), errors that are swallowed or no longer reach the caller, missing await, a shared value mutated, input trusted without a check on the server, and behaviour the spec asked for that the diff left out. An unusual line is not a bug: check what it does before flagging it.
Turn each suspected bug into evidence: a small script, a failing test in a temp folder, or a one-line call in a REPL that shows the wrong output. Delete the scratch afterwards. A finding you cannot show stays in the report as "unproven", with what would prove it.
Score each finding 1 to 10 on how often it would happen and 1 to 10 on how bad it would be. Multiply. Under 15 goes in a short "Notes" list at the end; it does not block the merge. 15 or more is a finding. Money, privacy and sign-in count as 8 or more on how bad.
Each finding: file:line, what goes wrong in one sentence, the evidence from step 5, the score, and the smallest fix. Order by score.
Copybook's notes for the agent:
Based on mattpocock/skills (MIT), rewritten by Copybook.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/add-pre-commit-checksUse when asked to add pre-commit hooks, set up Husky or lint-staged, stop bad commits, or run Prettier and type checks on commit. Sets up a pre-commit hook that formats staged files, type-checks with the project config, and runs related tests, proven by blocked and fast commits. Not for picking a test set for a change (run-affected-tests)./build-throwaway-prototypeUse when asked to prototype, spike, try an idea out quickly, sanity-check a state model or logic, or mock up what a UI should look like. Builds a throwaway prototype that answers one named design question from one command or one HTML file while leaving production code untouched. Not for building a finished production page (design-web-page)./check-current-docsUse when asked to use the latest docs, check if an API is still current, check which version the project is on, follow modern HTML or CSS best practices, or avoid outdated patterns; also when adding or changing code that calls a library pinned in the project, such as validation with a schema library. Reads the project lockfile and manifest, checks the official docs or browser guidance for the exact pinned versions, implements the current pattern without deprecated calls, and cites each choice with its URL, version, and date read. Not for moving existing code off an old API (migrate-off-deprecated-api)./check-live-deployUse when asked if a merge is live, if the deploy worked, or to check production after shipping and merging. Verifies that the canonical public URL serves the merged commit past any cache and that the change itself works live, reporting live, not live or unknown with evidence. Not for checking code before a merge (verify-work-done)./check-skill-before-installUse when asked to find a skill for a task, if there is a skill that helps, how to do something with an agent, which plugin to use, or to install a skill. Finds two or three candidate skills, reads each one for scripts, network calls, file writes, licence, and name clashes, and recommends one pick with a proposed install command. Not for getting a second opinion on a plan or trade-off (get-second-opinion)./find-root-causeUse when something is broken: a bug, a failing test, a build error, "it doesn't work", or a fix that didn't hold. Reproduces the failure, traces it to the line where it starts, proves one cause with one change, fixes every copy, and stops with a report after two failed fixes. Not for checking finished work before saying done (verify-work-done).npx claudepluginhub heyvhuang/copybook-skills --plugin skillsOther plugins' skills for the same job