From grimoire
Authors a new SKILL.md that encodes a domain best practice, following structured authoring guidelines to pass review. Use when contributing to grimoire.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:write-best-practice-skillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Author a new grimoire SKILL.md that encodes a domain best practice and passes `review-best-practice-skill`.
Author a new grimoire SKILL.md that encodes a domain best practice and passes review-best-practice-skill.
Adopted by: Structured authoring guides are standard in high-quality OSS knowledge projects — Wikipedia's Manual of Style, MDN Web Docs contributor guide, and all major package registries provide explicit authoring templates to maintain quality at scale. Impact: Defects caught at authoring time cost 5–10× less to fix than those caught at review — a principle established in software engineering (Boehm, Software Engineering Economics, 1981) that applies equally to knowledge contributions. Wikipedia's Manual of Style, applied at authoring time, contributes to Featured Articles achieving measurably higher quality benchmarks (citation density, edit stability) than non-featured articles — a direct effect of structured authoring criteria applied before submission. Why best: An explicit authoring guide — vs. ad-hoc contribution where authors discover requirements through reviewer rejection — eliminates the most common failure modes (vague "Adopted by", missing impact numbers, over-scoped skills) before a reviewer ever sees the file.
Sources: Wikipedia Manual of Style, MDN Web Docs Contributor Guide, Boehm (Software Engineering Economics, 1981)
Before writing a single line, confirm all four gates:
suggest-best-practice with your topic first — if a skill already
covers it, extend that skill instead of creating a duplicateIf any gate fails, stop. Writing a skill that doesn't qualify wastes reviewer time.
Follow the full naming standard in STANDARD.md. Key rules:
<verb>-<subject>[-<qualifier>]handle-, manage-, improve-, get-, use-, help-verb-subject collides across domainsskill-/guide- prefix❌ handle-deployment → rejected verb
✅ diagnose-deployment-failure
❌ improve-code → rejected verb + generic subject
✅ optimize-query-latency
❌ code-review → noun-first
✅ review-pull-request
The source field must be verifiable. Match source type to domain:
| Domain | Qualifying sources |
|---|---|
| Engineering | Google Engineering Practices, Netflix/Stripe/AWS engineering blogs |
| Health | WHO guidelines, Mayo Clinic, NIH, ACSM, NSCA position stands |
| Finance | CFA Institute, Bridgewater, Goldman Sachs frameworks |
| Law | ABA Model Rules, BigLaw practice standards, ISDA/NVCA model agreements |
| Business | McKinsey/BCG/Bain frameworks, HBS/INSEAD curriculum |
| Design | Apple HIG, Material Design, Nielsen Norman Group |
| Sports | NSCA CSCS, USA Weightlifting, Olympic coaching methodology |
Failing source examples: "industry standard", "widely known", "common practice".
---
name: write-best-practice-skill
description: Use when <triggering conditions — NOT a summary of the steps>.
source: <institution, standard body, or top-tier company list>
tags: [problem-keyword-1, problem-keyword-2, problem-keyword-3]
---
description check: does it start with "Use when"? Does it describe WHEN to use it,
not WHAT it does? Could you answer "I have this problem, should I use this skill?" by
reading it? If yes, it's correct.
tags check: cover all 4 axes — problem keyword (injury-prevention), tool/method
(progressive-overload), role/context (athlete), outcome (strength-gain). Not domain
names (health, engineering). 3–8 tags, lowercase kebab-case.
## Why This Is Best PracticeThis is the most scrutinized section. All four sub-fields are required:
## Why This Is Best Practice
**Adopted by:** [Specific companies or institutions — not "many companies"]
**Impact:** [Measurable outcome with cited evidence — not "significantly better"]
**Why best:** [Why this over alternatives — name the alternatives]
Sources: [Verifiable citation — institution, study, engineering blog]
Adopted by checklist:
Impact checklist:
Why best checklist:
## StepsSteps must be immediately executable — the reader can follow them right now.
git diff --cached" not "check your changes"Size check: 50–300 lines total. Under 50 = too shallow. Over 300 = split into two skills.
| Domain | Required footer |
|---|---|
| Health / Medicine | > For personal health decisions, consult a qualified healthcare provider. |
| Law | > This is educational content, not legal advice. Consult qualified legal counsel for your situation. |
| Finance / Investing | > This is educational content, not financial advice. Consult a licensed financial advisor for personal decisions. |
| Psychology / Mental Health | > For mental health concerns, consult a qualified mental health professional. |
review-best-practice-skillInvoke review-best-practice-skill on your draft file.
Revision gate before PR: Before creating a PR or outputting the final SKILL.md, run review-best-practice-skill against the draft. If the review produces REJECT or NEEDS-REVISION findings, fix them before proceeding. Do not submit a skill that fails its own quality gate.
Fix every REJECT and NEEDS-REVISION finding until the verdict is PASS.
Common first-draft failures:
SKILLS.mdAdd a one-line entry to SKILLS.md in the correct domain section and subsection,
in alphabetical order among peers:
- [`skill-name`](./skills/<domain>/<subdomain>/skills/<skill-name>/) — <description field verbatim>
SKILLS.md entry format: When adding the skill to SKILLS.md, use this format:
| skill-name | domain/subdomain | One sentence: what problem it solves | [source-author, year] |
The description column must complete the sentence 'Use this when...' and reference the triggering situation, not the skill's method.
Then increment the domain count in the section header:
## Domain (N) → ## Domain (N+1)
If the subdomain does not yet exist in SKILLS.md, add a ### subdomain header in
alphabetical order within the domain section before the entry.
suggest-best-practice first — never create a duplicatedescription field describes triggering conditions ONLY — no workflow summaryreview-best-practice-skill before opening a PROver-scoping: "nutrition and training program" — two separable concepts, two skills.
Vague adoption: "Used by top companies and professionals in the field" — this fails the Adopted by check. Name Google, Netflix, Mayo Clinic, CFA Institute — specific names.
Missing impact number: "Code review reduces defects" — passes. "Code review helps code quality" — fails. Always find the study or internal data with a number.
Description summarizes workflow: "Use when writing a skill — checks frontmatter, writes steps, runs review." — WRONG. Correct: "Use when authoring a new SKILL.md to contribute to grimoire."
Skill for one team's approach: your company uses Terraform — that's not a grimoire skill unless it's majority adoption across the industry.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireCreates, edits, and verifies SKILL.md files using a TDD cycle with subagent pressure scenarios. Write tests first, then the skill, then close loopholes.
Creates and edits skills using a TDD approach: write pressure scenarios, observe agent failures, author the skill, verify compliance, then refactor.
Guides creation, editing, and verification of skills using a test-driven development approach with pressure scenarios and subagent baselines.