/gangsta:audit-reviewfrom gangsta
Dispatches the-inspector agent to audit code changes before merging. Provides structured review with severity levels and integrates with parallel execution workflows.
Ships in gangsta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dispatch the-inspector to catch issues before they compound. The inspector gets precisely crafted context for evaluation — never the session's history. This keeps the inspector focused on the work product, not the thought process, and preserves your context for continued work.
Core principle: Audit early, audit often.
Mandatory:
Optional but valuable:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
Use the Task tool to dispatch the the-inspector agent with subagent_type: "the-inspector". Do NOT use "general" or "general-purpose" — these are not valid in a Gangsta Agents installation.
Fill the template at the-inspector-prompt.md in this skill directory with the following placeholders:
{WHAT_WAS_IMPLEMENTED} — What you just built{PLAN_OR_REQUIREMENTS} — What it should do (Contract clause, spec section){BASE_SHA} — Starting commit{HEAD_SHA} — Ending commit{DESCRIPTION} — Brief summary of the changes| Severity | Action |
|---|---|
| Critical | Fix immediately. Do not proceed until resolved. |
| Important | Fix before proceeding to the next task. |
| Minor | Note for later. Don't block progress. |
| Wrong | Push back with technical reasoning. |
[Just completed implementing auth middleware]
1. Get SHAs:
BASE_SHA=$(git log --oneline | grep "previous task" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
2. Dispatch the-inspector:
WHAT_WAS_IMPLEMENTED: JWT auth middleware with role-based access
PLAN_OR_REQUIREMENTS: Contract section 3.2 — Authentication
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added auth middleware, role guards, token validation
3. Inspector returns:
Strengths: Clean separation, real tests
Issues:
Important: Missing token expiry check
Minor: Magic number for token TTL
Assessment: Ready with fixes
4. Fix important issue, proceed to next task.
Never:
If inspector is wrong:
gangsta:receiving-orders for processing feedback rigorouslyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kucherenko/gangsta --plugin gangsta19 skills in this plugin
/drill-tddUse when implementing any feature or bugfix — enforces the Red-Green-Refactor drill with no production code allowed without a failing test first/exit-strategyUse when implementation is complete and all tests pass — guides the clean exit from a development branch with structured options for merge, PR, or cleanup/interrogation-debuggingUse when encountering any bug, test failure, or unexpected behavior — finds the rat in the code through systematic root-cause interrogation before any fix attempts/launderingUse when all territories report completion after the hit — handles integration, verification, consigliere final review, cleanup, and ledger updates to produce clean production-ready code/omertaUse when enforcing governance guardrails during any gangsta operation — referenced as cross-cutting concern by all skills for anti-hallucination, authorization, state durability, resource management, and spec supremacy rules/receiving-ordersUse when receiving code review feedback — processes orders with technical rigor, not blind obedience or performative agreementOther plugins' skills for the same job