If you're building custom workflows in Claude Code, this is your reference for creating slash commands with the `.claude/commands/` directory structure. It covers YAML frontmatter options like model selection and tool permissions, dynamic argument substitution with $1, $2, and $ARGUMENTS, file references using @ syntax, and inline bash execution for pulling in context like git status. The critical insight here is that commands are instructions for Claude, not messages to users, so write them as directives about what to do. Worth noting this is the legacy format, the newer `.claude/skills/` approach is preferred for new work, but both load identically so existing commands keep working.
npx skills add https://github.com/anthropics/claude-plugins-official --skill command-development