From shipshitdev-library
Orchestrates parallel structural, security, and devex/flag-hygiene reviews of a PR or branch, adversarially verifies findings, and synthesizes a prioritized verdict.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shipshitdev-library:full-code-reviewWhen to use
full code review, comprehensive review, end-to-end review, orchestrated review, production readiness review, deep PR review, multi-dimension review
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Orchestrated, multi-dimension PR/branch review. Runs structural, security, and
Orchestrated, multi-dimension PR/branch review. Runs structural, security, and devex/flag-hygiene reviewers in parallel, adversarially verifies every finding, then synthesizes one prioritized verdict. Read-only — this skill reports, it does not edit.
/code-review ultra has already
passed correctness — but structural health, feature-flag hygiene, devex
regressions, or security depth still need a dedicated pass.Do not invoke for a quick diff check — use /code-review for that. Do not
invoke de-slop or refactor-code from within this skill; it reviews, it
does not apply changes.
/code-review ultra/code-review ultra owns: correctness bugs, CLAUDE.md rule violations,
historical context. Trust it on correctness. This skill does not re-run
bug detection — that is fully owned by the harness.
This skill owns the orthogonal dimensions the harness does not cover:
| Dimension | What This Adds |
|---|---|
| Security depth | OWASP rubric, secret scanning, privilege escalation paths, timing attacks — not just diff-visible auth issues |
| Structural health | Module cohesion, circular deps, abstraction altitude, dead-code introduction, API surface sprawl |
| DevEx / flag hygiene | Internal-API breaking changes, type inference degradation, missing changelog, docs divergence, flags without cleanup tickets, always-on constants |
| Test quality signal | Tests asserting behavior not just execution; hollow snapshots; missing contract tests |
| Cross-commit (retro only) | Duplication reintroduced across separate commits, optimizations compounding over the window, a bug fix whose root cause recurs in untouched siblings, switch/flag forests that grew commit-by-commit — patterns invisible to any single-diff pass |
Explicitly excluded to avoid overlap: bug detection, CLAUDE.md rule validation, confidence-scoring/false-positive loop — those are owned by the harness. Do not add a correctness reviewer here.
Inputs:
HEAD vs
origin/main when not specified.COMMIT_LOG (SHAs + messages + per-file stat over a window),
passed by review-dispatch retro. Its presence switches the run to retro.Outputs:
retro-backlog (never blocks anything) — findings
bucketed bug / optimization / refactor and ranked by (impact × recurrence) ÷
effort, for scheduling as follow-up work.Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
security-audit for security dimension prompt.Before invoking the Workflow script, gather the diff scope so reviewer agents have concrete file/line context:
# Identify the base and head
git fetch --all --prune
git rev-parse --abbrev-ref HEAD
# Diff stat for scope awareness
git diff --stat origin/main...HEAD 2>/dev/null || git diff --stat HEAD~1...HEAD
# Full diff (passed into agent prompts)
git diff origin/main...HEAD 2>/dev/null || git diff HEAD~1...HEAD
If a PR number is available, also fetch PR metadata:
gh pr view <number> --json baseRefName,headRefName,changedFiles,additions,deletions
gh pr diff <number>
Store the diff text as DIFF and the file list as CHANGED_FILES — both are
redacted for secret-like values before they are injected into reviewer agent
prompts in the Workflow script below.
Invoke the Workflow tool with the script at ${CLAUDE_SKILL_DIR}/scripts/full-code-review.js.
Pass DIFF and CHANGED_FILES as context strings embedded in each reviewer prompt.
For a retro, also pass COMMIT_LOG — its presence adds the cross-commit reviewer
and switches synthesis to backlog mode. Everything else is unchanged.
After the Workflow completes, render output in this format:
Full Code Review — <branch or PR>
Verdict: <APPROVE | REQUEST CHANGES | BLOCK>
<one-sentence rationale>
Findings (<N> verified, <M> dropped):
[rank]. [SEVERITY] [dimension] — <file>:<line>
Finding: <one sentence>
Evidence: <redacted code snippet or file/line reference>
Fix: <stack-idiomatic remediation>
Overlap: flagged by <dimension(s)>
...
Dimensions reviewed: structural, security, devex
Adversarial pass: <N raw> → <M surviving>
For a retro (mode: retro), render a backlog instead — no APPROVE/BLOCK line,
findings grouped by bucket, ranked within each:
Commit Retro — <window> (<N> commits)
Theme: <one-sentence highest-leverage theme>
Bugs shipped this window:
[rank]. [SEVERITY] <file> — <finding> (commits: <sha>, <sha>)
Fix: <remediation>
Optimizations:
[rank]. [SEVERITY] <file> — <finding> (commits: <sha>)
Fix: <remediation>
Refactors:
[rank]. [SEVERITY] <file> — <finding> (commits: <sha>, <sha>, <sha>)
Fix: <consolidation>
Dimensions reviewed: structural, security, devex, cross-commit
Adversarial pass: <N raw> → <M surviving>
/code-review for a simple typo or config fix.de-slop, refactor-code, or any mutating skill from within this review — this skill is read-only./code-review ultra must also pass for correctness and CLAUDE.md compliance.npx claudepluginhub shipshitdev/skills --plugin worktreeReviews pull requests using parallel specialized agents for code quality, security, testing, and architecture analysis. Useful before merging or during security audits.
Structured code reviews with severity-ranked findings and deep multi-agent mode. Use when performing a code review, auditing code quality, or critiquing PRs, MRs, or diffs.
Executes a risk-tiered, multi-perspective PR review with specialist subagents and an external model pass, posting consolidated results to the PR.