skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Coding / Code Health Skill by @davepoon
The skill is the plugins/agent-triforce/skills/code-health folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues.
Scans a codebase for dead code, tech debt, outdated dependencies and general quality issues, delegating the work to a QA-style agent. The instructions are short, so it works best as a quick routine check.
The original SKILL.md is organised into these sections:
Written and maintained by @davepoon. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# 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
1. Runs the SIGN IN checklist
2. Scans for dead code (unused imports, variables, functions, commented-out blocks, unreachable code)
3. Checks for outdated and vulnerable dependencies
4. Detects code smells (long functions, deep nesting, duplication)
5. Audits TODO/FIXME comments for issue references
6. Runs the Scan Complete checklist (TIME OUT)
7. Writes findings to `docs/reviews/code-health-{date}.md`
8. 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:
…
Excerpt only, quoted from the author's repository. Open the repository for the complete file.