About new-skill
A repository-specific skill for adding skills to brooks-lint. It guides maintainers through creating skill and guide files, wiring shared resources, adding eval scenarios, and testing the result.
Key features
- 01Scaffold a skill and numbered guide
- 02Specify frontmatter and process structure
- 03Connect relevant shared files
- 04Add positive and false-positive evals
- 05Validate structure and locally test
Use cases
- 01Create a repository skill from a named purpose
- 02Add evaluation coverage for new skills
- 03Check skill structure and behavior locally
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ hyhmrright/ brooks-lint --skill new-skillAfter installing, type/new-skillin Claude Code to confirm it loaded.
Bundled filesagents/openai.yaml
Details
From the project READMEbrooks-lint — New Skill Scaffold
Skill name comes from the user request (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:
- Create
skills/{name}/SKILL.mdwith frontmatter —name, adescriptionthat ends with aDo NOT trigger for:clause (validate-enforced for shipped skills; omitting it causes false triggering),metadata:withopencode/slash: "true", and aProcesssection 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 asskills/brooks-review/SKILL.md(Setup → Process → Mode line). - Create
skills/{name}/{name}-guide.mdwith sequentially numbered steps — no gaps, no duplicates. Sub-steps likeStep 2aare allowed. The guide owns the detailed steps; the SKILL.md Process is just an orientation skeleton. - Wire the framework. The new SKILL.md Setup section must Read the relevant
_shared/files (common.mdfor Iron Law + Report Template, plusdecay-risks.md/test-decay-risks.mdas applicable) —_shared/is NOT auto-loaded. - Add eval coverage to
evals/evals.json: append with the next sequentialidat least one happy-path scenario (with the relevant risk code inexpected_output) and at least one false-positive scenario flaggedno_risk_codes: true. Each scenario needsid,name,prompt,expected_output,mode,files. - Validate.
npm run validate(structure + step continuity + Process-section presence) andnpm run evals(eval schema). Fix until both pass. - Local-test. Link the new skill folder from
skills/into.agents/skills/alongside the_sharedsymlink, then invoke it with$<skill-name>in a Codex session and verify the Iron Law output.
Codex discovers repository skills directly; no command wrapper is needed. Report the files created and the validate/evals results.
Comments
Markdown supported