agentleFS
b33eepb33eep/claude-code-setup/skills/skill-creator/SKILL.md

skill-creator

Skill57 starsChanged 10 months agoMITView on GitHub

Guide users through creating, reviewing, and fixing custom skills for Claude — both command skills (invoked via /slash) and context skills (auto-loaded by tech stack). Use when the user asks to create a skill, build a skill, make a new slash command skill, add a coding standards skill, review an existing skill, update a skill, or fix a skill that doesn't trigger.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, skill-share 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.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 39 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    things-mac

    Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

    Also in 5 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 93 projects that use this

  • +1 more from seedprod

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 9

    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
  1. Distinctive:

    Use conversational interaction — ask one question at a time, wait for the answer before moving on.

    line 39
  2. Distinctive:

    If the user gives only one scenario, push for at least two more — paraphrased versions of the same task, or related edge cases.

    line 50
  3. Distinctive:

    If the trigger is explicit ("deploy X", "generate report", "scaffold Y") → command skill

    line 56
  4. Distinctive:

    If the skill should apply automatically when touching certain files, file extensions, or tech stacks → context skill

    line 57
  5. Distinctive:

    If ambiguous, present both options and let the user pick:

    line 59
  6. Distinctive:

    Write the description in this structure:

    line 90
  7. Distinctive:

    Before picking a pattern, decide which framing fits:

    line 98
  8. Very specific:

    Write SKILL.md using the pattern from Step 4.

    line 139
  9. Distinctive:

    If the user asked to provide instructions themselves, review their draft against these rules and suggest concrete edits.

    line 147
  10. Very specific:

    Do not inline content that belongs in references: When you find yourself writing a 200-line syntax catalog inside SKILL.md, stop — split to …

    line 192
  11. Distinctive:

    All skills created through this flow go to:

    line 224

“Common” is measured: kept by at least 6 in 10 of the 179 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Creator

Overview

A skill is a folder that teaches Claude how to handle a specific task or workflow. Skills are an open standard — the same skill folder works across Claude.ai, Claude Code, and the Messages API (via container.skills).

Two types (claude-code-setup harness convention):

  • Command skills — invoked explicitly via /skill-name (e.g. /deploy-staging)
  • Context skills — auto-loaded when the project's Tech Stack matches (e.g. standards-python loads for Python projects)

The type/applies_to/file_extensions fields are harness extensions specific to claude-code-setup. For pure Anthropic-spec skills (Claude.ai or API upload), see references/02-frontmatter.md → "Harness-specific fields".

This skill walks the user through an 8-step interactive flow for creating a new skill. It is also useful for reviewing an existing skill (see references/07-troubleshooting.md → "Escalation path") or fixing one that doesn't trigger properly.

By default, created skills save to ~/.claude/custom/skills/<name>/, survive claude-code-setup upgrades, and are discovered by the harness. For Claude.ai or API distribution, see references/09-distribution.md.

Critical rules (always)

  • SKILL.md — exact filename, case-sensitive. skill.md, SKILL.MD, etc. all fail.
  • Name — kebab-case only. No claude or anthropic prefix (both reserved).
  • Description — under 1024 chars, must include both what the skill does and when to use it. No XML angle brackets (< or >) — security restriction.
  • No README.md inside the skill folder. Repo-level READMEs (for GitHub visitors) are fine.
  • SKILL.md — keep under ~5000 words. Move depth into references/.
  • Composability. Claude loads many skills simultaneously. Your skill should work alongside others — do not assume it's the only capability available.

Full rules and frontmatter schema: references/02-frontmatter.md.

Creation Flow (8 steps, interactive)

Use conversational interaction — ask one question at a time, wait for the answer before moving on.

Step 1 — Concrete use cases

Ask:

Give me 2–3 specific, concrete scenarios where you want this skill to kick in. Format: "I say X" → "Claude does Y".

The quality of the skill is capped by the quality of the use cases. Vague cases ("help with projects") produce unusable skills. Specific cases ("onboard a new PayFlow customer: create account → setup payment → activate subscription") produce skills that trigger reliably and behave consistently.

If the user gives only one scenario, push for at least two more — paraphrased versions of the same task, or related edge cases.

Step 2 — Skill type

Map the use cases to a type:

  • If the trigger is explicit ("deploy X", "generate report", "scaffold Y") → command skill
  • If the skill should apply automatically when touching certain files, file extensions, or tech stacks → context skill

If ambiguous, present both options and let the user pick:

Command skill — invoked as /skill-name
   Example: /deploy-staging, /generate-report
   Pro: deterministic invocation
   Con: user must remember the command

Context skill — auto-loaded by tech stack or file extension
   Example: standards-python, api-conventions
   Pro: always applied, no user effort
   Con: consumes context tokens on every matching project

Minimal frontmatter for each type (harness-specific fields — see references/02-frontmatter.md):

# Command skill
type: command
# Context skill
type: context
applies_to: [python, fastapi]

Step 3 — Name + description

Propose a kebab-case name based on the use cases. The folder name, frontmatter name, and directory must all match.

Write the description in this structure:

[What it does] + [When to use it, with trigger phrases] + (optional) [Key capabilities]

Good and bad examples, plus the full test ("would Claude know to pick this skill when the user says X?"): references/03-writing-descriptions.md.

Step 4 — Frame the skill (problem-first vs. tool-first)

