From dev-workflow
Single-pass, standards-aware, diff-oriented code review. Reviews whatever is in the diff regardless of author (plugin-built or hand-written) against the plugin philosophy plus the resolved standards cascade (external folder/repo -> repo, repo wins). Use for the CI review action and as a light local pass. NOT the heavy multi-agent separation-of-judgment review (that is the build workflow's Review phase, local-only).
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
One review engine, three triggers - same philosophy and standards everywhere:
One review engine, three triggers - same philosophy and standards everywhere:
/implement phase 5: reviews the code the build just produced (heavy, local)./review standalone (local): your manual changes before pushing (light or heavy).This skill is the single-pass form. It runs in CI (the Workflow tool is NOT available
there) and locally as a quick standards pass. The heavy, multi-agent,
separation-of-judgment review lives in workflows/build-isolated-tdd.js (Review phase) and
JP's code-review skill - both local-only. Determinism here comes from the fixed criteria +
loaded philosophy/standards, not from orchestration.
Resolve the target from the argument:
owner/repo/pull/N (CI) - review the PR diff. Get it with
gh pr diff N --repo owner/repo (or the GitHub tools the action provides).git diff @{upstream}... + working tree), or the passed base...head.Review only the diff and the code it touches. Do not review the whole repo.
Three layers, merged by topic; the repo overrides the external source on any conflict:
${CLAUDE_PLUGIN_ROOT}/docs/philosophy.md. These are values, not style - they outrank
standards but cover different ground.$DEV_WORKFLOW_STANDARDS_PATH is set, that
directory is the checked-out standards source. Read its common-llms.md index and load
only the files matching the languages/domains in the diff (Go, TS, testing, database,
etc.). Index paths may be written standards/<topic>/<file> - resolve them relative to
the standards root (strip a leading standards/). If the var is unset, skip this layer
(local-folder-only users get a repo-only review; CI must set it for parity).CLAUDE.md (and any nested
CLAUDE.md under changed paths - they apply only to files beneath them) and, if present,
a repo REVIEW.md. REVIEW.md is review-only instruction and takes precedence over the
default criteria below (severity recalibration, nit caps, skip rules, repo-specific
checks). When a repo standard and an external standard address the same topic, the repo
one replaces it; unrelated standards stack.Lead with correctness; everything else is secondary. For each:
file:line citation in the
diff, not an inference from naming.Do not try to assess separation of judgment from a diff - that is a build-time property, not visible in the artefact. Review what is in front of you.
Match the familiar markers so findings read the same as the managed reviewer:
REVIEW.md overrides this calibration when present.
Before posting, refute each finding. If you cannot point to the exact file:line and
state how the code misbehaves, drop it. False positives cost the author a round trip.
gh + a write github_token). Open the review body with a one-line tally
(e.g. 2 important, 3 nits), or lead with "No blocking issues" when there are none.
Single pass. Never apply fixes in CI: comment only. Cap inline nits at 5 by default
(or the REVIEW.md cap); summarise the rest as a count. If a PR was already reviewed,
suppress repeat nits and post new Important findings only.file:line and a one-line tally.
Offer to fix; do not auto-apply. For a heavier local pass, defer to the build workflow's
Review phase or code-review.claude-code-action).npx claudepluginhub johnplummer/jp-plugins --plugin dev-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.