Reviews code for logic flaws, edge cases, performance bottlenecks, security vulnerabilities, maintainability concerns, architecture best practices, and adherence to local patterns and CLAUDE.md guidelines. Use when users ask for code review or analysis, including reviewing uncommitted changes, the last local commit, unpushed code, or a specific GitHub pull request.
Reviews code for logic flaws, security vulnerabilities, performance issues, and adherence to CLAUDE.md guidelines. Triggered when users request code review of uncommitted changes, commits, unpushed code, or GitHub PRs.
/plugin marketplace add kwiggen/claude-code-plugin/plugin install kwiggen-kw-plugin@kwiggen/claude-code-pluginThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Review the code against these categories:
Correctness – Logic bugs, incorrect assumptions, unhandled edge cases, race conditions, error handling gaps.
Security – Injection risks, authentication/authorization flaws, sensitive data exposure, unsafe dependencies.
Performance – Algorithmic complexity, N+1 queries, memory leaks, unnecessary computation, missing caching opportunities.
Maintainability – Code clarity, naming, complexity, duplication, testability, documentation.
Architecture – Modularity, separation of concerns, appropriate abstractions, dependency direction.
Testing – Test coverage for new code, test quality, edge case coverage.
Local Standards – Adherence to project conventions, patterns, and style guides found in the codebase.
Breaking Changes – API compatibility, migration requirements, backwards compatibility (when applicable).
CLAUDE.md Compliance – Check changes against CLAUDE.md files in:
Only flag violations explicitly stated in CLAUDE.md. Quote the guideline when flagging.
Brief overview of the change quality and key concerns.
Highlight 1–3 positive aspects worth preserving or replicating.
Organize findings by severity (only report issues with confidence ≥50):
For each finding include:
src/auth.ts:42)Confidence scale:
(Optional) Issues spotted that predate this change – for awareness only.
Prioritized action items for the author.
Avoid false positives by NOT flagging: