Tech debt

From tranhieutt/software_development_department · View interactive version

Tech debt is an AI agent skill from the GitHub repository tranhieutt/software_development_department. Scans the codebase for technical debt indicators, categorizes and prioritizes findings, and maintains a debt register with repayment recommendations. Use when assessing codebase health, planning refactoring, or when the user mentions technical debt or code quality.

How to use this skill

Skill file

When this skill is invoked:

  1. Parse the subcommand from the argument:
  1. For scan:

For shallow-wrapper findings, apply this test before filing debt:

force multiple callers to re-learn meaningful behavior, log it as

Architecture Debt.

or ordering logic across callers, it is probably earning its keep; do not

file debt just because it is small.

Record shallow-wrapper debt explicitly in the description, for example:

  1. For add:
  1. For prioritize:
  1. For report:

Debt Register Format

## Technical Debt Register
Last updated: [Date]
Total items: [N] | Estimated total effort: [T-shirt sizes summed]

| ID | Category | Description | Files | Effort | Impact | Priority | Added | Sprint |
|----|----------|-------------|-------|--------|--------|----------|-------|--------|
| TD-001 | [Cat] | [Description] | [files] | [S/M/L/XL] | [Low/Med/High/Critical] | [Score] | [Date] | [Sprint to fix or "Backlog"] |

Rules

are shallow enough to fail the deletion test.

Protocol

Output

Deliver exactly:

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.