Skip to content
Back to skills

Code Health

ASecurity

Weekly report on TODOs, dead code, and test coverage gaps

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
developmentgobashapi

Works with

  • api

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add anajuliabit/aeon --skill code-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Health?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anajuliabit-code-health/badge)](https://www.skillsdirectory.com/skills/anajuliabit-code-health)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Code Health
description: Weekly report on TODOs, dead code, and test coverage gaps
var: ""
tags: [dev]
---
> **${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.

```markdown
# memory/watched-repos.md
- owner/repo
- another-owner/another-repo
```

---

Read memory/MEMORY.md and memory/watched-repos.md for repos to audit.

Steps:
1. For each repo in watched-repos.md, clone or checkout:
   ```bash
   gh repo clone owner/repo /tmp/repo-audit -- --depth 1
   ```
2. 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
3. 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
   ```
4. Send a summary via `./notify`.
5. Log what you did to memory/logs/${today}.md.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…