command-development
Explains writing slash commands: frontmatter, arguments and file references.
- Kind
- Skill
- Works with
- Claude Code
- Source
- anthropics/claude-plugins-official @ 58267944f921
- Path
- plugins/plugin-dev/skills/command-development/SKILL.md
- Jobs
- Documentation
Credit
- Made by
- anthropics
- Original
- github.com/anthropics/claude-plugins-official/blob/58267944f9…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallInstall it from a plugin marketplace.
/plugin install plugin-dev@claude-plugins-official
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/command-development/ (the skill folder)
- 2 file(s) the skill refers to
- 10 other files in the folder: README.md, examples/plugin-commands.md, examples/simple-commands.md, references/advanced-workflows.md and 6 more
- Runs scripts
- Yes
- validate-command.sh
- validate-frontmatter.sh
- scripts/validate-command.sh
- shell block in the text (examples/plugin-commands.md)
- Uses the network
- Yes
- curl / wget (examples/plugin-commands.md)
- git clone / pull / push (examples/simple-commands.md)
- Needs secrets
- None found
- Reads environment variables
- ENV
- PLATFORM
- MISSING_DEPS
- FEATURES
- FORMAT
- OUTPUT
- Reads outside the project
- ~/.claude/commands/ (SKILL.md)
- /home/user/.claude/plugins/my-plugin/config.json (examples/plugin-commands.md)
- ~/.claude/debug-logs/latest (references/testing-strategies.md)
- ~/file (references/testing-strategies.md)
- Calls other skills
- /command-name
- /test
- /deploy
- /fix-issue
- /review-pr
- /review-file
- and 65 more
- Source revision
- 58267944f921
- Licence
- Apache-2.0
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Command Development for Claude Code > **Note:** The `.claude/commands/` directory is a legacy format. For new skills, use the `.claude/skills/<name>/SKILL.md` directory format. Both are loaded identically — the only difference is file layout. See the `skill-development` skill for the preferred format. ## Overview Slash commands are frequently-used prompts defined as Markdown files that Claude executes during interactive sessions. Understanding command structure, frontmatter options, and dynamic features enables creating powerful, reusable workflows. **Key concepts:** - Markdown file format for commands - YAML frontmatter for configuration - Dynamic arguments and file references - Bash execution for context - Command organization and namespacing ## Command Basics ### What is a Slash Command? A slash command is a Markdown file containing a prompt that Claude executes when invoked. Commands provide: - **Reusability**: Define once, use repeatedly - **Consistency**: Standardize common workflows - **Sharing**: Distribute across team or projects - **Efficiency**: Quick access to complex prompts ### Critical: Commands are Instructions FOR Claude …