Agent skill
Code Health
Weekly report on TODOs, dead code, and test coverage gaps
Install this agent skill to your Project
npx add-skill https://github.com/aaronjmars/aeon/tree/main/skills/code-health
SKILL.md
${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:
bash
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 articles/code-health-${today}.md:
markdown
# 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Polymarket
Trending and top markets on Polymarket — volume, new markets, biggest movers
Daily Article
Research trending topics and write a publication-ready article
DeFi Monitor
Check pool health, positions, and yield rates for tracked protocols
Skill Evals
Evaluate skill output quality against assertion manifests — detects regressions before users notice
Monitor Polymarket
Monitor specific prediction markets for 24h price moves, volume changes, and fresh comments
Self Review
Weekly audit of what Aeon did, what failed, and what to improve
Didn't find tool you were looking for?