Codebase Health Reporter
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
More from willsigmon/sigstack
fastlane expert
Fastlane automation - build, test, deploy iOS apps, TestFlight, App Store Connect
39swiftlint-autofix
Run SwiftFormat and fix all auto-correctable SwiftLint issues
30manus ai agent integration
Use this skill when delegating complex autonomous tasks to Manus AI - an AI agent that can browse the web, execute code, generate files, and comple...
24find-bug-root-cause
Deep investigation to find actual root cause (not just symptoms)
23dead code eliminator
Find and delete unused files, disabled code blocks, Enhanced variants, deprecated features, test files in production for Leavn app
22bitrise expert
Bitrise CI/CD - iOS builds, automated testing, deployment, managed macOS runners
21