Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Perform a comprehensive code health check on a directory. Use when the user asks to analyze code quality, find issues, or get a health report.
.claude/skills/huangjia2019-code-health-check/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -40% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -22% | 0% |
Analyze the codebase at $ARGUMENTS and produce a structured health report.
eval() or similar dangerous functions?Use these to categorize issues:
| Severity | Meaning | Example | |----------|---------|---------| | CRITICAL | Must fix immediately | Hardcoded secrets, SQL injection | | WARNING | Should fix soon | Missing error handling, large files | | INFO | Nice to improve | Minor duplication, naming conventions |
Return a structured report in this exact format:
markdown# Code Health Report: {directory} ## Overall Score: {A/B/C/D/F} ## Summary - Files analyzed: {count} - Issues found: {critical} critical, {warning} warnings, {info} info ## Critical Issues {list each with file:line and description} ## Warnings {list each with file:line and description} ## Info {list each with file:line and description} ## Recommendations {top 3 actionable recommendations}
Other measured skills in the registry, with their headline benchmark lift.