Skip to content

/brooks-harness

Maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential subagent pipeline — author → eval → QA → trigger-audit → release — to add or edit a skill, refresh the eval suite, keep the four manifests + all README translations + CHANGELOG + AGENTS/GEMINI in sync,

From plugin
brooks-lint
1.6k9 skills5 agents6 commands1 hook

Claude Code

$ npx -y skills add hyhmrright/brooks-lint --skill brooks-harness --agent claude-code

SKILL.md

brooks-harness.SKILL.md
name: brooks-harness
description: >
  Maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential
  subagent pipeline — author → eval → QA → trigger-audit → release — to add or
  edit a skill, refresh the eval suite, keep the four manifests + all README translations + CHANGELOG
  + AGENTS/GEMINI in sync, audit trigger boundaries, and cut releases. Drives the
  five agents in .claude/agents/ (skill-author, eval-curator, consistency-qa,
  trigger-boundary-auditor, release-manager).
  Triggers when the maintainer asks to work ON brooks-lint itself: "add a new skill",
  "edit the brooks-debt guide", "update the eval suite", "fix the trigger
  descriptions", "make this change and validate it", "release brooks-lint", "bump and
  publish", and follow-ups: "re-run", "re-validate", "update that skill", "redo the
  audit", "do the X part again".
  Do NOT trigger for: USING the brooks-lint analysis skills on some target codebase
  (that's brooks-review / brooks-audit / brooks-debt / brooks-test / brooks-health /
  brooks-sweep); generic questions about brooks-lint that don't ask to change it; or
  maintenance of a different plugin.
disable-model-invocation: false

brooks-lint — Maintenance Harness (Orchestrator)

This skill orchestrates work **on the brooks-lint repo itself**. It runs a sequential subagent pipeline: each stage is a dedicated agent defined in `.claude/agents/`. Spawn each with the `Agent` tool, `subagent_type` set to the agent name, and **always `model: "opus"`**. Stages depend on each other in order, so this is a pipeline, not a parallel team.

Pipeline

[orchestrator]
   Phase 0  context check
   Phase 1  classify request → select stages
   Phase 2  run selected stages in order, with a QA loop-back:
            skill-author → eval-curator → consistency-qa ─(FAIL)→ back to author
                                              │ PASS
                                              ▼
                            trigger-boundary-auditor   (only if a description changed)
                                              ▼
                                      release-manager  (only if release requested)
   Phase 3  report + collect feedback

Phase 0 — Context check

Determine the run mode before doing anything:

  • `_workspace/brooks-harness/` exists + maintainer asks to redo part of a prior run →

**partial re-run**: invoke only the affected stage(s), reusing prior notes.

  • `_workspace/brooks-harness/` exists + a fresh request → **new run**: move the old

folder to `_workspace/brooks-harness_prev/`, start clean.

  • No `_workspace/brooks-harness/` → **initial run**: create it.

Run notes and the QA report live under `_workspace/brooks-harness/`. The *real* artifacts are the repo files themselves — agents edit `skills/`, `evals/`, manifests directly; `_workspace/` only holds the run's notes and the PASS/FAIL verdict for audit.

Phase 1 — Classify the request

Pick the minimal set of stages. The QA stage is **never skipped** — every change is gated.

| Request | author | eval | QA | trigger-audit | release | |---------|:------:|:----:|:--:|:-------------:|:-------:| | Add a new skill | ✓ (via `new-skill` scaffold) | ✓ | ✓ | ✓ | — | | Edit skill / guide content | ✓ | if codes changed | ✓ | if `description` changed | — | | Edit `_shared/` framework | ✓ | if risk defs changed | ✓ | — | — | | Eval suite only | — | ✓ | ✓ | — | — | | Fix trigger descriptions | ✓ | — | ✓ | ✓ | — | | Release | — | — | ✓ | — | ✓ | | Full: change + release | ✓ | as needed | ✓ | if applicable | ✓ |

Phase 2 — Run the pipeline

Spawn each selected stage as a subagent in order. Pass each agent (a) the task contract and (b) the previous stage's summary. Agents write their summaries to `_workspace/brooks-harness/`; read them between stages.

1. **skill-author** — creates/edits the content. For a brand-new skill it invokes the `new-skill` scaffold. Returns the list of files touched + convention-relevant choices (new risk codes, new Step numbers, changed `description` trigger phrases). 2. **eval-curator** — if `skill-author` reported new/changed risk codes or modes, adds the paired happy-path + false-positive scenarios and runs `npm run evals`. 3. **consistency-qa** *(gate — never skipped)* — runs `npm run validate` + `npm test` + `npm run evals`, then the cross-document sync checks (manifests, all version-bearing text files, CHANGELOG, AGENTS/GEMINI book count, eval count). Writes a PASS/FAIL verdict. **On FAIL: loop back to the agent named in the verdict (author or eval-curator), fix, then re-run QA. Repeat once; if it still fails, stop and report to the maintainer.** 4. **trigger-boundary-auditor** — run **only if a `description` field changed**. It read-only audits the six shipped skills' trigger surfaces for false-triggering and routing collisions. Surface its findings; if it flags a real collision, loop back to skill-author. 5. **release-manager** — run **only if a release was requested**, and **only after QA PASS**. Cuts the release via the `release` skill.

Phase 3 — Report & feedback

Report: stages run, files changed, QA verdict, trigger-audit findings (if any), and the release URL (if any). Then offer the maintainer a feedback opening: "Anything to adjust in the result, the agent roles, or the pipeline order?" Record accepted changes in the CLAUDE.md harness change-log table.

Conventions this harness enforces

  • **All `Agent` calls use `model: "opus"`** — harness quality tracks agent reasoning.
  • **consistency-qa must be `general-purpose`** (it runs npm scripts); the

trigger-boundary-auditor is read-only.

  • **No slash commands are created** — short forms are auto-installed by the

session-start hook.

  • **Direct-to-main**: changes push to `main` without a PR (per repo CLAUDE.md); the

global simplify→review→commit gate still applies to non-doc edits, but skill/guide content is markdown and follows the validate gate instead

Read more
@hyhmrright
Ships withbrooks-lint

Portable AI code quality reviews for Codex, Cursor, Copilot and other coding agents: six Agent Skills for architecture, technical debt, tests and remediation.

Stars on GitHub

Momentum

stars in total
1.6k
Star history of hyhmrright/brooks-lint on GitHub, a chart by star-history.com

Other skills on brooks-lint.

new-skill
Auto-invoked

new-skill

Scaffold a new brooks-lint analysis skill so it passes `npm run validate` and `npm run evals` on the first try — generates…

release
Auto-invoked

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every…

brooks-audit
Auto-invoked

brooks-audit

Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase,…

brooks-debt
Auto-invoked

brooks-debt

Tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring…

brooks-health
Auto-invoked

brooks-health

Combined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech…

brooks-review
Auto-invoked

brooks-review

PR code review that surfaces decay risks, design smells, and maintainability issues with concrete Symptom → Source → Consequence…

More skills from other plugins.

open-code-review

open-code-review

Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to…

@alibaba@alibabaInstall Skill
build-graph

build-graph

Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

@tirth8205@tirth8205Install Skill
hunk-extensions

hunk-extensions

Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…

hunk2d9.8k
@modem-dev@modem-devInstall Skill

Questions about brooks-harness.

Which coding agents can use brooks-harness?
brooks-harness installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.