create-skill
Skill13 starsChanged 2 months agoMITView on GitHub
Scaffolds, reviews, upgrades, or diagnoses agent skills against best-practice frontmatter, progressive disclosure, token-aware structure, and the agent-skills.git symlink + inventory wiring. Modes: `scaffold` (default — new skill), `review` (audit existing skill), `upgrade` (split a single-file skill into multi-file), `diagnose` (retrospective failure analysis that emits a confidence-gated unified diff against any skill declaring a diagnostic surface). Triggers on "create a skill", "scaffold a skill", "new SKILL.md", "review this skill", "audit my skill", "upgrade this skill", "split this skill", "diagnose this skill", "why did the skill miss this", "/create-skill".
100 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- pahlevikun/levistacktheir own version, first seen Oct 4, 2026
- neomjs/neo-agent-skillstheir own version, first seen Oct 3, 2026
- fxmartin/claude-code-configtheir own version, first seen Oct 2, 2026
- dotnet/skillstheir own version, first seen Oct 2, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
Used with
Projects with it also use create-rule, trigger-dev and 10 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.
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 9 projects that use this
xfstudioSkilltrigger-dev
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.
Also in 4 projects that use this
daianepepes-labSkillcost-reducer
Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.
Also in 4 projects that use this
daianepepes-labSkillknow-me
Build and maintain persistent memory about the user — preferences, context, decisions, and working style. Use when asked to remember something, recall past context, or update user profile.
Also in 5 projects that use this
vikneshwaran16032005-altSkillbuild-premium-website
Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.
Also in 3 projects that use this
vikneshwaran16032005-altSkillinstantly-campaign
Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.
Also in 3 projects that use this
- +1 more from daianepepes-lab
Other versions100 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 100
- microsoft/vscode★ 196ksame name
- CherryHQ/cherry-studio★ 52ksame name
- dotnet/skills★ 5.6ksame name
- xstongxue/best-skills★ 2.9ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- moazbuilds/claudeclaw★ 1.3ksame name
- SethGammon/Citadel★ 922same name
- aeonfun/aeon★ 766same name
- Affitor/affiliate-skills★ 692same name
- truffle-ai/dexto★ 650same name
90 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 repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skills/workflow/autonomous-workflow/CLAUDE.mdCLAUDE.md
- holistic-analysisSkill
- ideateSkill
- interviewSkill
- playwright-trace-analyzerSkill
- profile-optimizerSkill
- rum-trackingSkill
- screen-recorderSkill
- video-analyserSkill
- docsSkill
- handoffSkill
- optimize-claude-mdSkill
- persistent-memorySkill
- changelogSkill
- ci-auto-fixSkill
- create-prSkill
- github-actions-authorSkill
- resolve-conflictsSkill
- animations-nativeSkill
- animationsSkill
- behavioral-designSkill
- chartingSkill
- storybookSkill
- uxSkill
- visual-designSkill
- ai-engineeringSkill
- code-qualitySkill
- confidenceSkill
- criticalSkill
- dxSkill
- eval-iterateSkill
- jev-assertSkill
- measurableSkill
- observe-runSkill
- optimize-approachSkill
- polishSkill
- pr-reviewSkill
- review-branchSkill
- review-loopSkill
- severitySkill
- tddSkill
- test-provenance-guardSkill
- verify-behaviorSkill
- e2e-pr-stabilizerSkill
- e2e-testing-mobileSkill
- e2e-testingSkill
- ui-verifySkill
- autonomous-workflowSkill
- aw-create-planSkill
- aw-create-walkthroughSkill
- fix-bugSkill
- implement-suggestionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 4 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 61
If the user typed a path or skill name as $ARGUMENTS, treat it as the target for review/upgrade/diagnose.
- Distinctive: line 90
Ask the user — in one message, batched, so they answer once:
- Distinctive: line 165
Write each planned file. For each one:
- Distinctive: line 186
After each file, verify:
- Distinctive: line 191
No backslash-style paths. No time-sensitive claims ("after August 2025").
- Very specific: line 195
If the user runs the local-dev symlink chain (the default for this repo), follow rules/repository-conventions.md to:
- Very specific: line 198
Place the skill at skills/<category>/<name>/ (categories: workflow, quality, delivery, testing, design, analysis, authoring).
- Very specific: line 200
Run bash scripts/sync-symlinks.sh from the repo root to wire the two-tier chain (~/.claude/skills/<name> → ~/.agents/skills/<name> → …
- Very specific: line 204
Verify both hops with readlink.
- Very specific: line 210
If the user is publishing the skill via npx skills add only, skip steps 2–3 but still update the inventories.
- Very specific: line 230
Follow rules/evaluation.md: write and run at least 3 realistic test prompts, observe at least one with-skill run, and check the repo eval …
- Very specific: line 243
Run node ${CLAUDE_SKILL_DIR}/scripts/validate-skill.mjs <dir> [--portable].
- Very specific: line 244
Read the target SKILL.md. If it has rules/, references/, templates/, list each file with line count.
- Very specific: line 251
Do not mutate the skill in review mode.
- Very specific: line 257
Read the target SKILL.md.
- Very specific: line 294
If the target has not declared a surface, Diagnose Mode falls back to inferring phases from the target body's H2 sections (SKILL.md for …
- Very specific: line 306
When a target declares a ## Lessons scope, Diagnose Mode reads it as evidence (Step 2).
“Common” is measured: kept by at least 6 in 10 of the 93 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
Create Skill
Author new agent skills — and audit existing ones — against the best practices distilled from Anthropic's official Skill authoring guide and the patterns already in this repo. Output is a complete skill directory plus the agent-skills.git symlink wiring and inventory updates.
This
SKILL.mdis a thin index. Detailed authoring rules live inrules/*.md, worked examples inreferences/*.md, literal scaffolding templates intemplates/*.md— all load on demand. Reading them all up-front would burn tokens you do not need yet.
Mode Detection
Parse $ARGUMENTS (first token) and detect the mode:
| Mode | Default | Trigger |
scaffold | yes | Default. "create", "scaffold", "new skill", or no mode argument. |
review | "review", "audit", "check this skill", or $0 == "review". | |
upgrade | "upgrade", "split", "convert to multi-file", or $0 == "upgrade". | |
diagnose | "diagnose", "why did <skill> miss this", or $0 == "diagnose". |
If the user typed a path or skill name as $ARGUMENTS, treat it as the
target for review/upgrade/diagnose; for scaffold it is the proposed
skill name.
State the detected mode and target in one line before continuing. Example:
Mode: scaffold
Target: skills/<category>/<proposed-name>/Scaffold Workflow (default)
A seven-phase pipeline. Each phase has a gate; do not proceed until it passes.
| Phase | Name | Gate |
| 0 | Requirements | User confirmed name, description, modes, structure choice, target runtime |
| 1 | Structure decision | Single-file vs multi-file decided with reasoning |
| 2 | Frontmatter draft | Name + description + flags pass validation |
| 3 | File generation | All planned files written, none over budget |
| 4 | Wiring & inventories | Symlinks created (if local-dev), CLAUDE.md + README.md updated |
| 5 | Self-check | Mechanical pre-pass (scripts/validate-skill.mjs) is PASS, and every judgment item in rules/quality-checklist.md passes |
| 6 | Evaluation | ≥ 3 eval prompts written and at least one with-skill run observed, or the user explicitly waived it |
Phase 0 — Requirements (interview)
Ask the user — in one message, batched, so they answer once:
- Working name (kebab-case, ≤ 64 chars). What should the directory and
name:field be? - One-line purpose — what does this skill do? Phrased as a third-person action ("Reviews X for Y", not "Helps you with X").
- Trigger phrases — what would the user (or another agent) type to reach for this skill? Collect 3–8 phrases.
- Invocation control — slash-only (
disable-model-invocation: true), model-invokable (default), or hidden background (user-invocable: false)? Seerules/invocation-control.md. - Modes — does the skill have one mode or several? If several, list them with a one-line description each.
- Inputs — does the skill take
$ARGUMENTS? Positional ($0,$1)? None? - Tools — should
allowed-toolspre-approve any specific tools (e.g.Bash(git *))? Default: leave unset. - Scope — is this an advisory skill (read-only), an applied skill (writes code), an orchestrator (calls other skills), a slash command, or a workflow companion?
- Target runtime —
claude-code(default, full frontmatter) orportable(Skills API / claude.ai upload, six spec fields only)? Seerules/frontmatter.md§ Portability profile. - Verification — does the output have objectively checkable results
(right shape or not, exit 0 or not)? If yes, plan
evals/now rather than after the fact — seerules/evaluation.md.
Confirm the answers back to the user verbatim before moving on. Do not guess any of these.
Phase 1 — Structure decision
Decide: single-file or multi-file? Apply this decision flow before
generating anything — see rules/structure-decision.md for the full rubric.
Quick decision table:
| Signal | Pick |
| Body fits comfortably under 200 lines | Single-file |
| Body would exceed 500 lines (the hard cap) | Multi-file |
| 3+ orthogonal concerns (e.g. naming + architecture + tests) | Multi-file (one rule per concern) |
| Worked examples > 100 lines | Move to references/ |
| Reusable boilerplate the skill emits literally | Move to templates/ |
| One mode and one concern | Single-file |
Output the chosen layout as a tree before writing files.
In this repo the directory is nested one level under a category (workflow/, quality/, delivery/, testing/, design/, analysis/, or authoring/ — see rules/repository-conventions.md):
skills/<category>/<name>/
├── SKILL.md
├── rules/...
├── references/...
└── templates/...Phase 2 — Frontmatter draft
Draft the YAML frontmatter using rules/frontmatter.md and
rules/description-writing.md. Validate before writing:
nameis kebab-case, ≤ 64 chars, no reserved words (anthropic,claude).descriptionis third-person, ≤ 1024 chars, includes both what and when (trigger phrases), front-loaded with the most important keywords.disable-model-invocation: trueis set if the user picked slash-only.argument-hintis set (unless the skill isuser-invocable: false), derived from the Modes (Q5) and Inputs (Q6) answers from Phase 0. Mirror the actual modes / flags; use[…]for optional,<…>for placeholders,|for alternatives. If the skill takes no arguments, emitargument-hint: ''explicitly rather than omitting the field.metadata.tagsare populated (5–10 specific terms).
Phase 3 — File generation
Write each planned file. For each one:
SKILL.md— start fromtemplates/SKILL.minimal.md(single-file),templates/SKILL.multi-file.md(index pattern), ortemplates/SKILL.portable.md(target runtime isportable). Keep body ≤ 500 lines.rules/<concern>.md— start fromtemplates/rule.md, one file per concern, loadable in isolation. TOC past 150 lines. Degrees-of-freedom and checklist shapes:rules/workflow-patterns.md.references/<topic>.md— start fromtemplates/reference.md. TOC past 100 lines (Claude partial-reads long files; the TOC is the safety net).templates/<artefact>.md— literal text the skill emits. No prose meta-commentary inside templates.scripts/<name>.mjs— only for a deterministic check or transform of the skill's own. Zero dependencies,${CLAUDE_SKILL_DIR}-anchored, a--self-testmode. Seerules/scripts-and-assets.md.evals/evals.json,evals/triggers.jsonl— this skill's own test prompts and trigger set, fromtemplates/evals.jsonandtemplates/triggers.jsonl. Seerules/evaluation.md.
After each file, verify:
- Code fences declare a language identifier.
- Sentences end with full stops.
- One sentence per line (semantic line breaks) — repo prose rule.
- No backslash-style paths. No time-sensitive claims ("after August 2025").
Phase 4 — Wiring & inventories
If the user runs the local-dev symlink chain (the default for this repo),
follow rules/repository-conventions.md to:
- Place the skill at
skills/<category>/<name>/(categories:workflow,quality,delivery,testing,design,analysis,authoring). - Run
bash scripts/sync-symlinks.shfrom the repo root to wire the two-tier chain (~/.claude/skills/<name>→~/.agents/skills/<name>→<repo>/skills/<category>/<name>) — neverln -sby hand, and never invoke the script withsh. - Verify both hops with
readlink. - Append an entry to the inventory in
CLAUDE.md(under the matching### \<category>/`` subsection, with the correct type marker). - Append a row to the table in
README.mdand add the skill to the "Repository Structure" tree at the bottom of the README.
If the user is publishing the skill via npx skills add only, skip steps
2–3 but still update the inventories.
Phase 5 — Self-check
Run node ${CLAUDE_SKILL_DIR}/scripts/validate-skill.mjs <dir> [--portable]
first, then work through the remaining (judgment) items in
rules/quality-checklist.md. Treat any unchecked item as a defect — fix it
before declaring the skill done. Report the validator's own Self-check: line
verbatim — it prints its own pass/total, so never restate that count from
memory or invent one — then confirm the remaining (judgment) items passed.
On failure:
FAIL FM05 SKILL.md:3 — description must be non-empty and <= 1024 chars, got 1180
Self-check: FAIL — 1 failingPhase 6 — Evaluation
Follow rules/evaluation.md: write and run at least 3 realistic test
prompts, observe at least one with-skill run, and check the repo eval
obligation table. Report Evaluation: PASS — 3 prompts run, with-skill
navigation observed, or state explicitly that the user waived this phase.
Review Workflow
For review mode, do not write any files. Read the target skill (the path
or skill name from $ARGUMENTS) and run the mechanical pre-pass, then work
through the judgment items:
- Run
node ${CLAUDE_SKILL_DIR}/scripts/validate-skill.mjs <dir> [--portable]; record everyFAIL/WARNas evidence, then loadrules/quality-checklist.mdfor the remaining(judgment)items. - Read the target
SKILL.md. If it hasrules/,references/,templates/, list each file with line count. - For every judgment checklist item, mark PASS / WARN / FAIL with one line of evidence (file path + line number where applicable).
- End with a prioritised "Top 3 fixes" list — biggest token / clarity wins first.
Do not mutate the skill in review mode.
Upgrade Workflow
For upgrade mode, take a single-file skill and split it into multi-file:
- Read the target
SKILL.md. - Identify orthogonal concerns (each H2 section is a candidate).
- Propose a layout tree (
rules/,references/,templates/) and show it to the user for approval before writing. - Move each concern into its own rule file. Replace the section in
SKILL.mdwith a one-line pointer + link to the new file. - Re-run the Phase 5 self-check.
Diagnose Workflow
For diagnose mode, do not scaffold or review.
Analyse a session in which another skill executed and produced an
unsatisfactory result, identify which of that skill's gates should have
caught it, and emit a confidence-gated unified diff that hardens the target
skill against the same failure class.
The full procedure (seven steps, including the mandatory
confidence(analysis) ≥ 90 % gate before --apply), the report format,
and the hard rules live in rules/diagnose-mode.md.
Invocation:
/create-skill diagnose <target-skill-name> [--symptom "..."] [--scope <phase|companion>] [--apply] [--pr] [--no-write]The target declares its own diagnostic surface in
skills/<target>/rules/diagnostic-surface.md (skills) or
agents/<target>/rules/diagnostic-surface.md (agents) — phase model,
failure taxonomy, existing-guards table, source root, hard invariants.
Step 1 of Diagnose Mode disambiguates by checking both locations.
The contract spec is in rules/diagnostic-surface.md;
the scaffolding template a target drops into its own rules/ is
templates/diagnostic-surface.template.md.
If the target has not declared a surface, Diagnose Mode falls back to
inferring phases from the target body's H2 sections (SKILL.md for skills,
agents/<name>.md for agents) and warns the user once that fidelity is reduced.
Diagnose Mode never modifies user product code. It only proposes changes to the target's own source.
Self-improving skills. An orchestrator skill can close the loop further with
a two-tier self-improvement loop: a fast episodic-lessons tier
(LoreKit memory.* tools) feeding the slow diagnose tier via a recurrence gate.
The reusable recipe — including when NOT to add one — is in
rules/self-improvement-loop-pattern.md.
When a target declares a ## Lessons scope, Diagnose Mode reads it as evidence
(Step 2).
Required Reading by Phase
Load these on demand — do not preload them all.
| Phase | Files |
| 0 | rules/description-writing.md, rules/invocation-control.md |
| 1 | rules/structure-decision.md, rules/progressive-disclosure.md |
| 2 | rules/frontmatter.md, rules/description-writing.md, rules/arguments-and-injection.md |
| 3 | rules/token-economics.md, rules/anti-patterns.md, rules/arguments-and-injection.md, rules/scripts-and-assets.md, rules/workflow-patterns.md, plus templates in templates/ |
| 4 | rules/repository-conventions.md |
| 5 | rules/quality-checklist.md |
| 6 | rules/evaluation.md |
| diagnose | rules/diagnose-mode.md, rules/diagnostic-surface.md, plus the target's rules/diagnostic-surface.md |
| loop | rules/self-improvement-loop-pattern.md (adding a self-improvement loop to an orchestrator skill) |
| lens | rules/review-lens-contract.md + templates/lens.md (making an existing skill lens-eligible for pr-reviewer) |
references/skill-archetypes.md and references/good-vs-bad-examples.md
are optional — load only when the user asks for a worked shape or pair.
Core Principles
- Concise is key. The context window is a public good. Every line in
SKILL.mdis a recurring token cost once loaded — write nothing Claude already knows. Seerules/token-economics.md. - Progressive disclosure beats one big file. Three tiers: metadata
(always loaded),
SKILL.md(loaded on trigger), supporting files (loaded on demand). Keep references one level deep. - Description is the discovery surface. Third person, what + when, front-loaded with trigger keywords. The first 1024 chars decide whether Claude even loads the rest.
- Match degrees of freedom to the task. Prescriptive scripts for
fragile sequences; high-freedom prose for judgment calls. See
rules/structure-decision.md. - One skill, one job. Resist the mega-skill. Split into companions and
compose with
Skill()calls. - Eval-first, not test-as-afterthought. Identify the gap without the
skill, write ≥ 3 realistic test prompts, run a baseline, then the
minimal skill that closes the gap — iterate from there rather than
front-loading content. See
rules/evaluation.md.
Anti-patterns (one-liner — full list in rules/anti-patterns.md)
- Vague descriptions ("Helps with documents").
- First-person voice in
description("I can help you …"). - Time-sensitive claims ("after August 2025 …").
- Deeply nested references (
SKILL.md→a.md→b.md→c.md). - Mega-skills doing five jobs.
- Backslash paths.
- Reserved words (
anthropic,claude) in thename. - All-caps MUST/NEVER as the only lever, instead of explaining the why.
- Claude-Code-only fields (
disable-model-invocation,context, …) in a skill targeting the portable six-field profile.
Definition of Done
A scaffold run is done when:
- All planned files written and within their line caps.
nameanddescriptionvalidate against the rules inrules/frontmatter.md.- Symlinks resolve (local-dev) or
npx skillsinstall path documented. - Inventory rows in
CLAUDE.mdandREADME.mdadded. node ${CLAUDE_SKILL_DIR}/scripts/validate-skill.mjs <dir>reportsPASS.- Phase 5 self-check (mechanical + judgment) is
PASS. - Phase 6 evaluation has ≥ 3 eval prompts written (or the user explicitly waived evaluation).
- Target runtime (
claude-codeorportable) is recorded. - One sentence summary delivered to the user with the install command they can run to start using the skill.
A diagnose run is done when:
- Target skill name resolved and source root verified writable.
- Diagnostic surface loaded (or fallback warning printed).
- Failure classified against the target's taxonomy (or
F-novelplus a proposed new row). - Phase-attribution table walks every phase in the target's surface.
- Exactly one improvement proposal constructed (one diff per report).
confidence(analysis)score recorded;--applyhonored only at ≥ 90 % (final score, after Step 6.5's two-iteration refinement loop if the initial score was below the gate).- Report written to
.agent/{branch}/diagnose-{target}.md(or stdout with--no-write). - If
--applyran, user explicitly confirmed beforegit apply.
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.

