creating-commands
Installation
SKILL.md
Creating Effective Slash Commands
This skill provides comprehensive guidance for designing and implementing custom slash commands that are minimal, explicit, and leverage Claude Code's full capabilities including preflight checks, skill integration, and subagent delegation.
Official Documentation References
Before creating or reviewing a command, fetch the latest official documentation using WebFetch for the most relevant links below. This ensures your commands follow current best practices and API conventions.
IMPORTANT: When this skill is invoked, you MUST use WebFetch to retrieve at least the primary reference before proceeding with command creation or review.
- CLI Reference - CLI flags relevant to commands (--allowedTools, --model)
- Hooks Guide - Hook integration patterns for commands
- Sub-agents Guide - Task() delegation from commands to subagents