Tech debt

From berkcangumusisik/claude-code-practices · View interactive version

Tech debt is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Audits the codebase for technical debt and produces a prioritized backlog

How to use this skill

Skill file

Technical Debt Audit

  1. Find explicit debt markers:
grep -rn "TODO\|FIXME\|HACK\|XXX\|TEMP\|DEPRECATED" src/ --include="*.ts" --include="*.js" | grep -v node_modules
  1. Find implicit debt:
  1. Check for known anti-patterns:
# God objects / huge files
find src/ -name "*.ts" | xargs wc -l | sort -rn | head -10

# Any files
grep -rn ": any" src/ --include="*.ts" | wc -l
  1. Score each debt item:
  1. Output a prioritized backlog (high impact × high risk, low effort first):
| # | Issue | File | Impact | Risk | Effort | Priority |
|---|-------|------|--------|------|--------|----------|
| 1 | ...   | ...  | 5      | 4    | 2      | URGENT   |
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.