Code Health
Testing & Qualitycode-healthCode Health is an Agent Skill for testing & quality published in the davepoon/buildwithclaude repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues. Delegates to the Centinela (QA) agent.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/davepoon/buildwithclaude/blob/HEAD/plugins/agent-triforce/skills/code-health/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/code-health, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Code Health
Runs a comprehensive code health scan using the Centinela (QA) agent.
When to Use This Skill
- Periodic codebase hygiene check
- Before a release to ensure no dead code or unresolved debt
- After a large refactoring to verify cleanliness
- When onboarding to understand current code quality
What This Skill Does
- Runs the SIGN IN checklist
- Scans for dead code (unused imports, variables, functions, commented-out blocks, unreachable code)
- Checks for outdated and vulnerable dependencies
- Detects code smells (long functions, deep nesting, duplication)
- Audits TODO/FIXME comments for issue references
- Runs the Scan Complete checklist (TIME OUT)
- Writes findings to
docs/reviews/code-health-{date}.md - Prepares findings handoff to Dev agent
How to Use
Basic Usage
/code-health
Example
User: /code-health
Output: A code health report at docs/reviews/code-health-2026-02-23.md with:
- Dead code findings (verified, not false positives)
- Dependency status and vulnerabilities
- Code smell inventory
- TODO/FIXME audit
- Prioritized findings: Critical > Warning > Suggestion
Tips
- Scans all source directories, not just
src/— includestests/and config files - Previous scan findings are compared to track recurring issues
- Findings are verified to avoid false positives from dynamic imports or plugins