code-health
Scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues. Delegates to the Centinela (QA) agent.
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 3,470
本站分层T1
该仓技能数381
原文件路径
plugins/agent-triforce/skills/code-health/SKILL.md