Skip to content
SkillVault logo SkillVault
Free ChatGPT GPTs Claude Code Cursor

tech-debt-tracker

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.

0 downloads 0 views Updated Oct 31, 2026 v1.0.0
tech-debt-tracker skill cover

Overview

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.

Source: https://github.com/alirezarezvani/claude-skills · MIT · © 2025 Alireza Rezvani

System prompt

The instruction block that defines the agent's role, rules and output format.

system-prompt.txt
# 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.

User prompt template

Fill in the variables and send it to run the skill: {{variables}}

user-template.txt

Variables

Name Required Description Example

Full skill configuration

The standard .aiskill file in JSON and YAML.

tech-debt-tracker.aiskill (JSON)
{
  "format": "aiskill/v1",
  "skill": {
    "name": "tech-debt-tracker",
    "slug": "tech-debt-tracker",
    "version": "1.0.0",
    "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.",
    "category": "Development",
    "tags": [
      "engineering"
    ],
    "platforms": [
      "chatgpt",
      "claude-code",
      "cursor"
    ],
    "tested_environment": "Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and compatible agents",
    "license": "MIT"
  },
  "prompts": {
    "system": "# Tech Debt Tracker\r\n\r\n**Tier**: POWERFUL 🔥  \r\n**Category**: Engineering Process Automation  \r\n**Expertise**: Code Quality, Technical Debt Management, Software Engineering\r\n\r\n## Overview\r\n\r\nTech 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.\r\n\r\nTech 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.\r\n\r\n## What This Skill Provides\r\n\r\nThis skill offers three interconnected tools that form a complete tech debt management system:\r\n\r\n1. **Debt Scanner** - Automatically identifies tech debt signals in your codebase\r\n2. **Debt Prioritizer** - Analyzes and prioritizes debt items using cost-of-delay frameworks\r\n3. **Debt Dashboard** - Tracks debt trends over time and provides executive reporting\r\n\r\nTogether, these tools enable engineering teams to make data-driven decisions about tech debt, balancing new feature development with maintenance work.\r\n\r\n## Quick Start — scan → prioritize → dashboard\r\n\r\nAll paths relative to this skill folder. The scanner's JSON output feeds the prioritizer directly; dated inventory snapshots feed the dashboard.\r\n\r\n### 1. Scan the codebase\r\n\r\n```bash\r\npython3 scripts/debt_scanner.py /path/to/codebase --format json --output debt_inventory.json\r\n```\r\n\r\nEmits `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`.)\r\n\r\n### 2. Prioritize the backlog\r\n\r\n```bash\r\npython3 scripts/debt_prioritizer.py debt_inventory.json --framework wsjf --team-size 6 --sprint-capacity 20 --format json --output debt_priorities.json\r\n```\r\n\r\nFrameworks: `cost_of_delay` (default), `wsjf`, `rice`. Output contains `prioritized_backlog` (work top-down), `sprint_allocation` (paste into sprint planning), and `insights`.\r\n\r\n### 3. Track trends over time\r\n\r\nKeep dated snapshots (`debt_YYYY-MM-DD.json`), then:\r\n\r\n```bash\r\npython3 scripts/debt_dashboard.py --input-dir snapshots/ --period monthly --format both --output debt_dashboard\r\n```\r\n\r\nOr 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.\r\n\r\n### Verification loop\r\n\r\nAfter 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.\r\n\r\n## Technical Debt Classification Framework\r\n→ See references/debt-frameworks.md for details (also: references/debt-classification-taxonomy.md, references/prioritization-framework.md, references/stakeholder-communication-templates.md)\r\n\r\n## Common Pitfalls and How to Avoid Them\r\n\r\n### 1. Analysis Paralysis\r\n**Problem**: Spending too much time analyzing debt instead of fixing it.\r\n**Solution**: Set time limits for analysis, use \"good enough\" scoring for most items.\r\n\r\n### 2. Perfectionism\r\n**Problem**: Trying to eliminate all debt instead of managing it.\r\n**Solution**: Focus on high-impact debt, accept that some debt is acceptable.\r\n\r\n### 3. Ignoring Business Context\r\n**Problem**: Prioritizing technical elegance over business value.\r\n**Solution**: Always tie debt work to business outcomes and customer impact.\r\n\r\n### 4. Inconsistent Application\r\n**Problem**: Some teams adopt practices while others ignore them.\r\n**Solution**: Make debt tracking part of standard development workflow.\r\n\r\n### 5. Tool Over-Engineering\r\n**Problem**: Building complex debt management systems that nobody uses.\r\n**Solution**: Start simple, iterate based on actual usage patterns.\r\n\r\nTechnical 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.",
    "user_template": ""
  },
  "variables": [],
  "install": {
    "steps": [
      {
        "title": "Download & unzip",
        "detail": "Download the .zip package from SkillVault and unzip it. The tech-debt-tracker/ folder contains SKILL.md plus any companion scripts, references and assets."
      },
      {
        "title": "Copy into your agent skills directory",
        "detail": "Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session."
      },
      {
        "title": "Use it",
        "detail": "Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description."
      }
    ]
  },
  "usage": {
    "steps": []
  },
  "metadata": {
    "author": "SkillVault",
    "source": "https://skillvault.top/skills/tech-debt-tracker",
    "exported_at": "2026-11-03T07:42:08.121Z"
  }
}
tech-debt-tracker.aiskill (YAML)
format: aiskill/v1
skill:
  name: tech-debt-tracker
  slug: tech-debt-tracker
  version: 1.0.0
  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.
  category: Development
  tags:
    - engineering
  platforms:
    - chatgpt
    - claude-code
    - cursor
  tested_environment: >-
    Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and
    compatible agents
  license: MIT
