What problem does it solve?
Establishes a standardized blueprint for crafting and maintaining Slash Commands in Claude Code, consolidating frontmatter, dynamic arguments, file references, and plugin integration into a repeatable development workflow.
Core Features & Use Cases
- YAML frontmatter for description, allowed-tools, model, and argument hints to ensure consistent behavior across commands.
- Dynamic arguments and file references support flexible user input and content sourcing within commands.
- Bash execution within commands to gather contextual data and perform deterministic actions.
- Plugin integration through CLAUDE_PLUGIN_ROOT, including agents, skills, templates, and hooks for multi-component workflows.
- Clear command organization (flat or namespace-based) and guidance for testing, documentation, and marketplace readiness.
Quick Start
Define a new slash command by creating a Markdown file under .codex/commands with proper YAML frontmatter and a sample body, then validate it with a quick in-session test.