Agent skill
create-skill
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/create-skill-dohernandez-claude-project-skill
SKILL.md
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 for a new skill in the ci-core-e2e-runner project.
Quick Reference
- Creates: SKILL.md, skill.yaml, collaboration.yaml, sharp-edges.yaml
- Requires: folder name, kind, description
- No task runner or hooks -- this is a shell/YAML project
Procedure
-
Gather inputs from the user:
folder_name-- directory name under.claude/skills/title-- human title for H1 header in SKILL.mddescription-- one-line description for trigger matching (frontmatter)purpose-- 2-3 sentences for the SKILL.md purpose sectionkind-- one of: action, workflow, gate, helper, metauser_invocable-- true or falseallowed_tools-- list of tools the skill needs
-
Create folder:
mkdir -p .claude/skills/{folder-name}/ -
Write SKILL.md (thin wrapper):
- Frontmatter: name, description, user-invocable, allowed-tools
- Purpose section (2-3 sentences)
- Quick Reference (creates/requires pointers)
- Automation section pointing to skill.yaml / sharp-edges.yaml / collaboration.yaml
-
Write skill.yaml:
- Canonical patterns, anti-patterns, ownership, procedure
- All rule details live here, not in SKILL.md
-
Write collaboration.yaml:
- Dependencies, composition sequences, triggers
-
Write sharp-edges.yaml:
- Common gotchas with detection hints, impact, and fixes
-
Document in CLAUDE.md:
- Add the skill to the skills table in CLAUDE.md
- Format: appropriate section with skill name and description
File Layout
.claude/skills/{folder-name}/
SKILL.md # Thin wrapper with frontmatter + pointers
skill.yaml # Canonical patterns, procedure, ownership
collaboration.yaml # Dependencies, triggers, composition
sharp-edges.yaml # Common failure modes and fixes
Automation
See skill.yaml for the full procedure and patterns.
See sharp-edges.yaml for common failure modes.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?