dev-loop-tech-debt-tracker
Use when the user asks to track technical debt, build a tech debt register, prioritize debt by interest and cost, measure code health, or set a debt budget…
от j4flmao★ 47 звёзд на GitHub
Установить dev-loop-tech-debt-tracker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Technical Debt Tracker
Purpose
Systematically identify, track, prioritize, and reduce technical debt — establishing a quantifiable, transparent process that balances feature velocity with codebase health.
Agent Protocol
Trigger
Exact user phrases: "technical debt", "tech debt", "code debt", "debt tracking", "code quality debt", "debt backlog", "reduce tech debt", "tech debt sprint", "debt prioritization", "code health".
Input Context
- Codebase size and age (lines of code, years in production)
- Current pain points (slow development, frequent bugs, long onboarding)
- Existing debt indicators (test coverage %, cyclomatic complexity, duplication)
- Team size and velocity (story points per sprint, team capacity)
- Business constraints (release deadlines, regulatory requirements, SLAs)
- Tooling available (SonarQube, CodeClimate, Codacy, custom)
Output Artifact
Tech debt inventory with prioritized items, remediation estimates, and tracking system.
Response Format
Item: {ID} {title} ({type})
Impact {1-5} × Frequency {1-5} / Effort {1-5} = Priority {score}
Interest: {cost per sprint if left}
Plan: {sprint allocation, owner}
Status: {OPEN|IN PROGRESS|DONE}
Completion Criteria
- Debt discovery methods established (automated scans + developer input)
- Debt items cataloged with type, location, impact, and effort
- Prioritization rubric defined (impact × frequency × effort)
- Debt items entered into tracking system (backlog with labels/tags)
- Interest rate estimated (cost of NOT fixing per sprint)
- Budget established (% of sprint capacity for debt reduction)
- Reporting/metrics configured (debt ratio, trend over time)
Max Response Length
200 lines.
Framework/Methodology
Tech Debt Decision Tree
What type of technical debt?
├── Code debt (messy, untestable, duplicated)
│ → Refactoring, extract method, improve naming
│ → Cost: Slow feature development, bugs
├── Architecture debt (tight coupling, wrong abstraction)
│ → Significant restructuring, extract service
│ → Cost: Hard to change, can't add features
├── Test debt (low coverage, flaky tests)
│ → Write tests, stabilize flaky tests
│ → Cost: Fear of change, regressions
├── Documentation debt (missing, outdated)
│ → Update docs, add README, API docs
│ → Cost: Long onboarding, miscommunication
├── Dependency debt (outdated, incompatible, vulnerable)
│ → Update deps, migrate to supported versions
│ → Cost: CVEs, compatibility issues, blocked upgrades
└── Infrastructure debt (manual deploy, no CI, outdated config)
→ Automate, migrate, upgrade
→ Cost: Slow deploys, environment drift, incidents
Ward Cunningham's Debt Metaphor
Borrowing (taking on debt):
Ship feature quickly with imperfect code
→ Saves time NOW (principal)
→ Costs time LATER (interest payments)
Interest payments:
Every change to debt-ridden code takes longer
More bugs, more testing time, more merge conflicts
Slower onboarding, blocked dependencies
Bankruptcy:
When interest payments exceed capacity
→ Complete rewrite required
→ System becomes unchangeable
Workflow
Step 1: Discover and Catalog Debt
# Automated discovery tools
automated_discovery:
sonarqube:
metrics:
- "Code coverage < 60%"
- "Duplication > 5%"
- "Cognitive complexity > 15 per function"
- "Technical Debt Ratio > 5%"
- "Bugs: 0 (zero tolerance)"
- "Code Smells: trending up"
eslint (typescript-eslint; TSLint is deprecated):
rules:
- "no-unused-vars: warn"
- "no-nested-ternary: warn"
- "max-lines-per-function: [warn, 50]"
- "max-depth: [warn, 4]"
- "complexity: [warn, 10]"
# Manual discovery
manual_discovery:
developer_cues:
- "\"I'm afraid to touch that code\""
- "\"This always breaks when we change X\""
- "\"I don't know what this function does\""
- "\"We can't upgrade library X because of incompatibility\""
- "\"It takes 2 hours to run the full test suite\""
team_retrospective:
- "\"What slowed us down this sprint?\""
- "\"What would make development faster?\""
- "\"Which parts of the codebase are hardest to change?\""
Step 2: Prioritize Debt Items
prioritization_matrix:
factors:
impact:
- "Development speed: How much does this slow new features?"
- "Bug frequency: How often does this cause bugs?"
- "Risk: What's the cost if this fails in production?"
- "Blockers: Is this blocking other improvements?"
effort:
- "Small (< 1 day): Can fit in current sprint"
- "Medium (1-3 days): Dedicated tech debt task"
- "Large (3-10 days): Requires epic/planning"
- "X-Large (> 10 days): Major initiative"
scoring:
formula: "Priority = Impact (1-5) × Frequency (1-5) / Effort (1-5)"
example:
- "Duplicated validation logic: Impact 4, Frequency 5, Effort 2 = 10.0"
- "Outdated auth li
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/debt-prioritization.md
- references/debt-tracking.md
- references/repayment-strategies.md
- references/tech-debt-management.md
- references/tech-debt-prioritization.md
- references/tech-debt-tracker-advanced.md
- references/tech-debt-tracker-fundamentals.md
FAQ
Что делает скилл dev-loop-tech-debt-tracker?
Use when the user asks to track technical debt, build a tech debt register, prioritize debt by interest and cost, measure code health, or set a debt budget per sprint. Produces a debt inventory with scoring and a paydown plan. Not for doing the refactor (use dev-loop-refactor-guide) or quality gates (use qc).
Как установить скилл dev-loop-tech-debt-tracker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-loop-tech-debt-tracker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…