Command Development
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
- Type
- Skill
- Author
- anthropics
- Category
- Productivity
- GitHub stars
- 44.8K
- Installs
- 6.9K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/anthropics/claude-plugins-official --skill command-developmentUse cases
- Create a custom slash command with YAML frontmatter
- Define dynamic arguments and bash execution inside a command
- Add interactive prompts with AskUserQuestion in a command
Frequently Asked Questions
What parts of a slash command does this skill explain?
Command structure, YAML frontmatter fields, dynamic arguments, bash execution, and user-interaction patterns.
Does it cover file references in commands?
Yes, creating commands with file references and organizing commands across files are both covered.
Is it only for a single command?
No, it also covers organizing a set of commands, not just writing one.
About this skill
Guidance for writing slash commands in Claude Code, covering command structure, YAML frontmatter fields, dynamic arguments, bash execution, and user-interaction patterns like AskUserQuestion. It's for anyone extending Claude Code with custom commands, whether a single quick command or a set organized across files. The skill also covers file references and command organization conventions.
Summary written with AI assistance from the project's public description.
More from anthropics
Frontend Design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography,...
by anthropics
Skill Creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or...
by anthropics
Pptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks,...
by anthropics
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or mergi...
by anthropics
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh