authoring-skills
Skill0 starsChanged 2 months agoMITView on GitHub
Use when authoring or editing an agent SKILL.md — its description/frontmatter or its instruction body — even when the user only says 'write a skill', 'this skill isn't triggering', or 'improve this skill'. Enforces the description-as-trigger discipline (third person, what + 'Use when…' + the literal keywords users type + a negative-scope seam against sibling skills, front-loaded), lean progressive-disclosure bodies (≤~500 lines, references ≤1 hop with load conditions), imperative one-idea-per-line steps, affirmative action wording (reserve 'never' for true invariants and pair it with the motivation), and validating triggers on the weakest target model. For prose style, the `technical-writing` skill helps if available; for tool scaffolding, the `creating-tools` skill helps if available.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- phatblat/skillstheir own version, first seen Nov 29, 2026
- roronoazoroshao369/vibe-coding-ostheir own version, first seen Nov 15, 2026
- PuntoyComaTech/hermes-agent-squadstheir own version, first seen Nov 1, 2026
- LucasDevKid9/collab-chartertheir own version, first seen Nov 1, 2026
- mohmaedeslam00116/waypowertheir own version, first seen Oct 15, 2026
- syntropic137/software-leverage-pointstheir own version, first seen Oct 14, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- vercel/next.js★ 144ksame name
- flutter/devtools★ 1.7ksame name
- andrueandersoncs/claude-skill-authoring-skill★ 11same name
- PuntoyComaTech/hermes-agent-squads★ 3same name
- LucasDevKid9/collab-charter★ 1same name
- phatblat/skills★ 1same name
- roronoazoroshao369/vibe-coding-os★ 1same name
- forsonny/DG-Anvil★ 0same name
- larsch/skills★ 0same name
- mohmaedeslam00116/waypower★ 0same name
1 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 repository21 other files it gives its agents.
- creating-toolsSkill
- system-diagramsSkill
- java-spring-standardsSkill
- sql-authoringSkill
- exploring-designs-with-agentsSkill
- ui-authoringSkill
- project-docsSkill
- technical-writingSkill
- coding-standardsSkill
- critical-thinkingSkill
- github-workflowsSkill
- reviewing-codeSkill
- security-practicesSkill
- software-testingSkill
- version-evolutionSkill
- angular-standardsSkill
- git-conventionsSkill
- resolving-merge-conflictsSkill
- releasing-android-appsSkill
- coordinating-agentsSkill
- masterSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Only name + description (~100 tokens) is preloaded to route among many skills.
- Distinctive: line 39
Put the task and load-bearing constraints at the start.
“Common” is measured: kept by at least 6 in 10 of the 10 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
Authoring skills
A skill loads in two stages: its description decides whether it fires; its body runs once it does. Write for both — and for the weakest model you will ship to (a strong model masks weak triggers and under-specified steps).
The description is a trigger, not documentation
Only name + description (~100 tokens) is preloaded to route among many skills.
- Third person, imperative — "Extracts…", "Enforces…". Never first/second person ("I can help…", "You can use…"); inconsistent point-of-view hurts discovery.
- What + when — state the capability, then a "Use when…" clause naming the contexts and the literal keywords the user types (verbs, file extensions, product terms), not generic paraphrases. Activation behaves closer to keyword-match than semantics: a term absent from the description tends not to fire.
- Front-load the primary use case in the first sentence — listings truncate the tail under budget pressure.
- Concrete, not vague — never "helps with X" / "handles Y"; name the artifact and the action.
- Draw the seam — add a negative-scope clause against adjacent skills ("…not for Vue" / "for the core rules, see the
coding-standardsskill if available"). This is the main lever against over-triggering and collisions. Negative scope belongs here, in the description — the opposite of the affirmative rule for action steps below. - One job — statable in ~10 words. If the description needs several "or" clauses to cover its cases, split the skill.
- Stay inside the standard's limits —
name≤ 64 characters and equal to the folder name;description≤ 1024 characters, because a tolerant client truncates the tail, where the pointers to sibling skills usually sit; a version goes inmetadata.version, not in a top-level field. - Write the description as a quoted string — unquoted text that contains
:is invalid YAML, and some hosts drop the skill without a message while a permissive test parser still passes. After installing, check that the host lists the skill.
Keep the body lean (progressive disclosure)
- Three levels: metadata (always loaded) → SKILL.md body (loaded on trigger; keep ≤~500 lines) → bundled files/scripts (read or executed only when needed). In a session the body stays for the whole conversation — every line is a recurring token cost.
- Add only what the model does not already know — project conventions, edge cases, specific tools. Challenge each line: "would the agent get this wrong without it?" Cut what fails.
- References ≤1 hop from SKILL.md, each with a load condition ("Read api-errors.md if the API returns non-200"). Never chain SKILL → a → b.
- The floor goes inline — what must hold even if nothing else is read (safety rules, the output language, the one mandatory step) lives in SKILL.md itself. Weaker models stop at the second hop, so a rule that lives only in a reference is a rule they never read. An explicit list of what to read beats a chain of prose pointers.
- Commands run as written — give the complete signature with every required flag, and mark placeholders so that nobody can copy them literally. Models paste what a skill teaches.
Write instructions the weakest model can follow
- Imperative commands, never inferences. Brief the model like a brilliant but context-free new hire: define terms, give ranges/defaults, state constraints it would otherwise guess.
- One idea per line — numbered/bulleted atomic steps when order or completeness matters; explicit branches ("If X do this; otherwise skip to step 5"). Never bury several requirements in one paragraph.
- One term per concept — always "API endpoint", never URL/route/path interchangeably. Drop near-synonym conditions ("if missing" beside "if incomplete").
- Affirmative action steps — name the desired behavior ("Respond in prose") over prohibitions ("Do not use markdown"); models handle negation unreliably. Reserve "never" for genuine invariants and pair each with its motivation ("read aloud by TTS, so never use ellipses").
- Match freedom to fragility — heuristics + why for open tasks (code review); exact, ordered, "do not modify" steps for fragile ones (DB migrations). Strong imperatives only for real invariants.
- Pin the output — exact format + at least one worked example in that format; three concrete examples beat twenty rules.
- Put the task and load-bearing constraints at the start; in long bodies repeat the critical invariants near the end — attention sags in the middle.
Validate triggering before shipping
- Build ~18–20 labeled queries dominated by near-miss negatives (they share keywords but need a different skill); run each a few times for a trigger rate.
- Tune on the weakest model you will serve.
- Diagnose by direction: should-fire misses → description too narrow (broaden); should-not-fire hits → too broad (add specificity + negative scope, or gate to manual invocation).
- Gate irreversible/side-effecting skills (deploy, send) to explicit invocation — never rely on auto-trigger for what you can't undo.
Gotchas
- Dial back shouty caps — "CRITICAL: You MUST ALWAYS…" makes current models over-trigger; prefer "Use when…". Emphasis is not clarity.
- A skill is episodic — it fires once, its text dilutes as the conversation grows, and subagents start without it. A rule that must hold on every turn, or inside subagents, needs the host's enforcement layer: a hook that blocks or asks, or a line in the repository's instruction file. A better description only helps the first trigger.
- One
SKILL.mdper skill folder — hosts that scan recursively index a nestedSKILL.mdas another skill, and others cannot invoke it at all. Keep internal doctrine in plain reference files, and keep staging or backup copies out of the folder the host scans: a leading dot does not hide them. - Multi-host caveat — this guidance is measured mostly on Claude. On other hosts (Codex, Gemini, OpenCode, Crush) the keyword-matching, truncation points and caps-sensitivity may differ; when a host matters, verify triggering there rather than assuming it transfers.
For prose style, the technical-writing skill helps if available; for scaffolding a developer tool (not a skill), the creating-tools skill helps if available.
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.

