- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add hyhmrright/brooks-lint --skill new-skill -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add hyhmrright/brooks-lint --skill new-skill -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add hyhmrright/brooks-lint --skill new-skill -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add hyhmrright/brooks-lint --skill new-skill -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/hyhmrright/brooks-lint/tree/HEAD/.claude/skills/new-skill来自发布者
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:
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).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._shared/ files (common.md for Iron Law + Report Template, plus
decay-risks.md / test-decay-risks.md as applicable) — _shared/ is NOT
auto-loaded.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.npm run validate (structure + step continuity + Process-section
presence) and npm run evals (eval schema). Fix until both pass.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.
>
---name: new-skilldescription: >---# .claude/skills/new-skill/SKILL.md常见问题
从发布者处下载 .claude/skills/new-skill/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/hyhmrright/brooks-lint。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。