/engineering-advanced-skills:tech-debt-trackerfrom engineering-advanced-skills
Scans codebases for technical debt using AST parsing and regex, scores by impact/frequency, prioritizes with cost-of-delay/WSJF/RICE, and generates trend dashboards for sprint planning and exec reporting.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The agent identifies, scores, prioritizes, and tracks technical debt across codebases using AST parsing, cost-of-delay analysis, and trend dashboards.
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.debt_scanner.py produces the inventory, debt_prioritizer.py scores and schedules it, debt_dashboard.py compares snapshots over time.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.
--framework, --team-size; changes the ranking and sprint allocation).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.
| 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).
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 implementation roadmap phases. Read when framing debt for a team new to tracking it.
This skill covers:
This skill does NOT cover:
engineering/performance-profiler and engineering/observability-designer for those concerns.engineering/dependency-auditor for security-focused dependency review.engineering/database-schema-designer, engineering/api-design-reviewer, and engineering/migration-architect for those domains.| Skill | Use for |
|---|---|
engineering/dependency-auditor | CVE and outdated-dependency findings to merge into the inventory |
engineering/ci-cd-pipeline-builder | Gate builds on summary.health_score or new critical items |
Mistake: Reporting "we have 412 debt items" and prioritising by count per module.
Why it happens: Counts are what scanners produce.
Instead: Rank by interest: debt in code touched every sprint costs far more than debt in a file nobody opens. Weight by change frequency (for example git log --since=6.months --name-only).
Mistake: Saving all debt work for a dedicated cleanup sprint. Why it happens: It is easy to negotiate once. Instead: Reserve a fixed share of every sprint (the prioritizer's allocation) and fix debt where feature work already touches the code.
Mistake: Sending executives a health trend with no ask. Why it happens: The dashboard looks like the deliverable. Instead: Lead with the decision: what to fund, what it unblocks, and what happens to delivery speed if nothing changes.
| File | Purpose |
|---|---|
scripts/debt_scanner.py | Codebase scan to a debt inventory with health score |
scripts/debt_prioritizer.py | Cost-of-delay, WSJF or RICE ranking and sprint allocation |
scripts/debt_dashboard.py | Trends, velocity and forecasts across snapshots |
assets/sample_codebase/ | Three-file codebase with planted debt |
assets/sample_debt_inventory.json, historical_debt_*.json | Inventory and snapshots for the prioritizer and dashboard |
expected_outputs/*.json | Reference outputs for the samples |
references/*.md | Methodology, tool reference, dashboards, taxonomy, prioritization, communication templates, quadrant and roadmap |
README.md (opens in a new tab)assets/historical_debt_2024-01-15.json (opens in a new tab)assets/historical_debt_2024-02-01.json (opens in a new tab)assets/sample_codebase/src/frontend.js (opens in a new tab)assets/sample_codebase/src/payment_processor.py (opens in a new tab)assets/sample_codebase/src/user_service.py (opens in a new tab)assets/sample_debt_inventory.json (opens in a new tab)expected_outputs/sample_dashboard_output.json (opens in a new tab)expected_outputs/sample_prioritization_output.json (opens in a new tab)expected_outputs/sample_scan_output.json (opens in a new tab)references/dashboards-and-examples.md (opens in a new tab)references/debt-classification-taxonomy.md (opens in a new tab)references/methodology.md (opens in a new tab)references/prioritization-framework.md (opens in a new tab)references/quadrant-and-roadmap.md (opens in a new tab)references/stakeholder-communication-templates.md (opens in a new tab)references/tool-reference.md (opens in a new tab)scripts/debt_dashboard.py (opens in a new tab)scripts/debt_prioritizer.py (opens in a new tab)scripts/debt_scanner.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job