Loading...
Loading...
Create Claude Code custom slash commands with proper structure, frontmatter, and best practices. Use this skill whenever the user wants to create a new command, add a slash command, build a custom command, or mentions "create-command", "new command", "add command", or "make a command" for Claude Code. Also trigger when the user wants to turn a workflow into a reusable command.
npx skill4agent add feiskyer/claude-code-settings command-creator/command-name.claude/commands/~/.claude/commands/gh/review-pr.md/gh:review-prghcc---
description: Brief description shown in command list
argument-hint: [expected-arguments]
allowed-tools: Tool1, Tool2, Bash(prefix:*)
---
# Command Name
What this command does and when to use it.
## Process:
Step-by-step instructions for the agent to follow.
## Your Task:
Act on "$ARGUMENTS" following these guidelines.| Field | Required | Purpose |
|---|---|---|
| Yes | Short description shown when listing commands |
| No | Hint for expected arguments (shown in autocomplete) |
| No | Restrict which tools the command can use |
$ARGUMENTSallowed-toolsReadWriteBash(git:*)Bash(npm:*)| Scope | Path | When to use |
|---|---|---|
| Project (shared) | | Team workflows, project-specific tasks |
| Project (categorized) | | Grouped commands (e.g., |
| User (personal) | | Personal productivity, cross-project tools |
$ARGUMENTSallowed-tools---
description: Review a pull request with detailed analysis
argument-hint: [PR-number-or-URL]
allowed-tools: Bash(gh:*), Read, Grep, Glob
---
# Review PR
Perform a thorough code review of a GitHub pull request.
## Process:
1. Fetch PR details and diff using `gh pr view` and `gh pr diff`
2. Read changed files for full context
3. Analyze changes for:
- Correctness and potential bugs
- Code style consistency
- Missing tests or edge cases
- Security concerns
4. Provide a structured review summary
## Your Task:
Review PR "$ARGUMENTS" following these guidelines. If no PR number is given,
use `gh pr list` to show recent PRs and ask which one to review.fix-issue.mdfi.md$ARGUMENTSallowed-tools