write-a-skill
Skill0 starsChanged 2 months agoMITView on GitHub
Turn a plain-language description of a desired behavior into a properly structured, installable SKILL.md following Anthropic's skill-authoring best practices: trigger-optimized description, explain-the-why instructions, output templates, examples, and anti-trigger calibration. Use this skill whenever the user says "make a skill", "write a skill for", "turn this into a skill", "create a SKILL.md", describes a behavior they want Claude to follow every time, or complains about re-explaining the same instructions across chats (a recurring-behavior request is a skill request in disguise). Do NOT use for one-off task instructions, MCP server development, or general prompt-writing advice.
122 other projects use a version of this.
Adopted by
Most recently taken up by
- robotostudio/hotrodtheir own version, first seen Nov 8, 2026
- aditya-vermax/skillsword for word, first seen Nov 8, 2026
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use zoom-out, to-issues and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
victorgarciaesgiSkillzoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
Also in 48 projects that use this
GoogleSkillto-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
Also in 43 projects that use this
kennethkeimSkillubiquitous-language
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".
Also in 20 projects that use this
GoogleSkillto-prd
Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 42 projects that use this
HK-hubSkillprd-to-plan
Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".
Also in 7 projects that use this
MicrosoftSkilldiagnose
Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns
Also in 44 projects that use this
- +2 more from google
Other versions122 projects use a version of this.
Word for word · 2
- aditya-vermax/skills★ 1100% same
- kshyam/opencode-and-claude-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 120
- sanity-io/sanity★ 6.4ksame name
- victorgarciaesgi/regle★ 508same name
- amazingloft999-droid/mattpocock-skills★ 422same name
- InditexTech/weavejs★ 266same name
- ayoubben18/ab-method★ 192same name
- yamcodes/arkenv★ 151same name
- alex-on-ai/WebReaper★ 149same name
- aurorasoft2/Matt_Pocock_Skills★ 133same name
- better-stack-ai/better-stack★ 79same name
- VisualxIntelligence/mattpocok-skills★ 55same name
110 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- grill-meSkill
- how-toSkill
- prompt-masterSkill
- skill-auditSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 116 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
When should it fire: what would the user actually type?
- Distinctive: line 38
When must it NOT fire: the near-miss cases?
- Distinctive: line 43
Ask only for what's genuinely missing, 3-5 questions at most.
- Very specific: line 69
Keep it under 1024 characters.
- Distinctive: line 141
Every rule either states its reason or is self-evident.
- Very specific: line 144
If a packaging script is available (e.g.
“Common” is measured: kept by at least 6 in 10 of the 116 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write a Skill
A skill is an onboarding guide for an agent: a folder with a SKILL.md that loads on demand and teaches Claude a repeatable behavior. This meta-skill converts "here's what I want" into that document, correctly structured, so the user doesn't need to know the format, the YAML rules, or the triggering mechanics.
The stakes are asymmetric. A skill gets invoked hundreds of times by someone who will never read its source, so an hour of care at authoring time is amortized across every future invocation, and a flaw (a description that never triggers, an instruction that overfits) is paid on every one.
Step 1: Extract the intent
From the user's description, and from the conversation itself if they said "turn THIS into a skill" (mine the thread for the workflow, the corrections they made, the output format they accepted), establish:
- What behavior should the skill produce?
- When should it fire: what would the user actually type?
- When must it NOT fire: the near-miss cases?
- What does a good output look like: is there a fixed format?
- Does anything need to be deterministic (a script) rather than generated fresh each time?
Ask only for what's genuinely missing, 3-5 questions at most. The questions about anti-triggers (#3) and output format (#4) are the ones users never volunteer and always have opinions about.
Step 2: Write the frontmatter
Name: lowercase, hyphens, max 64 chars, matching the folder name.
Verb phrases or clear nouns: fact-checker, grill-me, not
my-cool-skill-v2.
Description: this is the skill's entire interface for triggering. Claude sees only the name + description when deciding whether to load the skill, choosing among potentially 100+ of them. Build it from four parts, in this order:
- What it does, one sentence, concrete active verbs, third person.
- Trigger contexts, written pushy, because Claude under-triggers skills by default: "Use this skill whenever the user mentions X, Y, asks to Z, or [implicit situation], even if they don't explicitly say [keyword]."
- Proactive cases if any: "ALSO use when..." for situations where the user won't ask but the skill should apply.
- Exclusions: "Do NOT use for..." naming the tempting near-misses. Over-triggering is what makes users uninstall skills, so the exclusions earn their space.
Keep it under 1024 characters. Always write it as a YAML block scalar
(description: >-): a plain unquoted description containing a colon
followed by a space breaks YAML parsing, and this is the single most
common packaging failure.
Step 3: Write the body
Target under 500 lines; under 150 is typical for behavior skills. Use imperative voice. Structure:
# Skill Name
[Opening: 1 short paragraph on WHY this skill exists — what failure
it prevents. This paragraph does real work: it's the rubric Claude
uses for every edge case the rest of the file doesn't cover.]
## Core rule
[The one non-negotiable, if there is one, stated plainly.]
## Workflow
[Numbered steps in execution order. For each step that could be done
lazily or wrongly, attach the reason it matters.]
## Output format
[If output has a fixed shape, show the exact template in a fenced
block. "Use this exact structure" + template beats paragraphs of
format description.]
## Calibration / When NOT to apply
[Both failure directions: what under-use looks like, what over-use
looks like, and which is worse for this skill. A rough threshold.]
## Example
[At least one realistic worked example: plausible messy input, the
skill's actual output. Realistic means typos, buried details, and
context, not a sanitized textbook case.]Authoring principles that separate great skills from mediocre ones:
- Explain the why, not just the what. "Never paraphrase quotes, because misattribution is the most common quote failure" generalizes; "NEVER paraphrase quotes" doesn't. All-caps MUST/ALWAYS/NEVER strings are a yellow flag: usually a missing explanation.
- Only add what Claude doesn't know. Claude knows what an email is; it doesn't know the user's escalation policy. Every generic sentence costs context that specific sentences could use.
- Generalize past the examples. The skill will run on a million inputs; instructions overfitted to the one example in the file will fail on the other 999,999.
- Density over decoration. Once loaded, every token of the skill competes with the actual conversation.
Step 4: Bundle resources only when earned
scripts/: for deterministic or repetitive work; scripts execute without loading their code into context, only output costs tokens. Signal: the same helper logic would be regenerated on every run.references/: docs loaded only when needed. Split content out of SKILL.md when paths are mutually exclusive (per-framework guides), and tell SKILL.md exactly when to read each file.assets/: templates, fonts, boilerplate used in the output.
Most behavior skills need none of these. Don't create empty folders.
Step 5: Validate, package, deliver
Before packaging, check:
- Frontmatter parses (block scalar description; name matches folder).
- Description read alone answers "when would Claude pick this?"
- At least one exclusion case is named.
- Every rule either states its reason or is self-evident.
- The example is realistic, not sanitized.
If a packaging script is available (e.g. skill-creator's
package_skill), produce the installable .skill; note that output
must go to a writable directory, and installed skill locations are
often read-only, so copy elsewhere before editing an existing skill.
Deliver both the package and the readable SKILL.md, then offer, once,
to test with 2-3 realistic prompts.
Worked example
User input: "make a skill that stops me from sending angry emails"
Resulting frontmatter:
---
name: cooldown-check
description: >-
Intercept emotionally charged messages before they're sent by flagging
heat markers, predicting recipient reaction, and offering a rewrite
that keeps the substance while cutting the heat. Use this skill
whenever the user drafts or asks to send an email, Slack message, or
reply written in anger or frustration, mentions a conflict with the
recipient, uses hostile or sarcastic language in a draft, or asks "is
this too harsh". Do NOT use for deliberately firm messages the user
has consciously chosen (final warnings, formal complaints), or for
messages with no emotional charge.
---Note the moves: the vague wish became concrete behavior (flag, predict, offer rewrite), triggers include situations the user didn't name (sarcasm in a draft, "is this too harsh"), and the exclusion protects deliberate firmness, because a skill that softens a message the user MEANT to be firm would get uninstalled within a week.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

