Agent Skills
› aaronjmars/aeon
› Code Health
Code Health
GitHub扫描指定仓库的TODO、死代码、测试覆盖率、大文件及硬编码密钥,生成健康报告并通知。
Trigger Scenarios
用户要求检查代码健康状况
定期执行仓库审计任务
Install
npx skills add aaronjmars/aeon --skill Code Health -g -y
SKILL.md
Frontmatter
{
"var": "",
"name": "Code Health",
"tags": [
"dev"
],
"type": "Skill",
"category": "dev",
"description": "Report on TODOs, dead code, and test coverage gaps"
}
${var} — Repo (owner/repo) to audit. If empty, audits all watched repos.
If ${var} is set, only audit that repo (owner/repo format).
Config
This skill reads repos from memory/watched-repos.md. If the file doesn't exist yet, create it or skip this skill.
# memory/watched-repos.md
- owner/repo
- another-owner/another-repo
Read memory/MEMORY.md and memory/watched-repos.md for repos to audit.
Steps:
- For each repo in watched-repos.md, clone or checkout:
gh repo clone owner/repo /tmp/repo-audit -- --depth 1 - Scan for code health signals:
- TODOs/FIXMEs:
grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.{js,ts,py,sol,rs,go}" /tmp/repo-audit - Dead code indicators: unused exports, commented-out blocks, unreachable code
- Test coverage: check if test files exist for key modules, note untested areas
- Large files: files over 500 lines that might need splitting
- Secrets in code: scan for hardcoded API keys, tokens, passwords
- TODOs/FIXMEs:
- Compile a health report and save to output/articles/code-health-${today}.md:
# Code Health Report — ${today} ## repo-name ### TODOs (N found) - file:line — TODO text ### Concerns - description ### Recommendations - action item - Send a summary via
./notify. - Log what you did to memory/logs/${today}.md.
Version History
- fb16753 Current 2026-07-05 12:05


