/command-dev
Use this skill when creating or refining custom Claude Code slash commands. Slash commands are user-invoked reusable prompts that can accept arguments, reference files, and execute bash operations. Helps design command syntax, argument handling, file references, bash execution,
$ npx -y skills add andisab/swe-marketplace --skill command-dev --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/command-dev
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when creating or refining custom Claude Code slash commands. Slash commands are user-invoked reusable prompts that can accept arguments, reference files, and execute bash operations. Helps design command syntax, argument handling, file references, bash execution,
SKILL.md
command-dev.SKILL.mdname: command-dev
description: >
Use this skill when creating or refining custom Claude Code slash commands. Slash commands are
user-invoked reusable prompts that can accept arguments, reference files, and execute bash operations.
Helps design command syntax, argument handling, file references, bash execution, and frontmatter
configuration. Automatically invoked when user requests "create a command", "make a slash command",
"add a /command", or mentions custom command development.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(ls:*), Bash(tree:*)
Command Dev Skill
This skill helps create production-ready custom slash commands following Anthropic's official specifications.
What is a Slash Command?
A **slash command** is a user-invoked reusable prompt stored as a Markdown file. Unlike skills (model-invoked) or agents (complex AI assistants), slash commands are:
- **User-triggered**: Explicitly invoked with `/command-name`
- **Template-based**: Expand to prompts with placeholders
- **Lightweight**: Simple Markdown files with optional frontmatter
- **Quick access**: Fast way to reuse common instructions
Commands vs Skills vs Agents
| Feature | Command | Skill | Agent | |---------|---------|-------|-------| | **Invocation** | User (`/name`) | Model (automatic) | User or Task tool | | **Complexity** | Simple prompt template | Capability with logic | Full AI assistant | | **Arguments** | Yes ($1, $2, $ARGUMENTS) | N/A | N/A | | **File access** | Yes (@file) | Via tools | Via tools | | **Bash exec** | Yes (!command) | Via tools | Via tools | | **Use case** | Quick prompts, workflows | Autonomous features | Domain expertise |
**When to use Commands**: Reusable prompts, quick text expansion, parametrized instructions, file processing workflows
Command Structure
Basic Command (Prompt only)
Please review this code for security vulnerabilities and provide
specific recommendations for improvement.
File: `.claude/commands/security-review.md` Usage: `/security-review`
Command with Frontmatter
---
description: Review code for security vulnerabilities with OWASP focus
argument-hint: [file-path] [--strict]
allowed-tools: Read, Grep, Glob
model: opus
disable-model-invocation: false
---
Please perform a comprehensive security audit of the codebase, focusing on:
- OWASP Top 10 vulnerabilities
- Authentication and authorization issues
- Input validation and sanitization
- Secrets exposure
Frontmatter Fields
All frontmatter fields are **optional**.
description
Brief explanation shown in `/help` and for SlashCommand tool.
description: Generate comprehensive API documentation from OpenAPI spec
**Best practices**:
- 1 sentence, concise
- Describe what it does, not how
- Include key features
argument-hint
Expected arguments for autocomplete and help.
argument-hint: <endpoint-url> [--format json|yaml]
argument-hint: [file-pattern]
argument-hint: <branch-name>
**Syntax conventions**:
- `<required>` - Required argument
- `[optional]` - Optional argument
- `|` - Choice between options
allowed-tools
Restrict which tools the command can use.
allowed-tools: Read, Write, Grep, Glob
allowed-tools: Bash(git:*), Bash(npm:*)
allowed-tools: Read, WebFetch
**Why restrict**:
- Security: Prevent dangerous operations
- Focus: Command only needs specific tools
- Safety: Avoid accidental file modifications
model
Override the model for this command.
model: opus # Complex reasoning
model: sonnet # Balanced (default)
model: haiku # Fast, simple tasks
disable-model-invocation
Prevent SlashCommand tool from invoking this command.
disable-model-invocation: true # Only user can invoke
disable-model-invocation: false # Claude can invoke (default)
**Use cases**:
- Private commands for personal use only
- Commands with dangerous operations
- Commands requiring user confirmation
Argument Handling
$ARGUMENTS
Captures all passed arguments as a single value.
Please analyze the following: $ARGUMENTS
Usage:
/analyze-text This is some text to analyze
Expands to:
Please analyze the following: This is some text to analyze
$1, $2, $3, ... (Positional Arguments)
Access individual arguments by position.
Compare $1 with $2 and explain the differences in $3 format.
Usage:
/compare file1.py file2.py detailed
Expands to:
Compare file1.py with file2.py and explain the differences in detailed format.
Default Values
Provide defaults for missing arguments.
Run tests in ${1:-development} environment with ${2:-verbose} output.Usage:
/run-tests
Expands to:
Run tests in development environment with verbose output.
Usage with arguments:
/run-tests production quiet
Expands to:
Run tests in production environment with quiet output.
Combining Arguments
---
argument-hint: <action> <target> [options]
---
Execute $1 on $2 with options: $3
Fallback environment: ${3:-default}
All arguments: $ARGUMENTSFile References
@file Syntax
Include file contents in the prompt.
Please review this code:
@src/api/users.py
Focus on error handling and security.
When invoked, Claude reads `src/api/users.py` and includes its contents.
Multiple Files
Compare these two implementations:
**Old version:**
@src/legacy/auth.py
**New version:**
@src/current/auth.py
Highlight improvements and potential issues.
File Arguments
Review the file: @$1
And compare with: @$2
Usage:
/compare-files old-code.py new-code.py
File Patterns (with Glob)
Analyze all TypeScript files in the components directory.
Use the Glob tool to find files matching: src/components/**/*.tsx
Bash Execution
! Prefix for Bash Commands
Execute bash commands and
Read more
name: command-dev description: > Use this skill when creating or refining custom Claude Code slash commands. Slash commands are user-invoked reusable prompts that can accept arguments, reference files, and execute bash operations. Helps design command syntax, argument handling, file references, bash execution, and frontmatter configuration. Automatically invoked when user requests "create a command", "make a slash command", "add a /command", or mentions custom command development. allowed-tools: Read, Write, Edit, Grep, Glob, Bash(ls:*), Bash(tree:*)
Command Dev Skill
This skill helps create production-ready custom slash commands following Anthropic's official specifications.
What is a Slash Command?
A **slash command** is a user-invoked reusable prompt stored as a Markdown file. Unlike skills (model-invoked) or agents (complex AI assistants), slash commands are:
- **User-triggered**: Explicitly invoked with `/command-name`
- **Template-based**: Expand to prompts with placeholders
- **Lightweight**: Simple Markdown files with optional frontmatter
- **Quick access**: Fast way to reuse common instructions
Commands vs Skills vs Agents
| Feature | Command | Skill | Agent | |---------|---------|-------|-------| | **Invocation** | User (`/name`) | Model (automatic) | User or Task tool | | **Complexity** | Simple prompt template | Capability with logic | Full AI assistant | | **Arguments** | Yes ($1, $2, $ARGUMENTS) | N/A | N/A | | **File access** | Yes (@file) | Via tools | Via tools | | **Bash exec** | Yes (!command) | Via tools | Via tools | | **Use case** | Quick prompts, workflows | Autonomous features | Domain expertise |
**When to use Commands**: Reusable prompts, quick text expansion, parametrized instructions, file processing workflows
Command Structure
Basic Command (Prompt only)
Please review this code for security vulnerabilities and provide specific recommendations for improvement.
File: `.claude/commands/security-review.md` Usage: `/security-review`
Command with Frontmatter
--- description: Review code for security vulnerabilities with OWASP focus argument-hint: [file-path] [--strict] allowed-tools: Read, Grep, Glob model: opus disable-model-invocation: false --- Please perform a comprehensive security audit of the codebase, focusing on: - OWASP Top 10 vulnerabilities - Authentication and authorization issues - Input validation and sanitization - Secrets exposure
Frontmatter Fields
All frontmatter fields are **optional**.
description
Brief explanation shown in `/help` and for SlashCommand tool.
description: Generate comprehensive API documentation from OpenAPI spec
**Best practices**:
- 1 sentence, concise
- Describe what it does, not how
- Include key features
argument-hint
Expected arguments for autocomplete and help.
argument-hint: <endpoint-url> [--format json|yaml] argument-hint: [file-pattern] argument-hint: <branch-name>
**Syntax conventions**:
- `<required>` - Required argument
- `[optional]` - Optional argument
- `|` - Choice between options
allowed-tools
Restrict which tools the command can use.
allowed-tools: Read, Write, Grep, Glob allowed-tools: Bash(git:*), Bash(npm:*) allowed-tools: Read, WebFetch
**Why restrict**:
- Security: Prevent dangerous operations
- Focus: Command only needs specific tools
- Safety: Avoid accidental file modifications
model
Override the model for this command.
model: opus # Complex reasoning model: sonnet # Balanced (default) model: haiku # Fast, simple tasks
disable-model-invocation
Prevent SlashCommand tool from invoking this command.
disable-model-invocation: true # Only user can invoke disable-model-invocation: false # Claude can invoke (default)
**Use cases**:
- Private commands for personal use only
- Commands with dangerous operations
- Commands requiring user confirmation
Argument Handling
$ARGUMENTS
Captures all passed arguments as a single value.
Please analyze the following: $ARGUMENTS
Usage:
/analyze-text This is some text to analyze
Expands to:
Please analyze the following: This is some text to analyze
$1, $2, $3, ... (Positional Arguments)
Access individual arguments by position.
Compare $1 with $2 and explain the differences in $3 format.
Usage:
/compare file1.py file2.py detailed
Expands to:
Compare file1.py with file2.py and explain the differences in detailed format.
Default Values
Provide defaults for missing arguments.
Run tests in ${1:-development} environment with ${2:-verbose} output.Usage:
/run-tests
Expands to:
Run tests in development environment with verbose output.
Usage with arguments:
/run-tests production quiet
Expands to:
Run tests in production environment with quiet output.
Combining Arguments
---
argument-hint: <action> <target> [options]
---
Execute $1 on $2 with options: $3
Fallback environment: ${3:-default}
All arguments: $ARGUMENTSFile References
@file Syntax
Include file contents in the prompt.
Please review this code: @src/api/users.py Focus on error handling and security.
When invoked, Claude reads `src/api/users.py` and includes its contents.
Multiple Files
Compare these two implementations: **Old version:** @src/legacy/auth.py **New version:** @src/current/auth.py Highlight improvements and potential issues.
File Arguments
Review the file: @$1 And compare with: @$2
Usage:
/compare-files old-code.py new-code.py
File Patterns (with Glob)
Analyze all TypeScript files in the components directory. Use the Glob tool to find files matching: src/components/**/*.tsx
Bash Execution
! Prefix for Bash Commands
Execute bash commands and
Showing the first part of this file.
A curated Claude Code plugin marketplace for practical, everyday usage in software engineering — 13 plugins, 53 specialist agents, 14 skills, 3 commands. A few opinionated choices that set it apart from larger awesome-style lists: Curated, not exhaustive.
Repo: andisab/swe-marketplace
Other skills on swe-marketplace.
- /dispatch
Shared multi-model CLI dispatch infrastructure for the adv plugin. Houses dispatch.sh, preflight.sh, run-phase.sh, scope.sh, and reviewer prompt templates used by the adv-review agent and adv-* commands.
Open skill - /agent-dev
Use this skill when creating or refining Claude Code sub-agent definitions. Helps design specialized AI assistants with proper YAML frontmatter, system prompts, tool access, and example-driven descriptions. Automatically invoked when user requests "create an agent", "design a
Open skill - /hook-dev
Use this skill when creating or refining Claude Code hooks. Hooks are shell commands that execute at specific lifecycle events (tool use, prompt submit, notifications, session events). Helps design event handlers for notifications, formatting, logging, feedback, and permission
Open skill - /mcp-server-dev
Create MCP servers — multi-tool services exposed via Model Context Protocol. Use this skill whenever users mention MCP servers, building servers, server scaffolding, tool registration, or want to package tools for distribution via uvx or npx. Also use when the conversation
Open skill - /mcp-tool-dev
Create MCP tools — individual tool functions exposed via Model Context Protocol. Use this skill whenever users mention MCP tools, tool handlers, tool functions, tool definitions, or want to add capabilities to an MCP server. Also use when the conversation involves designing tool
Open skill - /plugin-dev
Use this skill when creating or refining Claude Code plugins. Plugins are bundled collections of agents, skills, commands, hooks, and MCP servers that provide cohesive functionality. Helps design proper directory structures, plugin.json configuration, marketplace distribution,
Open skill

