Loading...
Loading...
Guide for creating custom Claude Code slash commands. Use when user wants to create a new command (or update an existing command) that provides a reusable prompt snippet, workflow, or automation. Triggers on requests to create /commands, slash commands, custom commands, or when user wants to define frequently-used prompts as reusable commands.
npx skill4agent add walletconnect/skills command-creator| Type | Location | Scope |
|---|---|---|
| Project | | Shared with team via git |
| Personal | | Available across all projects |
---
description: Brief description shown in /help
---
Your prompt instructions here.review.md/review| Field | Purpose | Default |
|---|---|---|
| Brief description for /help | First line of prompt |
| Tools the command can use | Inherits from conversation |
| Shows usage hint in autocomplete | None |
| Specific model to use | Inherits from conversation |
| Prevent Skill tool from calling this | false |
| Command-scoped hooks (PreToolUse, PostToolUse, Stop) | None |
$ARGUMENTS---
description: Fix an issue
---
Fix issue #$ARGUMENTS following our coding standards/fix-issue 123 high-priority$ARGUMENTS$1$2---
argument-hint: [pr-number] [priority] [assignee]
description: Review pull request
---
Review PR #$1 with priority $2 and assign to $3./review-pr 456 high alice---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---
## Context
- Current git status: !\`git status\`
- Current git diff: !\`git diff HEAD\`
- Current branch: !\`git branch --show-current\`
- Recent commits: !\`git log --oneline -10\`
## Task
Create a git commit based on the above changes.allowed-tools@Review the implementation in @src/utils/helpers.js
Compare @src/old-version.js with @src/new-version.js.claude/commands/frontend/component.md/component.claude/commands/backend/test.md/test---
allowed-tools: Bash(npm:*), Bash(git:*), Read, Edit, Write
argument-hint: [component-name]
description: Create a new React component with tests
model: claude-sonnet-4-20250514
---
## Context
- Existing components: !\`ls src/components/\`
- Project structure: !\`ls -la src/\`
## Task
Create a new React component named $1:
1. Create component file at @src/components/$1.tsx
2. Create test file at @src/components/$1.test.tsx
3. Export from @src/components/index.ts
4. Follow patterns in existing components---
description: Deploy with validation
hooks:
PreToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "./scripts/validate.sh"
once: true
---
Deploy to staging environment.once: true@