Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tech-debt-tracker

БесплатноЗапускает вложенные скриптыНе проверен

Scan codebases for technical debt with AST parsing, prioritize by impact, and generate trend dashboards. Use when tracking tech debt, prioritizing…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Tech Debt Tracker

The agent identifies, scores, prioritizes, and tracks technical debt across codebases using AST parsing, cost-of-delay analysis, and trend dashboards.

Core Capabilities

  • Detection — AST parsing (Python) and regex pattern matching (all languages) across six debt categories: code, architecture, test, documentation, dependency, infrastructure.
  • Interest rate — the number this skill adds: interest = impact x frequency (how much the debt slows work each time the code is touched), and cost of delay = interest x sprints x team multiplier. Rank by cost of delay over effort; WSJF and RICE are available as alternatives.
  • Data flow — debt_scanner.py produces the inventory, debt_prioritizer.py scores and schedules it, debt_dashboard.py compares snapshots over time.

When to Use

  • Tracking and quantifying technical debt across a repository.
  • Prioritizing refactoring work and calculating cost-of-delay.
  • Planning sprint capacity allocation between debt and features.
  • Reporting debt health, trends, and investment recommendations to execs.

Clarify First

Before scanning or reporting, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Target codebase: the directory to scan (the subject of the debt inventory).
  • Prioritization framework & team size: cost-of-delay / WSJF / RICE and headcount (--framework, --team-size; changes the ranking and sprint allocation).
  • Report audience: exec dashboard vs engineering inventory (sets the report format and altitude).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Tools

Tool Purpose Command
debt_scanner.py Scan a directory for debt signals; output JSON inventory + text report python scripts/debt_scanner.py <dir> --output scan_results --format both
debt_prioritizer.py Enrich inventory with cost-of-delay/WSJF/RICE and sprint allocation python scripts/debt_prioritizer.py scan_results.json --framework wsjf --team-size 8
debt_dashboard.py Trend analysis, velocity, forecasts, and exec summary across snapshots python scripts/debt_dashboard.py --input-dir ./debt_scans/ --period quarterly

Runnable on the bundled samples:

python scripts/debt_scanner.py assets/sample_codebase --format text
python scripts/debt_prioritizer.py assets/sample_debt_inventory.json --framework cost_of_delay
python scripts/debt_dashboard.py assets/historical_debt_2024-01-15.json assets/historical_debt_2024-02-01.json

The scanner reports each duplicated region once (overlapping windows are merged and repetitive runs inside one file are ignored), so the 986-line sample yields about 60 items. Health score is 100 - severity-weighted items per 1,000 lines (critical 5, high 3, medium 1, low 0.5), so it compares codebases of different sizes. Exit codes: 0 ok; 2 bad input (missing directory or file, unreadable inventory).

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/methodology.md — the 7-step workflow, debt-classification table, severity scoring framework, interest-rate/cost-of-delay formulas, prioritization matrix, WSJF, sprint allocation ratios, the debt-item JSON schema, refactoring strategies, and quarterly planning. Read when scoring, prioritizing, or planning.

  • references/tool-reference.md — full parameter tables, examples, and output-format details for all three scripts plus the troubleshooting table. Read when running the scripts or debugging output.

  • references/dashboards-and-examples.md — executive and engineering dashboard layouts, a worked Python-microservice scan example, and the success-criteria bar. Read when generating reports or validating quality.

  • references/debt-classification-taxonomy.md — comprehensive taxonomy for classifying debt across dimensions with detection heuristics per category. Read when calibrating detection or labeling items.

  • references/prioritization-framework.md — deep prioritization approaches based on business value, risk, effort, and strategic alignment. Read when designing a prioritization rubric.

  • references/stakeholder-communication-templates.md — templates and guidelines for communicating debt status, impact, and recommendations to different stakeholder groups. Read when reporting to execs or product.

  • references/quadrant-and-roadmap.md — the technical debt quadrant and the impleme

Полный SKILL.md на GitHub

Установить tech-debt-tracker в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdassets/historical_debt_2024-01-15.jsonassets/historical_debt_2024-02-01.jsonassets/sample_codebase/src/frontend.jsassets/sample_codebase/src/payment_processor.pyassets/sample_codebase/src/user_service.pyassets/sample_debt_inventory.jsonexpected_outputs/sample_dashboard_output.jsonexpected_outputs/sample_prioritization_output.jsonexpected_outputs/sample_scan_output.jsonreferences/dashboards-and-examples.mdreferences/debt-classification-taxonomy.mdreferences/methodology.mdreferences/prioritization-framework.mdreferences/quadrant-and-roadmap.mdreferences/stakeholder-communication-templates.mdreferences/tool-reference.mdscripts/debt_dashboard.pyscripts/debt_prioritizer.pyscripts/debt_scanner.py

FAQ

Что делает скилл tech-debt-tracker?

Scan codebases for technical debt with AST parsing, prioritize by impact, and generate trend dashboards. Use when tracking tech debt, prioritizing refactoring, calculating cost-of- delay, planning sprint debt, or reporting debt to execs.

Как установить скилл tech-debt-tracker?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tech-debt-tracker запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить tech-debt-tracker с