Command Development

Codify Claude Code slash command patterns with frontmatter and dynamic arguments.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/stevessr/dotsfiles --skill command-development-stevessr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/stevessr/dotsfiles/tree/main/dot_claude/private_plugins/private_marketplaces/claude-code-plugins/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/stevessr/dotsfiles --skill command-development-stevessr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Command Development standardizes the creation of Claude Code slash commands and plugin-driven workflows, consolidating frontmatter, argument handling, and execution patterns into a reusable blueprint.

Core Features & Use Cases

  • Frontmatter-driven configuration including description, allowed-tools, model, and argument-hint for consistent discovery.
  • Dynamic argument handling with $ARGUMENTS and positional arguments ($1, $2, etc.).
  • File references, Bash execution, and plugin integration patterns for deterministic tasks.
  • Guidance on integrating with plugin components (agents, skills, hooks) to coordinate multi-part workflows.
  • Validation, error handling, and best practices to reduce errors and improve reliability.

Quick Start

Create a minimal SKILL.md with a frontmatter including name and description, then add commands that leverage frontmatter fields and plugin patterns.

Frequently Asked Questions about Command Development

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

FAQPage Schema
How do I create Claude Code slash commands with dynamic arguments and frontmatter?

Claude Code slash commands use YAML frontmatter for configuration and dynamic argument handling via $ARGUMENTS or positional variables like $1 and $2. You define execution patterns, allowed-tools, and argument-hints directly in the command file to ensure deterministic task execution.

What is the best way to structure frontmatter fields for Claude Code plugins?

Frontmatter fields for Claude Code plugins should include description, allowed-tools, model, and argument-hint to ensure consistent discovery and execution. Following validation rules and field specifications standardizes command behavior across project, plugin, and personal contexts.

Can I use Bash execution and file references inside Claude Code slash commands?

Yes, Claude Code slash commands support Bash execution and file references to enable deterministic tasks. You can integrate these patterns directly within the command structure to handle complex workflows and coordinate multi-part plugin operations.

How do I handle validation and error handling when developing slash commands?

Validation and error handling in slash command development require applying deterministic script patterns and robust error checks. This ensures command reliability by validating frontmatter field specifications, argument inputs, and plugin integration touchpoints before execution.

Does Claude Code support interactive workflows with positional arguments in commands?

Claude Code supports interactive workflows by allowing positional arguments such as $1 and $2 alongside the $ARGUMENTS variable. This enables dynamic argument handling and allows commands to process variable user inputs within structured execution patterns.