Tech Debt Tracker skill for Claude

Find, rank and track tech debt in a codebase.

When Claude uses it

Use whenever the user asks what to refactor first, plans a cleanup sprint, modernizes legacy code or wants to know how messy the code is.

Tech Debt Tracker SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

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.

How to install Tech Debt Tracker

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/engineering/skills/tech-debt-tracker#main ~/.claude/skills/tech-debt-tracker

Codex

npx degit alirezarezvani/claude-skills/engineering/skills/tech-debt-tracker#main ~/.codex/skills/tech-debt-tracker

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings โ†’ Capabilities โ†’ Skills.

Frequently asked questions

+What does the Tech Debt Tracker skill do?

Find, rank and track tech debt in a codebase. Use whenever the user asks what to refactor first, plans a cleanup sprint, modernizes legacy code or wants to know how messy the code is.

+How do I install Tech Debt Tracker in Claude Code?

Copy the skill folder into ~/.claude/skills/tech-debt-tracker, for example with "npx degit alirezarezvani/claude-skills/engineering/skills/tech-debt-tracker#main ~/.claude/skills/tech-debt-tracker". Claude Code loads it automatically and uses it when a task matches.

+Does Tech Debt Tracker work with ChatGPT or Codex?

Yes. Tech Debt Tracker uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/tech-debt-tracker. In Claude.ai, zip the folder and upload it under Settings โ†’ Capabilities โ†’ Skills.

+Is Tech Debt Tracker free?

Tech Debt Tracker is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo'sโ€ฆ

    mattpocock/skillsโ˜… 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece ofโ€ฆ

    addyosmani/agent-skillsโ˜… 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-memโ˜… 118k
  4. Tech Stack Evaluator

    Compare frameworks or tech stacks before committing: side-by-side scoring, total cost of ownership, ecosystem health and migration risk.

    alirezarezvani/claude-skillsโ˜… 30k
  5. Universal Scraping Architect

    Build a scraper or extractor for sites, PDFs or paginated APIs and validate the fields (Firecrawl or local Python).

    alirezarezvani/claude-skillsโ˜… 30k
  6. Zero Hallucination Coder

    Use before high-stakes or multi-file coding (auth, databases, migrations), or when asked to plan carefully and avoid invented APIs.

    alirezarezvani/claude-skillsโ˜… 30k
  7. Gh Address Comments

    Official

    Help address review/issue comments on the open GitHub PR for the current branch using gh CLI;

    openai/skillsโ˜… 29k
  8. Gh Fix Ci

    Official

    Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions;

    openai/skillsโ˜… 29k
  9. Linear

    Official

    Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.

    openai/skillsโ˜… 29k

See all software development skills โ†’

More skills from alirezarezvani

  1. Terraform Patterns

    Use for any Terraform module, state backend, provider setup or IaC security review, before editing .tf files.

    alirezarezvani/claude-skillsโ˜… 30k
  2. Testrail

    Use when syncing Playwright tests with TestRail ('testrail', 'sync test cases', 'push results to testrail', 'import from testrail').

    alirezarezvani/claude-skillsโ˜… 30k

All skills by alirezarezvani โ†’

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.