技能 编程开发 布鲁克斯代码审查助手

布鲁克斯代码审查助手

v20261104
brooks-review
该技能执行 PR 代码审查,识别衰减风险、设计异味和可维护性问题。基于十二本经典工程书籍,将发现结构化症状、来源、后果和补救措施。当用户请求代码审查、分享差异或粘贴代码时触发。涵盖重构、清晰架构、SOLID 原则及布鲁克斯定律。不包含语法问题或从零编写代码。
获取技能
266 次下载
概览

Brooks-Lint — PR Review

Setup

Read in order:

  1. ../_shared/common.md — Iron Law, Project Config, Report Template, Health Score
  2. ../_shared/source-coverage.md — book coverage, exceptions, tradeoffs
  3. ../_shared/decay-risks.md — symptom definitions and source attributions
  4. ../_shared/test-decay-risks.md — test risk definitions for the Quick Test Check
  5. pr-review-guide.md (this directory) — the analysis process

Process

Scope: if the user did not specify files or paste code, apply Auto Scope Detection
(../_shared/common.md) first.

  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

信息
分类 编程开发
名称 brooks-review
版本 v20261104
大小 4.25KB
更新时间 2026-11-05
语言