Command Development

Create Claude Code slash commands with YAML frontmatter and dynamic arguments.

10|5|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Claude-Code-Community-Ireland/claude-code-resources --skill command-development-claude-code-community-ireland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/Claude-Code-Community-Ireland/claude-code-resources/tree/main/plugins/vibeworks-library/skills/command-development
Command: npx skills add https://github.com/Claude-Code-Community-Ireland/claude-code-resources --skill command-development-claude-code-community-ireland

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers users to create, organize, and optimize Claude Code slash commands, transforming repetitive tasks into efficient, reusable workflows.

Core Features & Use Cases

  • Command Creation: Learn the Markdown format, YAML frontmatter, and argument handling for custom commands.
  • Plugin Integration: Understand how to leverage ${CLAUDE_PLUGIN_ROOT} and organize commands within plugins.
  • Use Case: A developer needs to create a new slash command to automate code linting. They consult this Skill to understand command structure, argument parsing, and how to integrate it with their project's .claude/commands/ directory.

Quick Start

Use the command development skill to create a new slash command for reviewing code.

Frequently Asked Questions about Command Development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom Claude Code slash commands using markdown?

To create custom Claude Code slash commands, you write Markdown files with YAML frontmatter and place them in your project's `.claude/commands/` directory. This format supports argument parsing and dynamic references to automate repetitive workflows.

How do I pass dynamic arguments to Claude Code slash commands?

Dynamic arguments in Claude Code slash commands are handled through YAML frontmatter definitions. You can define argument placeholders that capture user input, enabling flexible command execution and file references tailored to specific tasks.

What is the best way to organize slash commands within a Claude Code plugin?

Organizing slash commands within a Claude Code plugin requires using the `${CLAUDE_PLUGIN_ROOT}` variable for path resolution. This structure ensures commands integrate correctly with other plugin components like agents and skills.

Can I execute bash scripts directly from a Claude Code slash command?

Yes, Claude Code slash commands support bash execution directly within the markdown format. You can embed bash commands to automate shell tasks, run linting scripts, or execute build processes as part of your workflow.

What validation patterns should I use when developing Claude Code commands?

Validation patterns for Claude Code commands involve checking argument inputs and verifying file references before execution. Implementing these checks within the command structure prevents errors during automated workflow processing.

Does Claude Code command development work without external dependencies?

Claude Code command development works without external dependencies, relying entirely on the native markdown format and YAML frontmatter. You only need a properly configured `.claude/commands/` directory to start building automation workflows.