From necturalabs
MUST invoke after implementing features, fixing bugs, refactoring, or making any code changes — before committing, merging, or claiming work is done. Also use when the user asks for code review. Requires superpowers plugin. Iterates until a clean pass with zero findings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/necturalabs:iterative-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Industry-standard code review powered by `superpowers:code-reviewer`. Reviews against Google Engineering Practices, Clean Code (Robert C. Martin), SOLID principles, Martin Fowler's code smells, and testing standards from Google SWE Book, Kent Beck, and Microsoft. Iterates until clean.
Industry-standard code review powered by superpowers:code-reviewer. Reviews against Google Engineering Practices, Clean Code (Robert C. Martin), SOLID principles, Martin Fowler's code smells, and testing standards from Google SWE Book, Kent Beck, and Microsoft. Iterates until clean.
If the security audit already ran (look for AUDIT_COMPLETE in the invocation context), proceed normally.
digraph scope {
"Start" [shape=doublecircle];
"Uncommitted changes?" [shape=diamond];
"Review diff" [shape=box];
"Recent branch commits?" [shape=diamond];
"Review branch" [shape=box];
"User specified?" [shape=diamond];
"Review specified" [shape=box];
"Ask user" [shape=box];
"Start" -> "Uncommitted changes?";
"Uncommitted changes?" -> "Review diff" [label="yes"];
"Uncommitted changes?" -> "Recent branch commits?" [label="no"];
"Recent branch commits?" -> "Review branch" [label="yes"];
"Recent branch commits?" -> "User specified?" [label="no"];
"User specified?" -> "Review specified" [label="yes"];
"User specified?" -> "Ask user" [label="no"];
}
git diff + git diff --staged for uncommitted changesgit log for branch commits vs basedigraph review {
"Determine scope" [shape=box];
"Dispatch code-reviewer" [shape=box];
"Issues found?" [shape=diamond];
"Fix all findings" [shape=box];
"Re-dispatch on changes only" [shape=box];
"Clean pass - score" [shape=doublecircle];
"Determine scope" -> "Dispatch code-reviewer";
"Dispatch code-reviewer" -> "Issues found?";
"Issues found?" -> "Fix all findings" [label="yes"];
"Issues found?" -> "Clean pass - score" [label="no"];
"Fix all findings" -> "Re-dispatch on changes only";
"Re-dispatch on changes only" -> "Issues found?";
}
Use the superpowers:code-reviewer agent with these placeholders filled:
WHAT_WAS_IMPLEMENTED: [describe changes]
PLAN_OR_REQUIREMENTS: Review against the checklist in references/review-checklist.md and references/testing-rules.md
BASE_SHA: [git rev-parse for scope start]
HEAD_SHA: [git rev-parse HEAD]
DESCRIPTION: [brief summary]
Inject our review checklist into the plan/requirements field so the code-reviewer agent reviews against OUR standards, not just its defaults.
Full detailed checklist: references/review-checklist.md
| Category | Source | Key Checks |
|---|---|---|
| Design & Architecture | Google, SOLID | SRP, OCP, LSP, ISP, DIP, Law of Demeter |
| Complexity | McCabe, SonarQube | Cyclomatic <10, Cognitive <15, Nesting <3, Params <4 |
| Code Smells | Fowler, Refactoring.Guru | Bloaters, OO abusers, change preventers, dispensables, couplers |
| Naming | Clean Code, Google | Descriptive, unambiguous, consistent vocabulary |
| Functions | Clean Code | Small, one thing, no side effects, no flag args |
| Error Handling | Clean Code, OWASP | No swallowed exceptions, specific catches, proper cleanup |
| Testing | Google SWE, Kent Beck, Microsoft | See references/testing-rules.md |
| Performance | Google, SonarQube | Resource cleanup, N+1, proper data structures |
| Concurrency | Java Concurrency Checklist | Protected shared state, no deadlocks, proper sync |
| DRY/KISS/YAGNI | Industry Standard | No duplication, no over-engineering, no speculation |
| Style | Google/Airbnb Guides | Follow project conventions, no mixed style+logic PRs |
| API Design | Google API Guide | Backward compat, proper HTTP, consistent errors |
Full detailed rules: references/testing-rules.md
Critical rules the agent MUST follow when writing or reviewing tests:
Keep ALL output short and concise. Never overwhelm the user.
[SEVERITY] Category: description — file:line
## Code Review: Score X/100
**Positives**
- [concise bullet]
- [concise bullet]
**Negatives**
- [concise bullet]
**Informational**
- [optional notes]
Score guide: 90-100 excellent, 70-89 good, 50-69 needs work, <50 significant issues.
npx claudepluginhub necturalabs/agentskills --plugin necturalabsConducts multi-axis code reviews evaluating correctness, readability, architecture, security, and performance before merging changes.
Dispatches 5 specialized agents for multi-perspective code review on correctness, architecture, security, production readiness, and test quality. Merges findings, auto-fixes Critical/Important issues up to 3 rounds.
Reviews code changes for correctness, readability, architecture, security, and performance. Checks lint, type safety, test coverage, and security issues. Use for PRs, audits, or pre-merge reviews.