Create Claude Code Skill

VerifiedSafe

Creates a new Claude Code skill with proper directory structure and SKILL.md. Use when you want to scaffold a portable, reusable skill for personal or project use. Validates inputs, avoids overwriting existing skills, and generates optional script/reference/asset directories as needed.

Sby Skills Guide Bot
DevelopmentIntermediate
906/2/2026
Claude Code
#skill-creation#scaffolding#claude-code#workflow

Recommended for

Our review

Creates a new Claude Code skill with a standardized structure, validating inputs and generating the necessary folders and files.

Strengths

  • Automates the creation of the complete skill structure
  • Validates inputs to prevent errors
  • Supports personal and project flags for location
  • Includes decisions on bundled resources (scripts, references, assets)

Limitations

  • Does not analyze the current project
  • Limited to 64-character names and 1024-character descriptions
  • Does not handle updating existing skills
When to use it

Use this skill when you want to initialize a reusable Claude Code skill, whether for personal use or within a project.

When not to use it

Do not use this skill for modifying an existing skill or for creating an automation in the current repository.

Security analysis

Safe
Quality score90/100

The skill scaffolds a new Claude Code skill directory and file. It uses Read, Write, Bash, and Glob tools, but only to create directories and files with validated inputs. No destructive commands, network calls, or exfiltration instructions are present.

No concerns found

Examples

Create commit helper skill
/create-skill commit-helper "Generate git commit messages. Use when writing commits."
Create PDF processor skill (project)
/create-skill pdf-processor "Extract text from PDFs. Use for document extraction." --project

description: Create a new Claude Code skill with proper structure. Use when user wants to scaffold, initialize, or create a new skill. argument-hint: "[skill-name] [description] [--personal|--project]" allowed-tools: Read, Write, Bash, Glob

Create a reusable Claude Code skill — a portable capability that will be used in other projects, not the current repo. Do NOT analyze the current repo for how to use the skill's subject matter.

Inputs: $ARGUMENTS parsed as: SKILL_NAME (kebab-case, max 64 chars), DESCRIPTION (quoted string, max 1024 chars) Flags: --personal (default: ~/.claude/skills/) or --project (.claude/skills/) Output: STATUS=<CREATED|EXISTS|FAIL> PATH=<path>

Instructions

  1. Validate:

    • Name: lowercase letters/numbers/hyphens only, max 64 chars
    • Description: non-empty, max 1024 chars, no angle brackets
  2. Check existence: If skill exists, output STATUS=EXISTS PATH=<path> and stop.

  3. Analyze and decide bundled resources. State your reasoning, then create only what's needed:

    • scripts/ — when skill involves file manipulation, data processing, or repeated code
    • references/ — when skill needs docs/schemas that would make SKILL.md exceed 500 lines
    • assets/ — when skill uses templates, boilerplate, or brand files
  4. Create structure:

    {{SKILL_NAME}}/
    ├── SKILL.md (required)
    ├── scripts/example.py (executable, if needed)
    ├── references/.gitkeep (if needed)
    └── assets/.gitkeep (if needed)
    
  5. Generate SKILL.md:

    ---
    name: {{SKILL_NAME}}
    description: {{DESCRIPTION}}
    ---
    
    # {{Title Case Name}}
    
    ## Overview
    [TODO: What this skill does]
    
    ## When to Use
    [TODO: Triggers and scenarios]
    
    ## Instructions
    [TODO: Step-by-step guidance]
    
    ## Examples
    [TODO: Realistic user requests and responses]
    
  6. Output: Print STATUS=CREATED PATH={{path}} and list what was created.

Skill Frontmatter

Required: name, description Optional: allowed-tools, metadata, license

Examples

/create-skill commit-helper "Generate git commit messages. Use when writing commits."
/create-skill pdf-processor "Extract text from PDFs. Use for document extraction." --project
Related skills