Skip to content

/new-skill

Scaffold a new brooks-lint analysis skill so it passes `npm run validate` and `npm run evals` on the first try — generates skills/{name}/SKILL.md (with the mandatory "Do NOT trigger for:" clause and a Process section citing guide step ranges) plus skills/{name}/{name}-guide.md

From plugin
brooks-lint
1.6k9 skills5 agents6 commands1 hook

Claude Code

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

SKILL.md

new-skill.SKILL.md
name: new-skill
description: >
  Scaffold a new brooks-lint analysis skill so it passes `npm run validate` and
  `npm run evals` on the first try — generates skills/{name}/SKILL.md (with the
  mandatory "Do NOT trigger for:" clause and a Process section citing guide step
  ranges) plus skills/{name}/{name}-guide.md (sequentially numbered steps), then
  appends paired eval scenarios.
  Triggers when the maintainer asks to "add a new skill", "scaffold a skill", or
  "create a brooks-lint mode".
  Do NOT trigger for: editing an existing skill's content, adding a single eval to
  an existing skill, or authoring skills for some other plugin.
disable-model-invocation: true

brooks-lint — New Skill Scaffold

Skill name comes from `$ARGUMENTS` (kebab-case, e.g. `brooks-security`). If empty, ask for the name and a one-line purpose first.

Follow the repo's "Adding a New Skill" checklist exactly:

1. **Create `skills/{name}/SKILL.md`** with frontmatter — `name`, a `description` that ends with a `Do NOT trigger for:` clause (validate-enforced for shipped skills; omitting it causes false triggering), and a `Process` section of 3–6 bullets that cite the guide's step ranges inline (e.g. `Scan risks (Steps 1–6 of the guide)`). Mirror the structure of an existing skill such as `skills/brooks-review/SKILL.md` (Setup → Process → Mode line). 2. **Create `skills/{name}/{name}-guide.md`** with sequentially numbered steps — no gaps, no duplicates. Sub-steps like `Step 2a` are allowed. The guide owns the detailed steps; the SKILL.md Process is just an orientation skeleton. 3. **Wire the framework.** The new SKILL.md Setup section must Read the relevant `_shared/` files (`common.md` for Iron Law + Report Template, plus `decay-risks.md` / `test-decay-risks.md` as applicable) — `_shared/` is NOT auto-loaded. 4. **Add eval coverage** to `evals/evals.json`: append with the next sequential `id` at least one happy-path scenario (with the relevant risk code in `expected_output`) and at least one false-positive scenario flagged `no_risk_codes: true`. Each scenario needs `id`, `name`, `prompt`, `expected_output`, `mode`, `files`. 5. **Validate.** `npm run validate` (structure + step continuity + Process-section presence) and `npm run evals` (eval schema). Fix until both pass. 6. **Local-test.** `cp -r skills/* ~/.claude/skills/brooks-lint/` (if you've symlinked `~/.claude/skills/brooks-lint` to the repo, skip this — edits are already live), trigger the new skill in a Claude session, verify the Iron Law output, then restore the marketplace copy: `/plugin marketplace update` → `/plugin install brooks-lint@brooks-lint-marketplace`.

Do NOT register a slash command by hand — short forms are auto-installed by the session-start hook. Report the files created and the validate/evals results.

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.

brooks-harness
Auto-invoked

brooks-harness

Maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential subagent pipeline — author → eval → QA →…

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 new-skill.

Which coding agents can use new-skill?
new-skill 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.