$ loading_
帮助识别、分类并排序技术债,明确重构与代码健康改进优先级。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "tech-debt" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/engineering/skills/tech-debt/SKILL.md 2. 保存为 ~/.claude/skills/tech-debt/SKILL.md 3. 装好后重载技能,告诉我可以用了
请对这个仓库做一次技术债审计,按代码复杂度、重复逻辑、测试覆盖率、依赖风险和可维护性分类,列出高、中、低优先级问题,并给出建议的修复顺序。
一份按类型和优先级整理的技术债清单,附带重构顺序与处理建议。
基于以下模块说明和近期故障记录,告诉我接下来最值得重构的 3 个部分,并说明每个部分的风险、影响范围、预估收益和推荐改造方式。
一个聚焦高价值区域的重构优先级列表,并说明决策依据。
请把这份维护 backlog 按紧急程度、业务影响、修复成本和长期维护收益重新排序,并标记哪些属于技术债、缺陷修复或基础设施改进。
一份重新排序的维护任务清单,清楚区分技术债类型与处理优先级。
Systematically identify, categorize, and prioritize technical debt.
| Type | Examples | Risk |
|---|---|---|
| Code debt | Duplicated logic, poor abstractions, magic numbers | Bugs, slow development |
| Architecture debt | Monolith that should be split, wrong data store | Scaling limits |
| Test debt | Low coverage, flaky tests, missing integration tests | Regressions ship |
| Dependency debt | Outdated libraries, unmaintained dependencies | Security vulns |
| Documentation debt | Missing runbooks, outdated READMEs, tribal knowledge | Onboarding pain |
| Manual deploys, no monitoring, no IaC |
| Incidents, slow recovery |
Score each item on:
Priority = (Impact + Risk) x (6 - Effort)
Produce a prioritized list with estimated effort, business justification for each item, and a phased remediation plan that can be done alongside feature work.
帮助用户比较雪球法与雪崩法,规划还债周期并估算总利息成本。