技术债
tech-debt
/tech-debt
扫描代码库中的技术债,评估严重程度,并生成优先级排序的修复计划。
用法
code
/tech-debt scan <project-dir> 扫描技术债指标
/tech-debt prioritize <inventory.json> 对技术债积压项进行优先级排序
/tech-debt report <project-dir> 生成包含趋势分析的完整仪表盘示例
code
/tech-debt scan ./src
/tech-debt scan . --format json
/tech-debt report . --format json --output debt-report.json脚本
engineering/skills/tech-debt-tracker/scripts/debt_scanner.py— 扫描技术债模式 (debt_scanner.py <directory> [--format json] [--output file])
engineering/skills/tech-debt-tracker/scripts/debt_prioritizer.py— 对技术债积压项进行优先级排序 (debt_prioritizer.py <inventory.json> [--framework cost_of_delay|wsjf|rice] [--format json])
engineering/skills/tech-debt-tracker/scripts/debt_dashboard.py— 生成技术债仪表盘 (debt_dashboard.py [files...] [--input-dir dir] [--period weekly|monthly|quarterly] [--format json])
技能参考
→engineering/skills/tech-debt-tracker/SKILL.md