meta-prompt
SKILL.md
Meta-Prompt Skill
Purpose
This skill generates well-structured custom slash commands for Claude Code. These commands are stored in .claude/commands/*.md and can be invoked with /command-name. This skill focuses exclusively on creating slash commands, not system or user prompts.
What Are Custom Slash Commands?
Custom slash commands are Markdown files that:
- Live in
.claude/commands/(project-level) or~/.claude/commands/(personal) - Get invoked with
/command-name - Support arguments via
$1,$2,$ARGUMENTS - Can reference files with
@filename - Can execute bash with
!command(requiresallowed-toolsfrontmatter) - Include frontmatter configuration (YAML metadata)
Slash Command Anatomy
Every slash command has 6 core sections: