---
title: "/tech-debt"
description: "/tech-debt — Claude Code slash command."
---
# /tech-debt
:material-console: Slash Command
:material-github: Source
Scan codebases for technical debt, score severity, and generate prioritized remediation plans.
## Usage
```
/tech-debt scan Scan for debt indicators
/tech-debt prioritize Prioritize debt backlog
/tech-debt report Full dashboard with trends
```
## Examples
```
/tech-debt scan ./src
/tech-debt scan . --format json
/tech-debt report . --format json --output debt-report.json
```
## Scripts
- `engineering/tech-debt-tracker/scripts/debt_scanner.py` — Scan for debt patterns (`debt_scanner.py [--format json] [--output file]`)
- `engineering/tech-debt-tracker/scripts/debt_prioritizer.py` — Prioritize debt backlog (`debt_prioritizer.py [--framework cost_of_delay|wsjf|rice] [--format json]`)
- `engineering/tech-debt-tracker/scripts/debt_dashboard.py` — Generate debt dashboard (`debt_dashboard.py [files...] [--input-dir dir] [--period weekly|monthly|quarterly] [--format json]`)
## Skill Reference
→ `engineering/tech-debt-tracker/SKILL.md`