command-development

Creates and manages Claude Code slash commands with Markdown and YAML frontmatter.

Updated May 29, 2026
One-click install
npx skills add https://github.com/Hex-4/dots --skill command-development-hex-4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/Hex-4/dots/tree/main/dot_claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/Hex-4/dots --skill command-development-hex-4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Markdown, YAML, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill solves the problem of creating and managing slash commands in Claude Code, providing comprehensive guidelines, best practices, and practical examples to streamline command development.

Core Features & Use Cases

  • Command Creation: Offers step-by-step instructions for creating slash commands with Markdown and YAML frontmatter.
  • YAML Frontmatter: Explains the purpose and usage of frontmatter fields like description, allowed-tools, and model.
  • Dynamic Arguments: Demonstrates how to use dynamic arguments and file references in commands.
  • Bash Execution: Guides the use of Bash commands within slash commands for added functionality.
  • Command Organization: Provides patterns for organizing commands into projects, personal spaces, and plugins.
  • Best Practices: Shares best practices for command design, argument handling, file references, and error handling.
  • Examples: Offers a collection of practical command examples to demonstrate real-world application.
  • Plugin-specific Features: Covers plugin command organization, ${CLAUDE_PLUGIN_ROOT} environment variable usage, and integration with plugin components.

Quick Start

Create a new slash command to review code for security vulnerabilities using the command: /review-code --file path/to/file

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create slash commands in Claude Code using Markdown and YAML?

Create slash commands in Claude Code by writing Markdown files with YAML frontmatter. Define configuration fields like description, allowed-tools, and model in the frontmatter to establish command behavior and permissions.

How do I use dynamic arguments and file references in Claude Code commands?

Dynamic arguments and file references in Claude Code commands allow you to pass variable inputs directly into your Markdown command files. This enables flexible command execution by targeting specific files or parameters during runtime.

Can I execute Bash commands within my Claude Code slash commands?

Yes, you can execute Bash commands within Claude Code slash commands. This functionality allows you to integrate shell scripts and terminal operations directly into your command workflows for added automation capabilities.

Do I need YAML knowledge to develop commands for Claude Code?

Yes, YAML knowledge is required to develop commands for Claude Code. You need it to configure frontmatter fields such as description, allowed-tools, and model, which define how your slash command operates within the environment.

What is the best way to organize slash commands into projects and plugins?

Organize slash commands into projects, personal spaces, and plugins using established patterns. Plugin-specific features support the CLAUDE_PLUGIN_ROOT environment variable and integrate command components for structured management.