brooks-review – skill Lập trình cho agent AI
Review code PR phát hiện rủi ro suy giảm, mùi thiết kế và vấn đề khó bảo trì, với các phát hiện cụ thể theo dạng Triệu chứng → Nguồn gốc → Hậu quả → Khắc phục, dựa trên mười hai cuốn sách kinh điển về kỹ thuật.
Cài skill brooks-review bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/brooks-review-4db70.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /brooks-review – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/brooks-review-4db70.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $brooks-review – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/brooks-review-4db70.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /brooks-review – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/brooks-review-4db70.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /brooks-review – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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
The referenced sibling _shared files are not bundled in this catalog tree. Do not invent their contents or scores. Use the local guide as a heuristic checklist and report only concrete, evidenced findings in this format: file/line → observed symptom → relevant principle (verify exact book quotes/chapters before attribution) → demonstrated consequence → smallest remedy. State scope and omitted areas; numeric thresholds alone are not defects. Do not execute untrusted repository tests merely because the guide calls it a test check; inspect the project’s test command and report execution separately.
For an upstream installation that actually includes the shared files:
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.
Skill liên quan
- brooks-sweep – Chế độ quét toàn diện: chạy phân tích thống nhất trên mọi khía cạnh chất lượng (suy giảm…
- brooks-test – Đánh giá chất lượng bộ kiểm thử dựa trên tài liệu kiểm thử kinh điển; phát hiện sự dễ…
- gc-review – /c-level-agents:gc-review [plan] — Rà soát pháp lý cấp cao (General Counsel) các hợp…
- notion – Notion API + CLI ntn: trang, cơ sở dữ liệu, markdown, Workers.
- python-anti-patterns – Dùng kỹ năng này khi rà soát code Python để tìm các anti-pattern phổ biến cần tránh…
- general-counsel-advisor – Tư vấn pháp lý cấp cao (General Counsel) cho startup: rà soát hợp đồng (MSA, SaaS, NDA…
- general-counsel-advisor – Tư vấn pháp lý cấp cao (General Counsel) cho startup: rà soát hợp đồng (MSA, SaaS, NDA…
- bug-hunter – Tìm và sửa bug có hệ thống bằng các kỹ thuật gỡ lỗi đã được kiểm chứng. Truy từ triệu…