/my-command
Review the changes in this PR. Focus on:
$ npx -y skills add LukeRenton/explore-claude-code --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/my-command
Context preview
What this command does when you run it.
Review the changes in this PR. Focus on:
Command definition
my-command.mdReview the changes in this PR. Focus on:
1. **Correctness**: Does the logic do what it claims? 2. **Security**: Any injection risks, leaked secrets, or auth bypasses? 3. **Tests**: Are edge cases covered? 4. **Style**: Does it follow our conventions in CLAUDE.md?
For each issue found, classify as:
- **Must fix**: Bugs, security issues
- **Should fix**: Missing tests, unclear naming
- **Nit**: Style preferences, optional improvements
Start by running `git diff main...HEAD` to see all changes.
$ARGUMENTS
---
This is a starter command file. The filename `my-command.md` becomes the slash command `/my-command`.
Everything above the `---` is the prompt that Claude receives when you invoke the command. `$ARGUMENTS` is replaced with whatever you type after the command name.
For example, `/my-command focus on auth` would replace `$ARGUMENTS` with "focus on auth".
What Makes a Good Command
- A clear, specific task (not open-ended)
- Context about your project's standards or conventions
- Structured output format so results are consistent
- `$ARGUMENTS` to allow per-invocation customisation
Limitations
Commands are simple prompt templates. They do not support:
- Frontmatter (model overrides, invocation control, tool restrictions)
- Supporting files (scripts, references, assets)
- Dynamic context injection (`!` backtick syntax)
- Auto-loading based on task relevance
For any of those features, use a [skill](^Skills are the newer, more powerful replacement for commands. See the skills/ directory for the full structure) instead. Commands and skills create the same `/slash-command` interface.
Read more
Review the changes in this PR. Focus on:
1. **Correctness**: Does the logic do what it claims? 2. **Security**: Any injection risks, leaked secrets, or auth bypasses? 3. **Tests**: Are edge cases covered? 4. **Style**: Does it follow our conventions in CLAUDE.md?
For each issue found, classify as:
- **Must fix**: Bugs, security issues
- **Should fix**: Missing tests, unclear naming
- **Nit**: Style preferences, optional improvements
Start by running `git diff main...HEAD` to see all changes.
$ARGUMENTS
---
This is a starter command file. The filename `my-command.md` becomes the slash command `/my-command`.
Everything above the `---` is the prompt that Claude receives when you invoke the command. `$ARGUMENTS` is replaced with whatever you type after the command name.
For example, `/my-command focus on auth` would replace `$ARGUMENTS` with "focus on auth".
What Makes a Good Command
- A clear, specific task (not open-ended)
- Context about your project's standards or conventions
- Structured output format so results are consistent
- `$ARGUMENTS` to allow per-invocation customisation
Limitations
Commands are simple prompt templates. They do not support:
- Frontmatter (model overrides, invocation control, tool restrictions)
- Supporting files (scripts, references, assets)
- Dynamic context injection (`!` backtick syntax)
- Auto-loading based on task relevance
For any of those features, use a [skill](^Skills are the newer, more powerful replacement for commands. See the skills/ directory for the full structure) instead. Commands and skills create the same `/slash-command` interface.
Learn Claude Code by exploring it as it was designed - interactive IDE-style docs for commands, MCP, skills, CLAUDE.md and more.
Repo: LukeRenton/explore-claude-code
Other commands on explore-claude-code.
- /review-pr
Review the changes in this PR. Focus on:
Open command - /write-tests
Write tests for: $ARGUMENTS
Open command - /BUILT-IN-COMMANDS
Commands baked into Claude Code that execute fixed logic directly. Type `/` at the prompt to see them all, or type `/` followed by any letters to filter. Unlike [bundled skills](^Prompt-driven workflows like /simplify and /batch that use Claude's tools to orchestrate work. See
Open command - /btw
Ask a quick side question about your current work without adding to the conversation history. The question and answer appear in a dismissible overlay and never enter the main context.
Open command - /compact
Compresses your conversation to reclaim context window space. Claude summarises the conversation so far, discards the original messages, and continues with the summary as its new starting point.
Open command - /diff
Opens an interactive diff viewer showing uncommitted changes in your working directory and per-turn diffs from Claude's edits.
Open command

