agentleFS
Cor-IncorporatedCor-Incorporated/claude-code-skills/skills/skill-creator/SKILL.md

skill-creator

Skill5 starsChanged 2 months agoMITView on GitHub

Interactive guide for creating, reviewing, and optimizing Claude skills. Walks users through use case definition, frontmatter generation, instruction writing, validation, and packaging. Use when user says "create a skill", "build a skill", "make a new skill", "design a skill", "optimize my skill", "review this skill", or "improve this skill". Do NOT use for general coding tasks, writing documentation, or non-skill file creation.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator 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.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 12

    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:

    Create effective skills through a structured 6-step process.

    line 9
  2. Distinctive:

    Context window is shared: - Only include what Claude doesn't already know.

    line 13
  3. Distinctive:

    No README.md, CHANGELOG.md, or auxiliary documentation inside the skill folder.

    line 28
  4. Distinctive:

    Ask the user for 2-3 concrete examples:

    line 34
  5. Distinctive:

    Ask the user or determine from context where the skill should live:

    line 51
  6. Distinctive:

    Run the initialization script to scaffold:

    line 68
  7. Very specific:

    Only name and description are required

    line 90
  8. Distinctive:

    Create scripts, references, assets identified in Step 2

    line 97
  9. Distinctive:

    Test scripts by actually running them

    line 98
  10. Distinctive:

    Delete example files not needed (init creates placeholders)

    line 99
  11. Very specific:

    Critical info first: Use ## Critical or ## Important headers at the top

    line 109
  12. Distinctive:

    Examples: Add input/output pairs for complex operations

    line 112
  13. Distinctive:

    Test with real tasks. Watch for signals:

    line 132
  14. Distinctive:

    Do not skip validation steps

    line 146

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

Create effective skills through a structured 6-step process.

Core Principles

  1. Context window is shared - Only include what Claude doesn't already know. Challenge each paragraph: "Does this justify its token cost?"
  2. Progressive disclosure - Metadata (~100 words, always loaded) -> SKILL.md body (<5k words, on trigger) -> references/ (as needed, unlimited)
  3. Match freedom to fragility - Narrow bridge = specific guardrails (scripts), open field = flexible guidance (text)
  4. Concise examples over verbose explanations - Show, don't tell

Skill Structure

skill-name/
├── SKILL.md          # Required - YAML frontmatter + Markdown instructions
├── scripts/          # Optional - Executable code (deterministic, token-efficient)
├── references/       # Optional - Docs loaded into context as needed
└── assets/           # Optional - Templates, fonts, icons used in output

No README.md, CHANGELOG.md, or auxiliary documentation inside the skill folder.

Creation Process

Step 1: Understand Use Cases

Ask the user for 2-3 concrete examples:

  • "What would a user say to trigger this skill?"
  • "What multi-step workflows does this require?"
  • "Which tools are needed (built-in or MCP)?"
  • "What domain knowledge or best practices should be embedded?"

Skip only when usage patterns are already clear.

Step 2: Plan Reusable Contents

For each example, identify reusable resources:

  • scripts/: Code rewritten repeatedly (e.g., rotate_pdf.py, validate_fields.py)
  • references/: Documentation needed during execution (e.g., schema.md, api-docs.md)
  • assets/: Files used in output (e.g., template.pptx, boilerplate/)

Step 2b: Determine Scope (Global vs Project-Local)

Ask the user or determine from context where the skill should live:

ScopeCriteriaInstall PathExample
GlobalTech-stack agnostic, useful across all projects~/.claude/skills/code-reviewer, tdd-workflow, git-commit-helper
Project-localDepends on specific project config, services, or architecture.claude/skills/ (repo root)supabase-nextjs-debugger, gcp-deploy-guardian
OrganizationTeam-wide workflow/policy enforcementDeployed via admin (Claude.ai) or shared reporeview-loop, CI policy skills

Decision questions:

  • "Does this skill reference project-specific services (Supabase, Cloud Run, specific APIs)?" → Project-local
  • "Would this skill work identically in any TypeScript/Python/Go repo?" → Global
  • "Is this a team policy that should apply to all members?" → Organization

Why this matters: Global skills count toward the per-session limit (recommended 20-50). Over-installing globally leads to context window pressure and description conflicts. When in doubt, start project-local and promote to global only after confirmed reuse.

Step 3: Initialize

Run the initialization script to scaffold:

python scripts/init_skill.py <skill-name> --path <output-directory>

Skip if updating an existing skill.

Step 4: Edit

4a. Write Frontmatter

The description is the primary trigger mechanism. Follow this structure:

[What it does] + [When to use it] + [Key capabilities]

CRITICAL rules:

  • Include specific trigger phrases users would say
  • Include negative triggers ("Do NOT use for...")
  • Under 1024 characters, no XML angle brackets
  • Only name and description are required
  • Optional fields: license, allowed-tools, metadata, compatibility

See references/description-guide.md for good/bad examples and the full checklist.

4b. Implement Resources

  1. Create scripts, references, assets identified in Step 2
  2. Test scripts by actually running them
  3. Delete example files not needed (init creates placeholders)

For scripts: ensure deterministic reliability, test with real inputs. For references: if >10k words, include grep search patterns in SKILL.md. For assets: verify file paths and formats work as expected.

4c. Write Instructions

  • Imperative form: "Run X", "Check Y" (not "You should run X")
  • Specific and actionable: Run python scripts/validate.py --input {filename} not "Validate the data"
  • Critical info first: Use ## Critical or ## Important headers at the top
  • Under 500 lines: Move details to references/
  • Error handling: Include what to do when things fail
  • Examples: Add input/output pairs for complex operations
  • No duplication: Information lives in SKILL.md OR references, not both
  • Conditional attention: Wrap task-specific sections in <important if="condition"> tags so Claude focuses on them only when relevant. Use specific conditions (e.g., if="you are deploying to production"), not broad ones. Leave universal rules unconditional. See references/attention-tags.md for details and examples.

Pattern guides for reference:

  • Multi-step processes: See references/workflows.md
  • Output formats: See references/output-patterns.md

Step 5: Validate and Package

python scripts/package_skill.py <path/to/skill-folder> [output-dir]

Validates automatically, then creates a .skill file. Fix errors and re-run if validation fails.

The validator checks: frontmatter format, naming conventions, description quality, body length, file structure, and common mistakes.

Step 6: Iterate

Test with real tasks. Watch for signals:

  • Undertriggering (doesn't load when it should) -> Add more trigger phrases to description
  • Overtriggering (loads for irrelevant queries) -> Add negative triggers, narrow scope
  • Instructions not followed -> Move critical info to top, use bullet points, be more specific
  • Inconsistent results -> Add examples, improve error handling

See references/testing-guide.md for the full testing approach. See references/troubleshooting.md for common issues and fixes.

Performance Notes

  • Take your time to do this thoroughly
  • Quality is more important than speed
  • Do not skip validation steps

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.

Reviews can't be read right now.

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.