Doncheli tech debt

From doncheli/don-cheli-sdd · View interactive version

Doncheli tech debt is an AI agent skill from the GitHub repository doncheli/don-cheli-sdd. Identify, quantify, and prioritize technical debt in the codebase. Activate when user mentions "tech debt", "code quality", "technical debt", "code smells", "refactor candidates", "what to clean up".

How to use this skill

Skill file

Don Cheli: Tech Debt Scanner

Instructions

  1. Scan the codebase for tech debt signals:
  1. Score each item by impact (high/medium/low) and effort (hours estimate)
  2. Compute a Tech Debt Ratio: debt items / total files
  3. Prioritize using the impact/effort matrix: Quick Wins first, then High Impact
  4. Recommend a remediation plan with a suggested order
  5. Never auto-refactor — produce the plan and wait for approval
  6. Save the report to .dc/tech-debt-<date>.md

Output Format

## Tech Debt Report — 2026-03-28

### Summary
- Total debt items: 18
- Tech Debt Ratio: 18/94 files = 19% (target: <10%)
- Estimated remediation effort: ~14h

### Quick Wins (high impact, low effort)
1. src/utils/format.ts — 3 duplicate date-format blocks — 1h — extract to shared util
2. src/auth/token.ts:88 — empty catch block silently swallows JWT errors — 30m fix

### High Impact (high impact, higher effort)
1. src/payments/processor.ts — cyclomatic complexity 18 — 4h refactor

### Low Priority
1. 7 TODO comments in src/legacy/ — document or schedule removal

### Remediation Plan
Sprint 1 (8h): Quick wins + empty catch blocks
Sprint 2 (6h): payments/processor.ts refactor
Backlog: legacy TODOs
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.