Before picking a pattern, decide which framing fits:

  • Problem-first — user describes an outcome ("set up a project workspace") and the skill orchestrates tools. Most command skills.
  • Tool-first — user has a tool (MCP server, library) and the skill teaches best practices for using it. Most context skills and MCP-wrapping skills.

This framing points directly at the right pattern.

Step 4b — Pick a pattern

Most skills fit one of 5 patterns. Identify which fits before writing instructions.

#PatternWhen
1Sequential workflow orchestrationMulti-step process, steps in a specific order
2Multi-MCP coordinationWorkflow spans multiple MCP servers
3Iterative refinementOutput quality improves through repeat passes
4Context-aware tool selectionSame outcome, different tools depending on context
5Domain-specific intelligenceSpecialized expertise beyond tool access

Full descriptions with ready-to-copy structures — plus the "Skills + MCP" story for skills that wrap an MCP server: references/05-patterns.md.

Step 5 — Decide the folder structure

Most skills need only SKILL.md. Add folders only when justified.

<skill-name>/
├── SKILL.md              required
├── references/           optional — detailed docs loaded on demand
├── assets/               optional — templates the skill produces
└── scripts/              optional — executable code (Python, Bash, etc.)
  • references/ — use when SKILL.md would otherwise exceed 5000 words
  • assets/ — use when the skill produces outputs from templates (letters, reports, decks)
  • scripts/ — use when a step needs determinism (code is reliable; language interpretation isn't). Common: validation, parsing, file manipulation.

See references/01-progressive-disclosure.md for the full three-level model.

Step 6 — Generate the content

Write SKILL.md using the pattern from Step 4. Apply the rules in references/04-writing-instructions.md:

  • Lead with the decision flow, not prose
  • Be specific and actionable — concrete commands/queries, not abstractions
  • Structure with headers and bullets, not paragraphs
  • Include error handling and worked examples
  • Move depth to references/ the moment SKILL.md threatens to bloat

If the user asked to provide instructions themselves, review their draft against these rules and suggest concrete edits.

Step 7 — Test

Three checks before calling the skill done:

  1. Triggering — does Claude load the skill when asked the expected questions? Paraphrase the question; also check that unrelated topics do NOT trigger.
  2. Functional — does the skill produce correct outputs for the use cases from Step 1?
  3. Performance — does the skill save tokens + tool calls vs. a no-skill baseline?

To measure a baseline, temporarily disable the skill. Simplest: rename the folder to <name>.disabled before running the same prompts, then rename back.

Full method and example test matrix: references/06-testing.md.

Step 8 — Save, activate, verify

  1. Write the files to ~/.claude/custom/skills/<name>/.
  2. Activate the skill in the harness so the loader picks it up:
    ./install.sh --refresh-custom
    or equivalently: run /claude-code-setup and pick "Upgrade custom".
  3. Run through references/08-checklist.md pre-upload.
  4. Show the user the invocation:
    • Command skill: /<name>
    • Context skill: "auto-loads when Tech Stack includes <applies-to value>"

For sharing outside claude-code-setup (Claude.ai upload, API via container.skills, GitHub distribution), see references/09-distribution.md.

Troubleshooting (quick reference)

Full diagnosis: references/07-troubleshooting.md.

SymptomFirst suspect
Skill never triggersDescription too vague — add trigger phrases ("Use when user says …")
Skill triggers on unrelated queriesDescription too broad — add negative triggers ("Do NOT use for …")
Instructions not followedSKILL.md too long or key points buried — tighten, add ## CRITICAL headers
"Could not find SKILL.md"Filename not exact SKILL.md (case-sensitive)
"Invalid frontmatter"Missing --- delimiters, unclosed quotes, or XML brackets in a field

Anti-patterns (do not do)

  • Do not accept vague use cases. "Help me with projects" produces a skill that never triggers reliably. Push for 2–3 specific scenarios.
  • Do not draft SKILL.md before the use cases are concrete. Instructions written against fuzzy inputs stay fuzzy.
  • Do not inline content that belongs in references. When you find yourself writing a 200-line syntax catalog inside SKILL.md, stop — split to references/NN-*.md.
  • Do not put deterministic logic in prose. Validation, math, parsing → write a script in scripts/.
  • Do not ship without testing triggering. A skill that won't load is worse than no skill — the user assumes their command failed.

Resources

Internal (bundled, read on demand):

  • references/01-progressive-disclosure.md — 3-level system; when to use references/assets/scripts
  • references/02-frontmatter.md — all YAML fields, security rules, reserved names
  • references/03-writing-descriptions.md — trigger phrases, what+when structure, good/bad examples
  • references/04-writing-instructions.md — specificity, structure, error handling, when to use scripts
  • references/05-patterns.md — the 5 common patterns with full example structures
  • references/06-testing.md — triggering / functional / performance testing methods
  • references/07-troubleshooting.md — upload errors, trigger diagnosis, MCP issues, large-context issues
  • references/08-checklist.md — pre-upload and post-upload checklists
  • references/09-distribution.md — sharing skills via Claude.ai, the Messages API, and GitHub

Asset templates (bundled, copy-then-modify):

  • assets/skill-template.md — minimal SKILL.md starter
  • assets/command-skill-example.md — worked example of a command skill (sequential workflow)
  • assets/context-skill-example.md — worked example of a context skill (coding standards)

Official:

Output location

All skills created through this flow go to:

~/.claude/custom/skills/<skill-name>/

This location is separate from the base installation (~/.claude/skills/) and survives claude-code-setup upgrades.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.