Agent skill
Codebase Health Reporter
Generate comprehensive health report for Leavn codebase - metrics, technical debt, bugs found/fixed, recommendations for next session
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/codebase-health-reporter-willsigmon-sigstack-site
SKILL.md
Codebase Health Reporter
Generate health metrics and recommendations:
-
Collect metrics:
- Lines of code:
find LeavnApp -name "*.swift" | xargs wc -l - File count:
find LeavnApp -name "*.swift" | wc -l - Git stats:
git log --oneline -20 - Code deleted:
git diff --shortstat main
- Lines of code:
-
Audit key areas:
- @Published usage:
grep -r "@Published" | wc -l - try! force unwraps:
grep -r "try!" | wc -l - Empty catches:
grep -r "} catch {}" | wc -l - UserDefaults:
grep -r "UserDefaults.standard" | wc -l
- @Published usage:
-
Create report sections:
- Session summary (bugs fixed, lines changed)
- Technical debt (remaining issues)
- Recommendations (prioritized by impact)
- Ship readiness checklist
-
Output:
CODEBASE_HEALTH_REPORT.md
Use when: Session complete, need status report, planning next work, ship decision
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?