← Browse by Chapter
Get the Book →
#40Chapter 07 — Slash Commands: Inner-Loop Automation
I've been typing this prompt every day: [paste your most-repeated prompt]. Turn it into a `.claude/commands/*.md` file: frontmatter with `description` and `argument-hint`, body with `$ARGUMENTS` wired in the right place. The command should be invocable with zero additional typing beyond the arguments. Output only the command file content.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.