本文へスキップ
Skillpedia
一般的なプログラミング48k · #4058

brooks-audit

できること

このツールはコードの構造を分析して問題を見つけます。コードの各部分がどのようにつながっているか、整理された構造になっているか、時間とともに構造が劣化している兆候がないかを、ソフトウェア設計の原則に基づいて確認します。

使う場面

  • ✓コードの各部分がどう関係しているかを把握したいとき。
  • ✓コードの構成が混乱してきていると感じたとき。
  • ✓モジュール間に不要な循環参照がないかを確認したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-audit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクトのアーキテクチャを監査して、モジュール依存関係グラフを表示して”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、まずコードのモジュール同士のつながりを図にまとめます。次に、よくある構造上の問題がないかを確認し、図の中で各部分の健全性を色で示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Brooks-Lint — Architecture Audit

When to Use

Use this skill when you need architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books. Triggers when: user asks to audit architecture, review folder/module structure, check for circular imports, understand...

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 architecture-guide.md in this directory for the audit framework

Process

Onboarding mode: If the user asks for an onboarding report, codebase tour, or "explain this codebase to a new developer", read onboarding-guide.md from this directory and follow it instead of architecture-guide.md. This mode explains rather than diagnoses — no Health Score, no Iron Law findings.

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

  1. Gather codebase context and draw the module dependency graph as Mermaid (Steps 0–1 of the guide)
  2. Scan for each decay risk in the order specified (Steps 2–4 of the guide)
  3. Assign node colors in the Mermaid diagram based on findings (red/yellow/green) — after Step 4
  4. Run the Testability Seam Assessment (Step 5 of the guide)
  5. Run the Conway's Law check (Step 6 of the guide)
  6. Output using the Report Template from common.md — Mermaid graph FIRST, then Findings

Mode line in report: Architecture Audit

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.
よくある質問

「structural decay」とは何ですか?

コードの構成がだんだんわかりにくくなり、保守が難しくなっていく状態を指す言葉です。まるで「腐敗していく」かのように見えることから、このように呼ばれています。

「layering integrity」とは何ですか?

コードが基盤、中間、最上位のような論理的な層に整理されているか、そしてその層のルールが守られているかを確認することを意味します。本来は直接やり取りすべきでない層同士が、直接つながっていないかを見ます。

「module dependencies」とは何ですか?

コードのどの部分(モジュール)が、正しく動作するために他のどの部分を必要としているかを示すつながりのことです。

詳細

作者による元の説明

Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4058
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル