New to Claude Skills? Learn how to install them โ†’

Talirezarezvani on GitHub

Tech Debt Tracker

Free

Manage and prioritize technical debt in your codebase.

Get this skill

Free ยท Opens the source repo

What Tech Debt Tracker does

The Tech Debt Tracker skill is designed to help software engineering teams effectively identify, analyze, and manage technical debt within their codebases. Technical debt, often a result of shortcuts taken during development, can lead to increased maintenance costs and reduced code quality over time. This skill provides a structured approach to tackle these issues through three main components: a Debt Scanner, a Debt Prioritizer, and a Debt Dashboard.

The Debt Scanner automatically scans your codebase for various indicators of technical debt, generating a detailed report in JSON format that includes a summary of findings, specific debt items, and recommendations for addressing them. This initial scan is crucial for understanding the current state of your code and identifying areas that require immediate attention.

Once the debt items are identified, the Debt Prioritizer uses cost-of-delay frameworks to help teams prioritize their remediation efforts effectively. By analyzing the impact of each debt item, teams can allocate their resources more strategically during sprint planning, ensuring that the most critical issues are addressed first. The prioritization process is designed to facilitate informed decision-making, balancing the need for new feature development with necessary maintenance work.

Finally, the Debt Dashboard provides a visual representation of technical debt trends over time, allowing teams to track their progress and validate the effectiveness of their remediation efforts. By maintaining dated snapshots of the debt inventory, teams can assess whether their cleanup sprints are yielding tangible improvements in code quality. This skill is particularly useful for engineering teams looking to establish sustainable development practices and maintain a healthy codebase.

When to use it

Use this skill when you need to assess and prioritize technical debt in your codebase, especially during refactoring sprints or legacy code modernization efforts.

When not to use it

This skill may not be suitable for teams not actively managing or concerned about technical debt, or for projects where code quality is not a priority.

What you can build with it

Assessing Legacy Code

Use the Tech Debt Tracker to scan legacy codebases, identify technical debt, and prioritize remediation efforts before modernization.

Sprint Planning

Incorporate the Debt Prioritizer into your sprint planning sessions to ensure high-impact technical debt items are addressed alongside new feature development.

Monitoring Code Quality

Utilize the Debt Dashboard to track technical debt trends over time, helping to verify that cleanup efforts are effective and sustainable.

How to install Tech Debt Tracker

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/tech-debt-tracker --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

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

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

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:

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.

Frequently asked questions about Tech Debt Tracker

Similar skills