brooks-debt – skill Lập trình cho agent AI
Đánh giá nợ kỹ thuật: xác định, phân loại và ưu tiên các vấn đề khó bảo trì, giúp nhóm xây dựng lộ trình tái cấu trúc, dựa trên mười hai cuốn sách kinh điển về kỹ thuật.
Cài skill brooks-debt 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-debt-afd9a.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /brooks-debt – 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-debt-afd9a.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $brooks-debt – 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-debt-afd9a.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /brooks-debt – 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-debt-afd9a.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /brooks-debt – 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 — 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
1. If available in an explicitly supplied upstream installation, 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 debt-guide.md in 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.
1. Scan for all six decay risks (Step 1 of the guide); list every finding before scoring
2. Apply the Pain × Spread priority formula and classify debt intent (Steps 2–3 of the guide)
3. Group findings by decay risk (Step 4 of the guide)
4. 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.
Standalone catalog fallback
The ../_shared/* files referenced above are not bundled in this catalog. Do not claim their score, report or source-coverage rules were followed. The bundled debt guide can be used independently: define the authorized scope, record each symptom with current file/line evidence, its observed consequence and proposed remedy, then label Pain × Spread as a local prioritization heuristic. Unknown team intent stays unknown; missing documentation does not prove a shortcut was accidental. Report reviewed and unreviewed areas explicitly.
Skill liên quan
- node-inspect-debugger – Gỡ lỗi Node.js qua --inspect + công cụ CLI của Chrome DevTools Protocol.
- brooks-review – 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…
- 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…