create-skill
/create-skill
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
- Author
- genlayerlabs ↗
- Repository
- skills ↗
- Licence
- MIT
- Last repository change
- 21.10.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 21.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
Original author description
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
How it works
- Purpose
- Quick Reference
- Post-Creation Verification
- Automation
- PostToolUse Hook (Automatic)
SKILL.md preview
---
name: create-skill
description: Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
user-invocable: true
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob]
hooks:
Stop:
- type: command
command: "task claude:validate-skill -- --skill create-skill"
PostToolUse:
- matcher: "Edit|Write"
hooks:
- type: command
command: "$CLAUDE_PROJECT_DIR/.claude/hooks/check-skill-structure.sh"
---
# Create Skill
## Purpose
Create a new `.claude/skills/{folder-name}/` skill scaffold that follows the multi-YAML pattern.
This skill produces the canonical file set and wires the Stop hook to `task claude:validate-skill`.
## Quick Reference
- Creates: SKILL.md, skill.yaml, collaboration.yaml (+ validations.yaml, sharp-edges.yaml for non-helpers)
- Requires: folder name, kind, description
- Stop hook: `task claude:validate-skill -- --skill create-skill`
## Post-Creation Verification
The Stop hook runs three checks to ensure every created skill is valid:
1. **Structural**: `task claude:validate-skill-yaml` - YAML parses, required files exist
2. **Semantic**: `task claude:audit-skills-strict` - Multi-YAML pattern compliance
3. **Documentation**: `task claude:audit-skills` - Verifies skill is documented in CLAUDE.md
**IMPORTANT**: After creating skill files, you MUST add the skill to CLAUDE.md under "### Skill kinds". The audit will fail if the skill is not documented.
## Automation
See `skill.yaml` for the full procedure and patterns.
See `sharp-edges.yaml` for common failure modes.
## PostToolUse Hook (Automatic)
This skill includes a **PostToolUse hook** that runs automatically after every `Edit` or `Write` operation on skill files (`.claude/skills/**`). It catches broken skills immediately.
**Behavior:**
- Triggers on skill definition files: skill.yaml, SKILL.md, validations.yaml, collaboration.yaml, sharp-edges.yaml
- Runs `task claude:validate-skill-yaml` (structural check)
- Runs `task claude:audit-skills` in warn mode (semantic check, non-blocking)
- Exit 2 only if YAML is invalid or required files are missing
Hook script: `.claude/hooks/check-skill-structure.sh`
Files in this package (5)
- SKILL.md 2 KB
- collaboration.yaml 1 KB
- sharp-edges.yaml 4 KB
- skill.yaml 8 KB
- validations.yaml 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · genlayerlabs/skills | 90 | MIT |
| mgiovani/cc-arsenal | 100 | MIT |
| zylos-ai/zylos-core | 100 | MIT |
| mthines/agent-skills | 100 | MIT |
| jongio/skills | 100 | MIT |
| fairladyz625/harness-anything | 100 | AGPL-3.0 |
| coco-research/coco | 100 | MIT |
| builderio/agent-native | 100 | MIT |
| BrandeisPatrick/silo-harness | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 9510bb2d42c9 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95skill-creator
Guide for creating NEW skills from scratch. This skill should be used when users want to create a new skill or scaffold a skill directory. Triggers on "create a skill", "new skill", or "scaffold skill". Do NOT use for updating existing skills - use claude-code-expert instead. - 90Project Scaffolding
This skill should be used when the user wants to set up Claude for a project, create a CLAUDE.md file, scaffold the .claude directory, initialize an AI workflow, configure a project for Claude, set up dev intelligence, initialize a new project, or do a new project setup.… - 100skill-architecture
Create new skills, modify existing skills, and understand skill architecture. Use when users want to create a skill from scratch, learn YAML. - 96writing-skills
Create or edit a skill (SKILL.md) when the user asks for one. - 100create-agent
MUST be used whenever scaffolding a new Atlas agent project. Creates agent.yaml, README.md, and a starter eval/cases.yaml with the correct structure, tool definitions, and instructions. Do NOT manually write agent.yaml from scratch — this skill handles the full scaffold.… - 100new-skill
Scaffold a new skill that follows this repo's conventions — interviews for purpose, trigger phrases, and tool needs, then writes `.claude/skills/<name>/SKILL.md` from the skill template with frontmatter and body that pass the integrity gates on first try. Use when user says…