Agent Skills
› davepoon/buildwithclaude
› code-health
code-health
GitHub调用 Centinela (QA) 代理对代码库进行全面健康扫描,检测死代码、技术债务、过时依赖及代码异味。适用于发布前检查、重构后验证或新人入职,生成报告并移交开发团队修复。
Trigger Scenarios
定期代码卫生检查
发布前确保无死代码或未解决债务
大型重构后验证代码整洁度
新成员入职了解当前代码质量
Install
npx skills add davepoon/buildwithclaude --skill code-health -g -y
SKILL.md
Frontmatter
{
"name": "code-health",
"category": "quality-security",
"description": "Scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues. Delegates to the Centinela (QA) agent."
}
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
Version History
- 502fc01 Current 2026-07-05 15:01


