From great-code
Use when reviewing code structure, design smells, error handling, or test quality at module level.
How this skill is triggered — by the user, by Claude, or both
Slash command
/great-code:clean-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill draws from three foundational texts on software craft:
This skill draws from three foundational texts on software craft:
Clean code reduces the cost of future change through structural hygiene — cohesion, coupling, encapsulation, error handling, and test coverage. Every recommendation from this skill serves this goal. For tactical code clarity at the line and block level (naming, abstraction fitness, narrative flow), see simplicity-review.
See references/heuristics.md for the full catalog of code smells, naming rules, function design, comment hygiene, error handling, design principles, and test quality checks.
CLAUDE.md, CONTRIBUTING.md, or existing patterns in the codebase.Structure your output as follows:
## Summary
One-paragraph overview: what was reviewed, scope, and overall code health assessment.
## Findings
| # | Location | Heuristic | Severity | Description |
|---|----------|-----------|----------|-------------|
| 1 | file:L10-25 | Long method | High | ... |
## Changes Applied
For each change:
### Change N: <title>
- **Finding(s)**: #1, #2
- **What**: brief description
- **Before**: code snippet
- **After**: code snippet
## Validation Results
- Tests: pass/fail (N tests, N passed, N failed)
- Linter: pass/fail
- Behavioral change: none / describe
## Deferred Items
Items not addressed and why (out of scope, needs team discussion, etc.)
Before marking the review as complete, confirm:
npx claudepluginhub eliias/skills --plugin great-codeReviews code for smells, complexity, and design issues; applies SOLID principles and clean code heuristics during refactoring. Language-agnostic.
Reviews implementation changes for quality, design, correctness, and maintainability. Uses Conventional Comments and a structured workflow to provide actionable feedback.
Conducts multi-axis code reviews evaluating correctness, readability, architecture, security, and performance before merging changes.