Create a Skill

VerifiedSafe

Create a new skill following Anthropic's best practices. Use when creating or updating a skill or command.

Sby Skills Guide Bot
DevelopmentIntermediate
007/23/2026
Claude Code
#skill-creation#best-practices#claude-commands#meta

Recommended for

Our review

Creates or updates a skill (slash command) for Claude Code following best practices.

Strengths

  • Structured process with built-in checklist
  • References official best practices guide
  • Clear guidance on file placement
  • Handles size limits and dependencies

Limitations

  • Specific to Claude Code ecosystem
  • Requires prior knowledge of .claude files
  • Does not cover external tool creation
When to use it

When you need to create a new slash command skill or update an existing one in a Claude project.

When not to use it

For general configuration tasks or modifications unrelated to Claude skills.

Security analysis

Safe
Quality score80/100

The skill only instructs reading a documentation file and creating skill files within the project's .claude directory; no destructive actions, network calls, or exfiltration are involved.

No concerns found

Examples

Create a deploy skill
Create a new skill called deploy that runs deployment scripts with rollback capability.
Update existing test skill
Update my test skill in .claude/commands/test.md to include database setup and teardown steps.

name: create-skill description: > Create a new skill (slash command) following Anthropic's best practices. Use when the user wants to create a new skill, command, or update an existing one. Reads the best practices guide first to ensure quality. argument-hint: <skill-name> <description of what it should do>

Create a Skill

Before creating or modifying any skill, read the best practices guide:

Read .claude/references/skills-best-practices.md first.

Process

  1. Understand what the skill should do — ask for concrete usage examples if unclear
  2. Plan what resources it needs (scripts, references, assets)
  3. Check if similar functionality already exists in .claude/commands/
  4. Create the skill following these principles:
    • YAML frontmatter with name and comprehensive description (this is the trigger)
    • Body under 500 lines — split to references/ if approaching limit
    • Move large inline content (scripts, API docs, schemas) to .claude/references/
    • Use imperative form in instructions
    • Only include what Claude doesn't already know
  5. Verify the skill works by mentally walking through a usage scenario

Checklist

  • [ ] Frontmatter description includes "when to use" triggers
  • [ ] Body is concise — no redundant explanations
  • [ ] Large content moved to reference files with clear pointers
  • [ ] disable-model-invocation: true if the skill should only be user-triggered (deploy, commit, destructive actions)
  • [ ] No extraneous files (README, CHANGELOG, etc.)

Where to Place Skills

  • Project-specific: .claude/commands/<name>.md (legacy) or .claude/skills/<name>/SKILL.md
  • Personal: ~/.claude/skills/<name>/SKILL.md

For this project, use .claude/commands/<name>.md for consistency with existing commands.

Related skills