- Fix Python 3.10+ syntax (float | None → Optional[float]) in 2 scripts - Add argparse CLI handling to 9 marketing scripts using raw sys.argv - Fix 10 scripts crashing at module level (wrap in __main__, add argparse) - Make yaml/prefect/mcp imports conditional with stdlib fallbacks (4 scripts) - Fix f-string backslash syntax in project_bootstrapper.py - Fix -h flag conflict in pr_analyzer.py - Fix tech-debt.md description (score → prioritize) All 237 scripts now pass python3 --help verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
---
|
|
name: tech-debt
|
|
description: Scan, prioritize, and report technical debt. Usage: /tech-debt <scan|prioritize|report> [options]
|
|
---
|
|
|
|
# /tech-debt
|
|
|
|
Scan codebases for technical debt, score severity, and generate prioritized remediation plans.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/tech-debt scan <project-dir> Scan for debt indicators
|
|
/tech-debt prioritize <inventory.json> Prioritize debt backlog
|
|
/tech-debt report <project-dir> 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 <directory> [--format json] [--output file]`)
|
|
- `engineering/tech-debt-tracker/scripts/debt_prioritizer.py` — Prioritize debt backlog (`debt_prioritizer.py <inventory.json> [--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`
|