---
name: Brooks Lint Skill Scaffold
slug: brooks-lint-skill-scaffold
category: Automation
description: Brooks Lint Skill Scaffold creates the files for a new brooks-lint analysis skill—SKILL.md, guide, and eval scenarios—so it passes npm run validate and npm run evals the first time. Maintainers use it when adding a new skill to the brooks-lint plugin.
github: "https://github.com/hyhmrright/brooks-lint/tree/main/.claude/skills/new-skill"
language: JavaScript
stars: 1383
forks: 61
install: "npx degit https://github.com/hyhmrright/brooks-lint/tree/main/.claude/skills/new-skill ~/.claude/skills/new-skill"
installs_to: ~/.claude/skills/new-skill
source_path: .claude/skills/new-skill/SKILL.md
collection_size: 9
category_size: 1523
collection_url: "https://dirskills.com/collections/hyhmrright/brooks-lint"
added: 2026-08-19T07:27:57.642Z
last_synced: 2026-08-19T07:27:57.642Z
canonical_url: "https://dirskills.com/skills/brooks-lint-skill-scaffold"
---

# Brooks Lint Skill Scaffold

Brooks Lint Skill Scaffold creates the files for a new brooks-lint analysis skill—SKILL.md, guide, and eval scenarios—so it passes npm run validate and npm run evals the first time. Maintainers use it when adding a new skill to the brooks-lint plugin.

**Install:**

```bash
npx degit https://github.com/hyhmrright/brooks-lint/tree/main/.claude/skills/new-skill ~/.claude/skills/new-skill
```

## README

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