跳到正文
Skillpedia
测试48k · #4062

brooks-review

它能做什么

这个工具可以帮你审查软件项目的代码。它会查找那些可能导致代码日后难以维护的问题,例如“腐化风险”和“设计坏味道”。它会解释问题本身、问题来源、影响,以及修复方法,内容参考了经典工程书籍。

适用场景

  • ✓想审查新功能的代码时。
  • ✓检查软件项目中的改动时。
  • ✓把一段代码片段分享出来进行分析时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-review/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-review/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请审查这段代码,找出可维护性和质量方面的问题。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析代码中是否存在常见软件工程问题的迹象。对于每个发现的问题,它都会详细说明症状、来源、后果和解决方法,并运用工程类书籍中的知识。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Brooks-Lint — PR Review

When to Use

Use this skill when you need pR code review that surfaces decay risks, design smells, and maintainability issues with concrete Symptom → Source → Consequence → Remedy findings, drawing on twelve classic engineering books. Triggers when: user asks to review code, check a PR, shares a diff or pastes code asking...

Setup

  1. Read ../_shared/common.md for the Iron Law, Project Config, Report Template, and Health Score rules
  2. Read ../_shared/source-coverage.md for book-level coverage, exceptions, and tradeoffs
  3. Read ../_shared/decay-risks.md for symptom definitions and source attributions
  4. Read pr-review-guide.md in this directory for the analysis process

Process

If the user has not specified files or pasted code: apply Auto Scope Detection from ../_shared/common.md to determine the review scope before proceeding.

  1. Understand the review scope, then scan for each decay risk in the order specified (Steps 1–6 of the guide)
  2. Run the Quick Test Check (Step 7 of the guide) — skip for docs-only or non-production changes
  3. Apply the Iron Law to every finding
  4. Output using the Report Template from common.md

Mode line in report: PR Review

Example

User request:

Use @brooks-review for this task: PR code review that surfaces decay risks, design smells, and maintainability issues with concrete Symptom → Source → Consequence → Remedy findings, drawing on twelve classic engineering books.

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.
常见问题

什么是“腐化风险”和“设计坏味道”?

它们是一些迹象,表明代码将来可能难以理解、修改或修复,从而导致更多错误。

这些建议的依据是什么?

这些建议基于十二本关于软件工程与开发最佳实践的经典书籍。

“症状 → 来源 → 后果 → 解决方法”是什么意思?

这是一种结构化的问题描述方式:问题是什么(症状)、根本原因是什么(来源)、会造成什么负面影响(后果),以及如何解决(解决方法)。

详情

作者的原始描述

PR code review that surfaces decay risks, design smells, and maintainability issues with concrete Symptom → Source → Consequence → Remedy findings, drawing on twelve classic engineering books.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4062
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能