Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

create-skill

verified

Scaffold a new Claude Code skill directory. Use when user says /create-skill.

View on GitHub

Marketplace

dohernandez-claude-skills

dohernandez/claude-skills

Plugin

create-skill

Repository

dohernandez/claude-skills

plugins/create-skill/skills/create-skill/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/dohernandez/claude-skills/blob/main/plugins/create-skill/skills/create-skill/SKILL.md -a claude-code --skill create-skill

Installation paths:

Claude
.claude/skills/create-skill/
Powered by add-skill CLI

Instructions

# Create Skill

## Purpose

Scaffold a new `.claude/skills/{folder-name}/` skill directory that follows the multi-YAML pattern. Produces the canonical file set and wires the Stop hook to validate-skill.

## Quick Reference

- **Creates:** SKILL.md, skill.yaml, validations.yaml, sharp-edges.yaml, collaboration.yaml
- **Requires:** folder name, description, purpose
- **Stop hook:** `task -t .claude/Taskfile.skills.yaml validate-skill -- --skill {folder-name}`

## Skill File Structure

Each skill directory contains:

| File | Purpose |
|------|---------|
| `SKILL.md` | Human-readable documentation (thin wrapper) |
| `skill.yaml` | Machine-readable procedure, patterns, anti-patterns |
| `validations.yaml` | Automated checks for Stop hook |
| `sharp-edges.yaml` | Edge cases and gotchas |
| `collaboration.yaml` | Dependencies and triggers |

## Workflow

1. **Discover operations** - Run `task --list` to find available validation targets
2. **Gather inputs** - folder name, title, description, purpose
3. **Create folder** - `mkdir -p .claude/skills/{folder-name}/`
4. **Write files** - Create all 5 canonical files
5. **Validate** - Run `task -t .claude/Taskfile.skills.yaml validate-skill -- --skill {folder-name}`

## Rules

- [ ] Folder name must match SKILL.md frontmatter `name:`
- [ ] SKILL.md should be thin (pointer-level only)
- [ ] validations.yaml must only reference existing Task targets
- [ ] Stop hook must call `task -t .claude/Taskfile.skills.yaml validate-skill -- --skill {folder-name}`

## Automation

See `skill.yaml` for the full procedure and patterns.
See `sharp-edges.yaml` for common failure modes.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1619 chars