brooks-debt
它能做什么
这个工具可以帮你找出代码中需要维护的问题,并将其整理归类。它借鉴工程类经典书籍中的理念,帮你排定修复的优先级,方便你规划改进工作。
适用场景
- ✓想知道代码中哪些部分需要修复时。
- ✓计划先改进哪些地方时。
- ✓需要一份整理代码清理工作的指南时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-debt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析我的代码,告诉我应该先修复什么,以提高可维护性。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会扫描你的代码,查找常见的维护问题,对这些问题进行分类,并按重要程度排序。它采用基于工程类书籍的方法,帮你判断应该先修复哪些问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Brooks-Lint — Tech Debt Assessment
When to Use
Use this skill when you need tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring roadmap — drawing on twelve classic engineering books. Triggers when: user asks about tech debt, refactoring priorities, what to clean up first, or asks "why...
Setup
- Read
../_shared/common.mdfor the Iron Law, Project Config, Report Template, and Health Score rules - Read
../_shared/source-coverage.mdfor book-level coverage, exceptions, and tradeoffs - Read
../_shared/decay-risks.mdfor symptom definitions and source attributions - Read
debt-guide.mdin this directory for the debt classification framework
Process
If the user has not described the codebase or pointed to specific areas: apply Auto
Scope Detection from ../_shared/common.md to determine the assessment scope before proceeding.
- Scan for all six decay risks (Step 1 of the guide); list every finding before scoring
- Apply the Pain × Spread priority formula and classify debt intent (Steps 2–3 of the guide)
- Group findings by decay risk (Step 4 of the guide)
- Output using the Report Template from common.md, plus the Debt Summary Table
Mode line in report: Tech Debt Assessment
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
常见问题
什么是“技术债务”(tech debt)?
“技术债务”(technical debt)就像编程中走的捷径。如果不及时处理,之后就可能引发问题。它是需要修复的内容,修复后代码才能运行得更好,也更容易维护。
什么是“重构路线图”(refactoring roadmap)?
“重构路线图”是一份计划,说明你要修复代码的哪些部分,以及按什么顺序修复。它能帮你有条理地推进代码改进工作。
排序问题的规则从哪里来?
这些规则来自十二本经典工程书籍,它们讲授了开发和维护高质量软件的最佳实践。
详情
作者的原始描述
Tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring roadmap — drawing on twelve classic engineering books.
热度
- GitHub 星标
- 48k
- 排名
- #4059
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。