staff-code-review
/staff-code-review
Staff-engineer-level code review that goes beyond correctness to evaluate architectural alignment, system-level implications, failure modes, performance, scalability, backward compatibility, observability, security, and cross-team impact. Use when reviewing a PR (URL or diff), analyzing code changes for architectural fitness, or when the user asks for a thorough/staff-level/senior review of code changes. Triggers on "review this PR", "review these changes", "staff review", "thorough code review", sharing a GitHub PR URL for review, or asking about the architectural impact of changes.
- Author
- smykla-skalski ↗
- Repository
- sai ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 20
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/find_humanize_refs.py, scripts/parse_review_comments.py
What it does and when to use it
Staff-engineer-level code review that goes beyond correctness to evaluate architectural alignment, system-level implications, failure modes, performance, scalability, backward compatibility, observability, security, and cross-team impact. Use when reviewing a PR (URL or diff), analyzing code changes for architectural fitness, or when the user asks for a thorough/staff-level/senior review of code changes. Triggers on "review this PR", "review these changes", "staff review", "thorough code review", sharing a GitHub PR URL for review, or asking about the architectural impact of changes.
Triggers from the description
Arguments
/staff-code-review <pr-url|file-paths|diff> [--no-adversary]
Original author description
Staff-engineer-level code review that goes beyond correctness to evaluate architectural alignment, system-level implications, failure modes, performance, scalability, backward compatibility, observability, security, and cross-team impact. Use when reviewing a PR (URL or diff), analyzing code changes for architectural fitness, or when the user asks for a thorough/staff-level/senior review of code changes. Triggers on "review this PR", "review these changes", "staff review", "thorough code review", sharing a GitHub PR URL for review, or asking about the architectural impact of changes.
How it works
- Required guidance
- Arguments
- Core flow
- Persona dispatch
- Invariants
SKILL.md preview
--- name: staff-code-review description: Staff-engineer-level code review that goes beyond correctness to evaluate architectural alignment, system-level implications, failure modes, performance, scalability, backward compatibility, observability, security, and cross-team impact. Use when reviewing a PR (URL or diff), analyzing code changes for architectural fitness, or when the user asks for a thorough/staff-level/senior review of code changes. Triggers on "review this PR", "review these changes", "staff review", "thorough code review", sharing a GitHub PR URL for review, or asking about the architectural impact of changes. license: MIT compatibility: Works in Claude Code, Codex, opencode and Copilot CLI. Needs git and python3; gh (authenticated) for PR targets and posting. The council and humanize plugins are optional. argument-hint: "<pr-url|file-paths|diff> [--no-adversary]" allowed-tools: Agent Bash Read Write user-invocable: true metadata: short-description: Review changes at staff level --- # Staff-Level Code Review Review whether a change should exist, fits the system, survives failure, and remains operable at scale. Do not stop at line-level correctness. ## Required guidance Before reviewing, read [references/workflow.md](references/workflow.md) completely. It is the authoritative procedure for input resolution, research, every review lens, synthesis, adversarial verification, humanization, persistence, GitHub posting, output format, and severity calibration. Follow its phases in order and load every deeper reference it names at the stated gate. Paths in the guidance are relative to this skill directory. On agents without Claude features, use the compatibility fallbacks in its `Agent compatibility` section. ## Arguments Invocation arguments: `$ARGUMENTS` These are the PR URL, file paths or diff and the `--no-adversary` flag the user gave on invocation. The workflow reads them from here, not from its own text. If the line above is empty or still shows the literal placeholder, the client passed none: take the same values from the user's request. ## Core flow 1. Resolve a GitHub PR, file paths, or pasted diff; strip `--no-adversary` before resolving the target. 2. Triage necessity, problem fit, failure tolerance, comprehensibility, architectural fit, stakeholder impact, scope, size, description quality, and tests. Stop before deep review when the approach itself is wrong. 3. Build one time-bounded Research Brief covering callers, patterns, tests, history, and architecture. Give the same brief and diff to every lens. 4. Run all seven dimension reviews plus the Code Adversary. Claude Code may run them in parallel; other agents follow the sequential fallbacks in the detailed workflow. 5. Translate council-persona output when needed, synthesize and deduplicate findings, then run the independent Findings Adversary unless `--no-adversary` was given. 6. Apply the adversary verdicts, correct invalid locations and severities, and recompute the final verdict. 7. Humanize the final comments, save the artifact, and post only when the user explicitly asked for GitHub posting. ## Persona dispatch Keep these exact dimension-to-reviewer mappings. Bundled mandates live in `references/agents/`; pass absolute deep-reference paths to subagents. | Dimension | Claude Code persona | Bundled reviewer (`staff-code-review:` prefix) | Deep reference | |---|---|---|---| | Architecture & Design | `council:evans-ddd-reviewer` | `architecture-design-reviewer` | - | | Reliability & Operations | `council:hebert-resilience-reviewer` | `reliability-operations-reviewer` | - | | Security & Dependencies | `council:ai-quality-advisor` | `security-dependencies-reviewer` | - | | Performance & Scalability | `council:gregg-perf-reviewer` | `performance-scalability-reviewer` | `references/performance-scalability.md` | | Backward Compatibility | `council:siracusa-mac-critic` | `backward-compatibility-reviewer` | `references/backward-compatibility.md` | | Convention Conformance & Code Reuse | `council:antirez-simplicity-reviewer` | `convention-conformance-reviewer` | `references/convention-conformance.md` | | Dead Code | `council:tef-deletability-reviewer` | `dead-code-reviewer` | `references/dead-code.md` | Run `staff-code-review:code-adversary` after the seven dimensions. After synthesis, run `staff-code-review:review-adversary`. When named agents are unavailable, prepend the identical mandate from `references/agents/<name>.md` to a generic subagent or execute it inline as the detailed fallback specifies. ## Invariants - Ground every finding in the diff and surrounding repository evidence; include a valid changed `file:line` for GitHub comments. - Never invent a target, caller, failure, or location. - Preserve each council persona's native voice until translation. - Do not let constructive reviewers validate their own findings. - Apply REMOVE, DOWNGRADE, and REWORD verdicts before output. - Never post without explicit user intent; a review request alone returns the review in chat.
Files in this package (20)
- SKILL.md 5 KB
- agents/openai.yaml 1 KB
- references/backward-compatibility.md 12 KB
- references/convention-conformance.md 9 KB
- references/dead-code.md 7 KB
- references/performance-scalability.md 12 KB
- references/persona-translator-prompt.md 3 KB
- references/review-dimensions.md 9 KB
- references/workflow.md 47 KB
- references/agents/architecture-design-reviewer.md 3 KB
- references/agents/backward-compatibility-reviewer.md 4 KB
- references/agents/code-adversary.md 5 KB
- references/agents/convention-conformance-reviewer.md 4 KB
- references/agents/dead-code-reviewer.md 3 KB
- references/agents/performance-scalability-reviewer.md 3 KB
- references/agents/reliability-operations-reviewer.md 3 KB
- references/agents/review-adversary.md 6 KB
- references/agents/security-dependencies-reviewer.md 3 KB
- scripts/find_humanize_refs.py 5 KB
- scripts/parse_review_comments.py 6 KB
Versions
The database has no other skills named staff-code-review.
Database snapshot: 13.11.2026 · package version 08f67e53fc76 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100pr-review
Review pull requests with comprehensive analysis covering code quality, security vulnerabilities, performance implications, test coverage, documentation completeness, and architectural impact. Use when reviewing PRs, conducting code reviews, evaluating merge readiness, or… - 100review-code
Perform a senior-engineer code review when the user asks to review code, review a PR, review changes, or check code quality - 100code-review
Code review with principal-engineer-level depth. Reviews for correctness, performance, security, maintainability, and architecture. Use when completing tasks, reviewing PRs, or before merging. - 100pr-analyzing
Use this skill when the user asks to analyze a specific GitHub pull request, review a PR's architectural impact, assess what changed in a PR and why it matters, or research the code relationships affected by a PR — example triggers like "analyze PR #4521", "what's the impact of… - 100code-review-senior
Senior code review skill. Analyze code changes for security, performance, code quality, architecture, and testing. Use when reviewing code changes. - 100review
Use after writing code to get a thorough code review. Runs two passes — structural correctness then adversarial edge-case hunting. Scales depth by diff size. Supports --quick, --standard, --thorough modes. Triggers on /review.