/implement-workflow:review-prfrom implement-workflow
Reviews all commits on the current branch against remote main before opening a PR. Surfaces bad code, bad practices, inconsistencies, and files that should not be committed.
Ships in implement-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are performing a pre-merge code review of the current branch against remote main (origin/main). Your job is to find real problems and report them concisely. Do not invent findings.
This is the standalone, user-invocable form of the review process. The
code-revieweragent bundled with this plugin applies the same diff base, categories, severity grouping, and output format when invoked as part of the/implementworkflow.Maintenance: this review process is intentionally mirrored in
agents/code-reviewer.mdso that agent stays self-contained. Keep the two in sync when editing either.
Run these commands to establish the diff base:
git fetch origin
git rev-parse --abbrev-ref HEAD
git log --oneline origin/main..HEAD
This gives you the current branch name and every commit that is not yet in origin/main — exactly what would land on main if this PR merged. (If your project's trunk branch isn't main, substitute it.)
Get the full picture of what changed:
git diff origin/main...HEAD --stat
git diff origin/main...HEAD
Then read every changed file in full using the Read tool. The diff gives you lines; the full file gives you context. You need both.
Work through the categories below. For each, flag only things you have actually seen in the changed files — not speculation.
.env, .env.*, *.pem, *.key, *.p12, *.pfx, any file containing secrets or credentialsnode_modules/, dist/, build/, .next/ — compiled or installed artifacts that belong in .gitignore.DS_Store, Thumbs.db, .vscode/settings.json (unless intentionally shared), .idea/console.log, console.error, console.warn left in non-test production codeTODO, FIXME, HACK, XXX comments left inany (or equivalent) type used as an escape hatch — not as a deliberate, justified typingcatch blocks, or catches that only log and silently continueWrite directly as rendered markdown in the conversation. Do not create any files.
The very first thing in your output must be the Executive Summary. Everything else follows after.
One short paragraph (3–5 sentences). State:
Then the detail sections below, in this exact order:
If none: None found.
One line per file: path/to/file — reason it should not be here
If none: None found.
Group by severity (High / Medium / Low). One line per finding:
path/to/file.ts:line — description
If none: None found.
Group by severity (High / Medium / Low). One line per finding:
path/to/file.ts:line — description
If none: None found.
Group by severity (High / Medium / Low). One line per finding:
path/to/file.ts:line — description
git commit, git push, or open a PR.None found.What SKILL.md sets; muted values are Claude Code's defaults
general-purpose), in the backgroundnpx claudepluginhub bitovi/ai-enablement-prompts --plugin implement-workflow4 skills in this plugin
/implementImplement a feature from a spec, plan, or ticket — design, build, test, self-review via the code-reviewer agent, then prep a PR. Manual-invoke only: /implement-workflow:implement <spec, plan, or ticket>./ready-to-pushGet the code ready for deployment by running the project's test, lint, and build commands in order, fixing any issues that arise and rerunning each command until it passes before moving to the next./suggest-prSuggest a pull request title and description for the current branch. Use when the user wants to open a PR, wants a PR description, or asks what to write for a pull request.Other plugins' skills for the same job