跳到主要内容
SkillVault logo SkillVault
免费 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 次下载 0 次浏览 更新于 Oct 31, 2026 v1.0.0
tech-debt-tracker skill cover

下方技能配置(提示词、变量、安装步骤)保留英文原文。.aiskill 文件直接面向 AI 智能体,统一使用英文以确保跨平台行为一致。

概述

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.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.

用户提示词模板

填充变量后发送,即可运行该技能: {{variables}}

user-template.txt

变量

名称 必填 说明 示例

完整技能配置

标准 .aiskill 文件,提供 JSON 与 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:43:30.191Z"
  }
}
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:43:30.191Z"

安装指南

  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.

使用方法

平台兼容性

ChatGPT GPTs

OpenAI

将系统提示词粘贴到 GPT 的「Instructions」字段,并把用户模板作为起始消息使用。

官方文档

Claude Code

Anthropic

将导出的 .aiskill JSON 保存为项目中的技能文件,或将系统提示词粘贴进 CLAUDE.md / 斜杠命令 Markdown 文件。

官方文档

Cursor

Anysphere

将系统提示词复制到 .cursor/rules/*.mdc(或设置中的 Project Rules),并在智能体提示词中引用用户模板。

官方文档

相关技能