technical-debt-prioritization
Evaluate and prioritize technical debt to balance feature velocity with system health. Use when deciding what debt to address in upcoming sprints.
by sethdford★ 51 GitHub stars
Install technical-debt-prioritization in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Technical Debt Prioritization
Systematically evaluate debt and decide which to address based on risk, velocity impact, and cost.
Context
You are helping a tech lead create a technical debt strategy and prioritization framework. If the user has a backlog of debt items or known pain points, use them to ground the analysis.
Domain Context
- Ward Cunningham (originator of "technical debt" metaphor): debt is a tool; the problem is unmanaged debt
- Larson: paying down debt has zero visible customer value, so it must compete fairly with features. Measure its impact on velocity
- Research shows codebases with high debt experience 40-60% slower development velocity; the paydown usually takes 1-3 quarters to show ROI
Key principles:
- Debt is not optional: All codebases accumulate debt. The question is whether you manage it or let it compound
- Debt is a velocity tax: High-debt systems have higher bug rates, slower deployment cycles, and longer onboarding. Model the cost
- Some debt is worth keeping: Not all debt should be paid. Pay debt that blocks future work or creates unacceptable risk
Instructions
Create a debt inventory: List all known technical debt. Ask engineers "what do you wish we'd refactored?" Examples:
- Monolithic service that's hard to test and deploy (architecture debt)
- Test suite that's slow (development velocity debt)
- Documentation that's outdated (onboarding debt)
- Security practices that are ad-hoc (compliance risk debt)
- Dependencies that are years out of date (security/support debt)
For each debt item, estimate impact on velocity:
- High: This debt directly slows down feature work (slow tests, hard to deploy, unclear architecture). Development velocity is 20-30% lower because of it
- Medium: This debt slows development indirectly (missing monitoring, unclear design patterns). Velocity impact ~10%
- Low: This debt doesn't materially impact velocity (minor code smell, one-off workaround)
Estimate cost to pay down: How much effort to fix? S (1 sprint), M (2-3 sprints), L (4+ sprints)?
Calculate payoff ROI:
- Example: slow test suite (high impact, adds 2 hours per developer per day) taking 1 sprint to fix
- Team of 5: 5 × 5 days × 2 hours = 50 hours saved per sprint
- If velocity is ~40 points/sprint, that's ~1.25 point-sprints saved per sprint going forward
- Payoff happens in: 1 sprint (cost) ÷ 0.5 springs/sprint (benefit) = 2 sprints total
Prioritize by impact and payoff:
- Priority 1 (immediate): High impact, payoff < 3 sprints
- Priority 2 (next quarter): Medium impact, payoff < 4 sprints, or high impact that enables future roadmap items
- Priority 3 (nice-to-have): Low impact or long payoff
- Accept: Some debt is too expensive to fix right now; document why you're keeping it
Build into roadmap: Reserve 20-30% of capacity for debt. Use technical-roadmap skill to decide when/how to address priority-1 debt
Measure before and after: After paying down high-impact debt, re-measure velocity. Did it improve? This data is crucial for future decisions
Example format:
| Debt | Impact | Velocity Cost | Fix Cost | Payoff | Priority | Owner |
|------|--------|---------------|----------|--------|----------|-------|
| Slow test suite (5 min) | High | 2 hrs/eng/day | 1 sprint | 2 sprints | 1 | QA Lead |
| Monolithic service | High | 15% velocity loss | 4 sprints | 6 sprints | 2 | Backend Lead |
| Outdated docs | Medium | 5 hrs/new eng | 2 days | ongoing | 3 | Tech Lead |
Anti-Patterns
- Debt without impact modeling: LLMs sometimes suggest paying down debt because "the code is messy" without measuring velocity impact. Bad debt: your codebase is fine, doesn't need refactoring. Ignore it.
- Ignoring the "why we kept it" question: Most debt exists because it was the right trade-off at the time. If you don't understand why it was acceptable, you can't decide if it's still acceptable.
- Debt payoff that never shows ROI: Some debt takes 2+ years to pay off (migrating databases, replacing core systems). These are risky bets; make sure the team understands the commitment.
- Treating technical debt as a team skill issue: LLMs sometimes frame debt as "engineers didn't do good work." Debt is a business decision, not a quality issue. Own it as a tech lead: you made trade-offs, now evaluate if they're still worth it.
Further Reading
- Cunningham, Ward. "The WyCash Portfolio Management System." 1992 (original "technical debt" paper).
- Larson, Will. "An Elegant Puzzle." Chapter on technical debt and velocity.
- McConnell, Steve. "Code Complete: A Practical Handbook of Software Construction." Microsoft Press, 2004. Chapter on construction practices and technical debt.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the technical-debt-prioritization skill do?
Evaluate and prioritize technical debt to balance feature velocity with system health. Use when deciding what debt to address in upcoming sprints.
How do I install the technical-debt-prioritization skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the technical-debt-prioritization skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…