Audits a codebase for SOLID, DRY, consistency, code smells, complexity, and dead code. Invoke via /code-check for a holistic health report.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentic-framework:code-check [scope: all | path/to/dir | glob][scope: all | path/to/dir | glob]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Regular codebase review for Clean Code, SOLID, DRY principles and consistency.
Regular codebase review for Clean Code, SOLID, DRY principles and consistency.
Sequential Thinking (analysis):
Launch workers for different audit aspects:
Apply the principles and duplication classes defined in .claude/rules/code-quality.md — do not restate them here; that file is the single source of truth. For DRY, use AST-based tools (jscpd) not just grep patterns.
Identify common code smells (context-dependent thresholds):
Check pattern consistency:
Evaluate cyclomatic complexity and function/class sizes. Use language-appropriate tools:
Use language-appropriate detection tools:
Verify findings before deletion (false positives with dynamic imports).
## Codebase Health Report
### Executive Summary
**Health Score**: [A/B/C/D/F]
**Critical Issues**: [count]
**Total Issues**: [count]
### SOLID Violations
| Principle | File:Line | Description | Remediation |
|-----------|-----------|-------------|-------------|
### DRY Violations
| Type | Files | Pattern | Remediation |
|------|-------|---------|-------------|
### Code Smells
| Smell | Location | Severity | Suggestion |
|-------|----------|----------|------------|
### Consistency Issues
| Area | Finding | Recommendation |
|------|---------|----------------|
### Complexity Hotspots
| File | Function | Cyclomatic | Action |
|------|----------|------------|--------|
/builder / /swarm-execute: with tasks for specific fixes and refactoring/architect: for systemic architectural issues$ARGUMENTS
npx claudepluginhub dralgorhythm/claude-agentic-framework --plugin agentic-frameworkValidates code quality with linters, SOLID principles, DRY detection (jscpd), and architecture compliance. Use after functional verification passes.
Audits codebases to remove dead code, AI slop, and DRY/SOLID violations, restructuring toward simplest correct implementation. Detects stack and applies idiomatic patterns.
Runs an extremely strict whole-codebase maintainability audit checking structural quality, file sprawl, thin wrappers, leaked logic, and dependency freshness via context7. Pushes ambitious code-judo simplifications and auto-updates docs.