plugins marketplace
← All plugins

brooks-lint

v1.4.3

AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix)

CodexClaude Code6 skills

by hyhmrrightMIT1.3kupdated 5 days ago

Source

git clone https://github.com/hyhmrright/brooks-lint

Clone the source, then follow the repository's marketplace instructions for your runtime. The repository root is the plugin root.

Layout

brooks-lint/
├── .codex-plugin/plugin.json
├── .claude-plugin/plugin.json
├── skills/brooks-audit/SKILL.md
├── skills/brooks-debt/SKILL.md
├── skills/brooks-health/SKILL.md
├── skills/brooks-review/SKILL.md
├── skills/brooks-sweep/SKILL.md
└── skills/brooks-test/SKILL.md

Skills6

brooks-auditskills/brooks-audit/SKILL.md

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 how the codebase is organized, or asks "does this follow clean architecture?" or "why does everything depend on everything?". Also triggers for onboarding requests: "explain this codebase to a new developer" or "give me a codebase tour" (use onboarding mode). Do NOT trigger for: PR-level code review (use brooks-review) or line-level refactoring questions — this skill analyzes structural/module-level concerns, not individual functions.

brooks-debtskills/brooks-debt/SKILL.md

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 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-healthskills/brooks-health/SKILL.md

Combined 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-reviewskills/brooks-review/SKILL.md

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 "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, or framework/tool questions where no existing code is shared.

brooks-sweepskills/brooks-sweep/SKILL.md

Full-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-testskills/brooks-test/SKILL.md

Test 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.

Manifests2

.codex-plugin/plugin.json
{
  "name": "brooks-lint",
  "version": "1.4.3",
  "description": "AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix)",
  "author": {
    "name": "hyhmrright",
    "email": "hyhmrright@gmail.com",
    "url": "https://github.com/hyhmrright"
  },
  "homepage": "https://github.com/hyhmrright/brooks-lint",
  "repository": "https://github.com/hyhmrright/brooks-lint",
  "license": "MIT",
  "keywords": [
    "code-quality",
    "code-review",
    "brooks-law",
    "mythical-man-month",
    "architecture",
    "tech-debt",
    "test-quality"
  ],
  "skills": "./skills/",
  "commands": [],
  "interface": {
    "displayName": "Brooks Lint",
    "shortDescription": "AI code reviews grounded in twelve classic engineering books",
    "longDescription": "AI-powered code quality diagnosis grounded in twelve classic software engineering books (The Mythical Man-Month, A Philosophy of Software Design, Refactoring, and more). Produces decay-risk findings in Iron Law form — Symptom → Source → Consequence → Remedy — with book citations, severity labels, and six analysis modes: PR review, architecture audit, tech debt assessment, test quality review, health dashboard, and full-sweep auto-fix.",
    "developerName": "hyhmrright",
    "category": "Coding",
    "capabilities": [
      "Interactive"
    ],
    "websiteURL": "https://github.com/hyhmrright/brooks-lint",
    "defaultPrompt": [
      "Review this PR for code decay risks",
      "Audit this codebase's architecture",
      "Assess the tech debt in this repo"
    ],
    "composerIcon": "./assets/logo.svg",
    "logo": "./assets/logo.svg"
  }
}
.claude-plugin/plugin.json
{
  "name": "brooks-lint",
  "description": "AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix)",
  "version": "1.4.3",
  "author": {
    "name": "hyhmrright",
    "email": "hyhmrright@gmail.com"
  },
  "homepage": "https://github.com/hyhmrright/brooks-lint",
  "repository": "https://github.com/hyhmrright/brooks-lint",
  "license": "MIT",
  "keywords": [
    "code-quality",
    "code-review",
    "brooks-law",
    "mythical-man-month",
    "architecture",
    "tech-debt",
    "test-quality"
  ]
}