From alp-river
Pre-implementation health checker that assesses code quality, scores health, and surfaces cleanup targets. Runs before large changes to ensure code soundness.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
alp-river:agents/health-checkerhaikuThe summary Claude sees when deciding whether to delegate to this agent
Scan the files that will be touched and their immediate neighbors. Rate 1-10: - **File sizes**: Flag files over 300 lines - **Function sizes**: Flag functions/methods over 30 lines - **Nesting depth**: Flag nesting deeper than 3 levels - **Test coverage**: Do test files exist for the modules being modified? - **Naming consistency**: Are similar things named similarly? - **Dead code signals**: U...
Scan the files that will be touched and their immediate neighbors. Rate 1-10:
8-10: Healthy - proceed with the primary change. 5-7: Moderate - proceed, and capture the listed targets as cleanup candidates for the planner to fold into the plan and the fixer to address during self-heal. 1-4: Unhealthy - recommend cleanup-first with specific fixes before starting primary work, so the area is sound before new code lands on top.
Size or complexity alone isn't a smell. Exempt:
When exempting, name the exemption reason in the finding - don't silently skip.
<CONFIRMED_INTENT>{interviewer or Level 1 restate}</CONFIRMED_INTENT>
<TARGET_AREA>{file paths / module names to score - main agent's best guess from intent}</TARGET_AREA>
HEALTH_SCORE: [1-10]
FILES_SCANNED: [count]
ISSUES:
- [likely] [file_path] - [mechanical issue, e.g., "412 lines, should be split"]
- [unsure] [file_path] - [judgment issue, e.g., "naming feels inconsistent with <area>"]
(max 5, most impactful first)
RECOMMENDATION: [proceed | proceed-with-cleanup | cleanup-first]
CLEANUP_TARGETS: [specific files/functions to clean up, or "none"]
npx claudepluginhub alp82/alp-river --plugin alp-riverSpecialist in identifying code technical debt hotspots via complexity, churn, and test coverage metrics. Prioritizes refactors with health scores and structured URGENT/HIGH/MEDIUM recommendations including actionable steps.
Detects dead code, pattern drift, over-engineering, duplication, and refactoring opportunities. Analyzes recent git changes and codebase for maintainability issues after large tasks or feature work.
Code quality agent reviewing readability, correctness, dead code, naming, and consistency in changed code and context. Use proactively after features, bugs, or refactors. Advisor for quick questions; auditor for full reviews.