tech-debt-tracker — Claude Code skill: what it does, how to install
Scans codebases for technical debt, scores items using WSJF or RICE, and tracks trends across snapshots. Built for planning refactoring sprints.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skillsWhat tech-debt-tracker does
The skill relies on three Python scripts located in the skill directory. First, debt_scanner.py inspects your source tree and outputs debt_inventory.json with issue counts, file metrics, and recommendations. Next, debt_prioritizer.py scores that inventory using cost_of_delay, wsjf, or rice models. It factors in your team size and sprint capacity to output a ready backlog.
The third script, debt_dashboard.py, compares dated inventory files over time. It shows whether targeted categories actually dropped after cleanup work. Running these tools requires local Python 3. If your team does not intend to allocate sprint capacity to code cleanup, tracking debt this way will only produce unused reports.
What it helps with
- scan a codebase to locate tech debt signals and missing tests
- rank debt backlog items using WSJF, RICE, or cost-of-delay formulas
- plan sprint allocation based on team capacity and item cost
- monitor debt trend direction across dated JSON snapshots
Example prompts for the agent
- Scan the codebase for technical debt and output results to debt_inventory.json
- Prioritize debt_inventory.json using wsjf with a team size of 6 and capacity of 20
- Generate a trend dashboard from snapshots in the snapshots/ directory
How to install tech-debt-tracker
1Plugin marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install engineering-advanced-skills@claude-code-skillsThis installs the whole engineering-advanced-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add alirezarezvani/claude-skills --skill tech-debt-tracker -a claude-code3Manually: put the files in place
~/.claude/skills/tech-debt-tracker/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tech-debt-tracker/
Manually: put the files in place
.agents/skills/tech-debt-tracker/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/tech-debt-tracker/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install alirezarezvani/claude-skills tech-debt-tracker2Manually: put the files in place
.github/skills/tech-debt-tracker/SKILL.mdPlatform CLI
gemini skills install https://github.com/alirezarezvani/claude-skills --path engineering/skills/tech-debt-trackerManually: put the files in place
.devin/skills/tech-debt-tracker/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set349
The whole set →Similar
Questions about tech-debt-tracker
How do I install tech-debt-tracker in Claude Code?
Run /plugin install engineering-advanced-skills@claude-code-skills or use npx skills add alirezarezvani/claude-skills --skill tech-debt-tracker -a claude-code. You can also place the skill file in ~/.claude/skills/tech-debt-tracker/SKILL.md.
What does tech-debt-tracker do?
It scans repository files for technical debt, calculates backlog priorities using frameworks like WSJF and RICE, and tracks debt reduction across dated snapshots.
What prerequisites are needed to run the tools?
The skill requires python3 to run its CLI utilities: debt_scanner.py, debt_prioritizer.py, and debt_dashboard.py.
Source text
SKILL.md · MIT
--- name: tech-debt-tracker description: Scan codebases for technical debt, score severity, track trends, and generate prioritized remediation plans. Use when users mention tech debt, code quality, refactoring priority, debt scoring, cleanup sprints, or code health assessment. Also use for legacy code modernization planning and maintenance cost estimation. --- # Tech Debt Tracker **Tier**: POWERFUL 🔥 **Category**: Engineering Process Automation **Expertise**: Code Quality, Technical Debt Management, Software Engineering ## Overview Tech debt is one of the most insidious challenges in software development - it compounds over time, slowing down development velocity, increasing maintenance costs, and reducing code quality. This skill provides a comprehensive framework for identifying, analyzing, prioritizing, and tracking technical debt across codebases. Tech debt isn't just about messy code - it encompasses architectural shortcuts, missing tests, outdated dependencies, documentation gaps, and infrastructure compromises. Like financial debt, it accrues "interest" through increased development time, higher bug rates, and reduced team velocity. ## What This Skill Provides This skill offers three interconnected tools that form a complete tech debt management system: 1. **Debt Scanner** - Automatically identifies tech debt signals in your codebase 2. **Debt Prioritizer** - Analyzes and prioritizes debt items using cost-of-delay frameworks 3. **Debt Dashboard** - Tracks debt trends over time and provides executive reporting Together, these tools enable engineering teams to make data-driven decisions about tech debt, balancing new feature development with maintenance work. ## Quick Start — scan → prioritize → dashboard All paths relative to this skill folder. The scanner's JSON output feeds the prioritizer directly; dated inventory snapshots feed the dashboard. ### 1. Scan the codebase ```bash python3 scripts/debt_scanner.py /path/to/codebase --format json --output debt_inventory.json ``` Emits `debt_inventory.json` with `scan_metadata`, `summary`, `debt_items[]`, `file_statistics`, and `recommendations`. Report the `summary` counts to the user. (Dry run: `assets/sample_codebase`.) ### 2. Prioritize the backlog ```bash python3 scripts/debt_prioritizer.py debt_inventory.json --framework wsjf --team-size 6 --sprint-capacity 20 --format json --output debt_priorities.json ``` Frameworks: `cost_of_delay` (default), `wsjf`, `rice`. Output contains `prioritized_backlog` (work top-down), `sprint_allocation` (paste into sprint planning), and `insights`. ### 3. Track trends over time Keep dated snapshots (`debt_YYYY-MM-DD.json`), then: ```bash python3 scripts/debt_dashboard.py --input-dir snapshots/ --period monthly --format both --output debt_dashboard ``` Or pass files explicitly (samples: `assets/historical_debt_2024-01-15.json assets/historical_debt_2024-02-01.json`). The dashboard reports trend direction and executive-ready summaries — use it to verify a cleanup sprint actually reduced debt. ### Verification loop After a remediation sprint: re-run step 1, re-run step 3 with the new snapshot, and assert the targeted categories' counts dropped. A cleanup that doesn't move the dashboard is rework, not debt paydown. ## Technical Debt Classification Framework → See references/debt-frameworks.md for details (also: references/debt-classification-taxonomy.md, references/prioritization-framework.md, references/stakeholder-communication-templates.md) ## Common Pitfalls and How to Avoid Them ### 1. Analysis Paralysis **Problem**: Spending too much time analyzing debt instead of fixing it. **Solution**: Set time limits for analysis, use "good enough" scoring for most items. ### 2. Perfectionism **Problem**: Trying to eliminate all debt instead of managing it. **Solution**: Focus on high-impact debt, accept that some debt is acceptable. ### 3. Ignoring Business Context **Problem**: Prioritizing technical elegance over business value. **Solution**: Always tie debt work to business outcomes and customer impact. ### 4. Inconsistent Application **Problem**: Some teams adopt practices while others ignore them. **Solution**: Make debt tracking part of standard development workflow. ### 5. Tool Over-Engineering **Problem**: Building complex debt management systems that nobody uses. **Solution**: Start simple, iterate based on actual usage patterns. Technical debt management is not just about writing better code - it's about creating sustainable development practices that balance short-term delivery pressure with long-term system health. Use these tools and frameworks to make informed decisions about when and how to invest in debt reduction.
© Alireza Rezvani · MIT · alirezarezvani/claude-skills