/sstack:review-codefrom sstack
Audits a codebase in bounded waves of parallel auditors, publishes verified findings ranked by severity, and applies safe in-scope repairs. Invoke explicitly for codebase health review.
Ships in sstack. 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.
Review this codebase in bounded evidence-driven waves, publish the full report, and autonomously apply only safe, authorized improvements.
The task is the text given with this invocation.
Read applicable instructions, repository status, architecture, entry points, manifests, tests, configuration, and recent history. Preserve all staged, unstaged, untracked, and concurrent user work. Do not stash, reset, overwrite, or include unrelated changes.
Define the wave boundary before dispatch: subsystem, risk surface, or representative slice. Large repositories require multiple bounded waves; do not claim every line was reviewed when it was not.
Scale each wave by scope:
Orthogonality and independence matter more than reaching a count. Choose relevant lenses from correctness, security, data integrity, architecture/API, error handling, tests, complexity, dead code, dependencies, performance, operations, documentation, and consistency. Launch independent auditors concurrently; never permit nested agents.
Tiers: auditors run on your default model; the verification of candidate findings runs on your strongest model. Pin the model on every agent; an unpinned agent inherits whatever the session runs on.
Each finding must include severity, confidence, file and line, violated invariant, triggering conditions, concrete consequence, blast radius, evidence, and smallest credible remedy. Verify every candidate against code, callers, tests, and history. Deduplicate by root cause and discard invalid or purely subjective findings.
Publish every verified finding from the audited waves, including findings not selected for automatic repair. Sort deterministically by:
Correctness and security defects are must-fix when the repair is within current authorization and does not require a product decision. For maintainability, consistency, performance polish, docs, low severity, and nits, use an ROI gate: repair only when expected impact multiplied by confidence clearly exceeds effort and regression/churn risk. Do not blindly fix every nit.
Any finding whose remedy intentionally changes externally observable behavior, product policy, public contracts, data meaning, or architecture is a handoff to a goal loop such as sergio-loop, or to investigate; report the evidence and proposed acceptance criteria, but do not implement it under this skill.
Stop after at most 25 audit/repair rounds. Stop with NO_PROGRESS after 3 consecutive rounds with no verified risk reduction, the same unresolved failure, or only below-gate polish remaining. Do not weaken tests, bypass hooks, or create speculative scaffolding to continue.
## Codebase Health Report: [repository]
### Coverage
- [waves, subsystems, exclusions, evidence]
### Findings
- [severity] [file:line] [consequence] [blast radius] [confidence] [effort] [disposition]
### Prioritized actions
1. [ordered action and rationale]
### Applied repair waves
- [round] [files, findings fixed, verification]
### Behavior-changing handoffs
- [sergio-loop or investigate brief with acceptance criteria]
### Remaining backlog
- [must-fix blocked items, below-ROI items, unresolved evidence]
### Terminal state
[COMPLETE | NO_PROGRESS | ROUND_LIMIT | BLOCKED]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub geiserx/sstack --plugin sstack22 skills in this plugin
/docs-loopUse when the user asks to audit docs, check documentation for stale claims, or verify docs against the code./eli5Explain work, a system or a situation to the user in plain words with real names, so they understand it on one read. Use when the user asks to explain like a 5yo, says eli5, or says they do not understand what was done or where things stand./file-prOpen a pull request whose title says why the change matters and whose body opens with the problem in the requester's words. Use when asked to file, open, raise or create a PR, or to rewrite a PR's title or description.Other plugins' skills for the same job