Skip to content
Back to skills

Tech Debt

ASecurity

Audits the codebase for technical debt and produces a prioritized backlog

  • 10 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aigobashnode

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill tech-debt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tech Debt?

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

Security grade badge for Tech Debt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-tech-debt/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-tech-debt)

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: tech-debt
description: Audits the codebase for technical debt and produces a prioritized backlog
user-invocable: true
allowed-tools: Bash Grep Read Glob
effort: medium
---

## Technical Debt Audit

1. Find explicit debt markers:
```bash
grep -rn "TODO\|FIXME\|HACK\|XXX\|TEMP\|DEPRECATED" src/ --include="*.ts" --include="*.js" | grep -v node_modules
```

2. Find implicit debt:
   - Files with cyclomatic complexity > 15
   - Files > 500 lines
   - Functions > 60 lines
   - Test coverage < 40%
   - Dependencies significantly outdated (major version behind)
   - Inconsistent patterns (multiple ways of doing the same thing)

3. Check for known anti-patterns:
```bash
# 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
```

4. Score each debt item:
   - **Impact** (1-5): How much does this slow down development?
   - **Effort** (1-5): How hard to fix?
   - **Risk** (1-5): How likely to cause bugs?

5. Output a prioritized backlog (high impact × high risk, low effort first):
```markdown
| # | Issue | File | Impact | Risk | Effort | Priority |
|---|-------|------|--------|------|--------|----------|
| 1 | ...   | ...  | 5      | 4    | 2      | URGENT   |
```

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.