code-reviewer
Installation
SKILL.md
Code Reviewer
Automated code review tooling that analyzes pull requests for complexity and risk, scans source for code smells and SOLID violations, and consolidates findings into structured review reports with a verdict, score, and prioritized action items. Supports TypeScript, JavaScript, Python, Go, Swift, and Kotlin.
Core Capabilities
- PR risk analysis — scan git diffs for hardcoded secrets, SQL injection, debug statements, lint bypasses,
anytypes, and TODO/FIXME, with a 1-10 complexity score. - Code quality checking — detect long functions, large files, god classes, deep nesting, too many params, high cyclomatic complexity, missing error handling, unused imports, and magic numbers against fixed thresholds.
- SOLID & antipattern detection — flag structural, logic, security, performance, testing, and async antipatterns with fixes.
- Review reports — merge PR and quality findings into a verdict (approve / request changes / block), 0-100 score, and ranked action items in text, markdown, or JSON. An empty diff gives
nothing_to_reviewand a failed diff analysisincomplete, never an approval. The scripts are regex heuristics: they point a human or model reviewer at likely problems; they do not replace reading the diff. - Review order prioritization — sort files so security-sensitive code is inspected first.
- Commit hygiene — validate conventional-commit format across a branch.
- Two-axis review — review the diff since a fixed base twice, independently: once against repo standards, once against the original spec or issue (missed requirements, scope creep), then merge.