---
name: Code Health
slug: code-health
category: Quality
description: Code Health scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues using the Centinela (QA) agent. Use it before releases, after refactoring, or for periodic codebase hygiene checks.
github: "https://github.com/davepoon/buildwithclaude/tree/main/plugins/agent-triforce/skills/code-health"
language: TypeScript
stars: 3298
forks: 459
install: "npx degit https://github.com/davepoon/buildwithclaude/tree/main/plugins/agent-triforce/skills/code-health ~/.claude/skills/code-health"
installs_to: ~/.claude/skills/code-health
source_path: plugins/agent-triforce/skills/code-health/SKILL.md
collection_size: 25
category_size: 1354
collection_url: "https://dirskills.com/collections/davepoon/buildwithclaude"
added: 2026-08-17T07:08:21.192Z
last_synced: 2026-08-17T07:08:21.192Z
canonical_url: "https://dirskills.com/skills/code-health"
---

# Code Health

Code Health scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues using the Centinela (QA) agent. Use it before releases, after refactoring, or for periodic codebase hygiene checks.

**Install:**

```bash
npx degit https://github.com/davepoon/buildwithclaude/tree/main/plugins/agent-triforce/skills/code-health ~/.claude/skills/code-health
```

## README

# 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:
- 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/` — includes `tests/` and config files
- Previous scan findings are compared to track recurring issues
- Findings are verified to avoid false positives from dynamic imports or plugins
