/brooks-lint:brooks-audit runs instead · from brooks-lint
Audits codebase architecture by mapping module dependencies, checking layering integrity, and detecting structural decay. Includes an onboarding mode for explaining codebase organization to new developers.
This skill never runs in Claude Code
It ships in brooks-lint at skills/, but /brooks-lint:brooks-audit (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Read in order:
../_shared/common.md — Iron Law, Project Config, Report Template, Health Score../_shared/source-coverage.md — book coverage, exceptions, tradeoffs../_shared/decay-risks.md — symptom definitions and source attributionsarchitecture-guide.md (this directory) — the audit frameworkOnboarding 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.
Scope: if the user did not specify files or a directory, apply Auto Scope Detection
(../_shared/common.md) first.
Mode line in report: Architecture Audit
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hyhmrright/brooks-lint --plugin brooks-lint7 skills in this plugin
/brooks-debtTech 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 is this so hard to change?", "what should we fix first?", or "how do I justify refactoring to management?". Do NOT trigger for: server health checks, HTTP /health endpoints, Kubernetes probes, database health, or application uptime — "health" in those contexts is infrastructure, not code quality. Also not for single-function refactoring questions.
/brooks-healthCombined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech debt, and test quality — in a single pass, drawing on twelve classic engineering books. Triggers when: user wants an overall quality assessment, asks "how healthy is this codebase?", "run all the checks", "I need a health score before the release", or wants to onboard a new team with a quality overview. Do NOT trigger for: server health checks, HTTP health endpoints, Kubernetes liveness/readiness probes, database health, or application uptime. Also do not trigger when the user specifically requests only one dimension — use the corresponding focused skill instead (brooks-review / brooks-audit / brooks-debt / brooks-test).
/brooks-reviewPR 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 "does this look right?" / "any issues here?" / "ready to merge?", or asks for feedback on a function, class, or file. Also triggers when user mentions: code smells / refactoring / clean architecture / DDD / SOLID principles / Hyrum's Law / deep modules / tactical programming / conceptual integrity / Brooks's Law / Mythical Man-Month / second system effect. Do NOT trigger for: questions about how to write code from scratch, language syntax questions, framework/tool questions where no existing code is shared, or a standalone request to formally verify a function against a stated contract.
/brooks-sweepFull-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user wants to "fix everything", "sweep the codebase", "auto-fix all issues", "clean up the whole project", or asks for a single command that both diagnoses and remediates quality problems. Do NOT trigger for: read-only audits or health reports where the user only wants findings without code changes; single-dimension reviews (use the focused skill instead: brooks-review / brooks-audit / brooks-debt / brooks-test); server health checks, HTTP /health endpoints, Kubernetes probes, database health, or application uptime.
/brooks-testTest quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow execution, poor readability. Triggers when: user asks about test quality, shares test files for review, or expresses frustration: "tests keep breaking whenever I change anything", "our tests take forever", "tests pass but bugs still reach production", or "we have too many mocks". Do NOT trigger for: writing new tests from scratch (use the regular test-writing workflow) or testing framework/syntax questions — this skill reviews an existing suite for structural quality problems, not individual test authoring.
/brooks-verifyVerify a supported Python integer predicate, stable deduplication cost, validate-before-write batch update, Bash/xargs worker exit propagation, Go file handle lifetimes, Go 1.22 loop capture and callback completion, Python cross-call Fibonacci cache correctness, Java date formatter concurrency, or JavaScript comma-separated word-list acceptance against an explicit contract with Lean 4. Trigger for requests for formal verification, proof of order or failure behavior, or a certified counterexample to a stated obligation. Explain confirmed defects using the project's finding convention drawn from twelve classic engineering books. Do NOT trigger for: general PR reviews, architecture audits, debt assessments, test-suite reviews, health dashboards, automated fixes, or Lean tutorials.
Other plugins' skills for the same job