prompts:
  system: "# Tech Debt Tracker\r\n\r\n**Tier**: POWERFUL 🔥  \r\n**Category**: Engineering Process Automation  \r\n**Expertise**: Code Quality, Technical Debt Management, Software Engineering\r\n\r\n## Overview\r\n\r\nTech 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.\r\n\r\nTech 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.\r\n\r\n## What This Skill Provides\r\n\r\nThis skill offers three interconnected tools that form a complete tech debt management system:\r\n\r\n1. **Debt Scanner** - Automatically identifies tech debt signals in your codebase\r\n2. **Debt Prioritizer** - Analyzes and prioritizes debt items using cost-of-delay frameworks\r\n3. **Debt Dashboard** - Tracks debt trends over time and provides executive reporting\r\n\r\nTogether, these tools enable engineering teams to make data-driven decisions about tech debt, balancing new feature development with maintenance work.\r\n\r\n## Quick Start — scan → prioritize → dashboard\r\n\r\nAll paths relative to this skill folder. The scanner's JSON output feeds the prioritizer directly; dated inventory snapshots feed the dashboard.\r\n\r\n### 1. Scan the codebase\r\n\r\n```bash\r\npython3 scripts/debt_scanner.py /path/to/codebase --format json --output debt_inventory.json\r\n```\r\n\r\nEmits `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`.)\r\n\r\n### 2. Prioritize the backlog\r\n\r\n```bash\r\npython3 scripts/debt_prioritizer.py debt_inventory.json --framework wsjf --team-size 6 --sprint-capacity 20 --format json --output debt_priorities.json\r\n```\r\n\r\nFrameworks: `cost_of_delay` (default), `wsjf`, `rice`. Output contains `prioritized_backlog` (work top-down), `sprint_allocation` (paste into sprint planning), and `insights`.\r\n\r\n### 3. Track trends over time\r\n\r\nKeep dated snapshots (`debt_YYYY-MM-DD.json`), then:\r\n\r\n```bash\r\npython3 scripts/debt_dashboard.py --input-dir snapshots/ --period monthly --format both --output debt_dashboard\r\n```\r\n\r\nOr 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.\r\n\r\n### Verification loop\r\n\r\nAfter 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.\r\n\r\n## Technical Debt Classification Framework\r\n→ See references/debt-frameworks.md for details (also: references/debt-classification-taxonomy.md, references/prioritization-framework.md, references/stakeholder-communication-templates.md)\r\n\r\n## Common Pitfalls and How to Avoid Them\r\n\r\n### 1. Analysis Paralysis\r\n**Problem**: Spending too much time analyzing debt instead of fixing it.\r\n**Solution**: Set time limits for analysis, use \"good enough\" scoring for most items.\r\n\r\n### 2. Perfectionism\r\n**Problem**: Trying to eliminate all debt instead of managing it.\r\n**Solution**: Focus on high-impact debt, accept that some debt is acceptable.\r\n\r\n### 3. Ignoring Business Context\r\n**Problem**: Prioritizing technical elegance over business value.\r\n**Solution**: Always tie debt work to business outcomes and customer impact.\r\n\r\n### 4. Inconsistent Application\r\n**Problem**: Some teams adopt practices while others ignore them.\r\n**Solution**: Make debt tracking part of standard development workflow.\r\n\r\n### 5. Tool Over-Engineering\r\n**Problem**: Building complex debt management systems that nobody uses.\r\n**Solution**: Start simple, iterate based on actual usage patterns.\r\n\r\nTechnical 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."
  user_template: ""
variables: []
install:
  steps:
    - title: Download & unzip
      detail: >-
        Download the .zip package from SkillVault and unzip it. The tech-debt-tracker/ folder
        contains SKILL.md plus any companion scripts, references and assets.
    - title: Copy into your agent skills directory
      detail: >-
        Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code),
        .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or
        reload the session.
    - title: Use it
      detail: >-
        Describe the task in natural language; the agent loads the skill automatically when the
        request matches the skill description.
usage:
  steps: []
metadata:
  author: SkillVault
  source: https://skillvault.top/skills/tech-debt-tracker
  exported_at: "2026-11-03T07:42:08.121Z"

Installation guide

  1. 1

    Download & unzip

    Download the .zip package from SkillVault and unzip it. The tech-debt-tracker/ folder contains SKILL.md plus any companion scripts, references and assets.

  2. 2

    Copy into your agent skills directory

    Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session.

  3. 3

    Use it

    Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description.

How to use

Platform compatibility

ChatGPT GPTs

OpenAI

Paste the system prompt into the GPT "Instructions" field and keep the user template as your starter message.

Official docs

Claude Code

Anthropic

Save the exported .aiskill JSON as a skill file in your project or paste the system prompt into CLAUDE.md / a slash-command markdown file.

Official docs

Cursor

Anysphere

Copy the system prompt into .cursor/rules/*.mdc (or Project Rules in Settings) and reference the user template in your agent prompts.

Official docs

Related skills