brooks-lint

適用於 Codex、Cursor、Copilot 及其他程式碼代理的可攜式 AI 程式碼品質審查:六項代理技能,涵蓋架構、技術債、測試與修正。

brooks-lint 是什麼?

適用於 Codex、Cursor、Copilot 及其他程式碼代理的可攜式 AI 程式碼品質審查:六項代理技能,涵蓋架構、技術債、測試與修正。

brooks-lint 概覽

這是什麼

brooks-lint 是一款 AI 程式碼審查工具,根據十二本經典工程書籍歸納出的六個衰敗風險維度來診斷程式碼。它會產出結構化的發現報告,附有書籍引用、嚴重程度標籤與具體改善建議。該工具奠基於 Brooks、McConnell、Fowler、Martin、Hunt & Thomas、Evans、Ousterhout、Winters、Meszaros、Osherove、Feathers 以及 Google 測試團隊的著作。

主要功能

  • 六個生產程式碼衰敗風險:認知負荷、變更傳播、知識重複、意外複雜度、依賴混亂、領域模型扭曲
  • 六個測試套件衰敗風險(源自單元測試與遺留程式碼相關書籍)
  • 結構化發現格式:症狀 → 來源 → 後果 → 改善建議,附書籍引用
  • 每個發現的健康分數(0–100)
  • 六種分析模式:/brooks-review、/brooks-audit、/brooks-debt、/brooks-test、/brooks-health、/brooks-sweep
  • 架構審計附 Mermaid 依賴圖(依嚴重程度標色)

使用情境

  • 拉取請求審查
  • 架構審計
  • 技術債評估
  • 測試品質審查
  • 全掃描自動修復分析

快速開始

bash# Claude Code/plugin marketplace add hyhmrright/brooks-lint/plugin install brooks-lint@brooks-lint-marketplace# 任何其他 Agent Skills 平台 — Cursor · Codex · Gemini · Copilot · Windsurf · OpenCode · Kiro · Bob …curl -fsSL https://raw.githubusercontent.com/hyhmrright/brooks-lint/main/scripts/install.sh | bash -s --然後直接提問(例如「review this PR」、「audit the architecture」),或執行六個指令之一。

授權與價格

授權:MIT。價格:開放原始碼(免費)。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/hyhmrrightbrooks-lint.svg)](https://yunodb.com/tools/hyhmrrightbrooks-lint?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/hyhmrrightbrooks-lint?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/hyhmrrightbrooks-lint.svg" alt="Featured on YunoDB" height="20"></a>