Command Development

Create reusable Claude Code slash commands with YAML frontmatter and bash execution.

11|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ajsai47/holyclaude --skill command-development-ajsai47
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/ajsai47/holyclaude/tree/main/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/ajsai47/holyclaude --skill command-development-ajsai47

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the guesswork and inconsistency in creating Claude Code slash commands by providing comprehensive guidance on file format, frontmatter configuration, dynamic arguments, and plugin integration, ensuring teams can build reliable, reusable automation workflows.

Core Features & Use Cases

  • Command Fundamentals: Master slash command file structure, YAML frontmatter fields (description, allowed-tools, model, argument-hint), dynamic arguments like ARGUMENTS and positional parameters, file references using the @ syntax, and bash execution for dynamic context.
  • Plugin Development: Create plugin-specific commands using the CLAUDE_PLUGIN_ROOT environment variable, coordinate with agents and skills, implement validation patterns, and organize commands with namespacing.
  • Advanced Workflows: Design multi-step workflows, interactive commands with AskUserQuestion, state-carrying sequences, and error handling with rollback and recovery patterns.
  • Use Case: A developer can use this Skill to create a security review command that automatically scans code for vulnerabilities, validates arguments, runs bash linting tools, and generates structured reports.

Quick Start

Use the command-development skill to create a slash command that reviews code for security issues by writing a markdown file with YAML frontmatter and prompt instructions for Claude.

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 slash commands in Claude Code?

To create custom slash commands in Claude Code, you write a markdown file with YAML frontmatter and prompt instructions, specifying fields like description, allowed-tools, model, and argument-hint to define behavior and automate repetitive workflows.

What is the best way to handle dynamic arguments in Claude Code commands?

Handling dynamic arguments in Claude Code commands involves using the ARGUMENTS variable and positional parameters within your markdown file, allowing you to pass user inputs directly into the prompt or bash execution for dynamic context generation.

Can I use bash execution and file references within Claude Code slash commands?

Yes, Claude Code slash commands support bash execution for dynamic context and file references using the @ syntax, enabling you to integrate external scripts and reference documents directly into your automated workflows.

How do I develop plugin-specific commands using the CLAUDE_PLUGIN_ROOT environment variable?

Plugin-specific commands are developed by referencing the CLAUDE_PLUGIN_ROOT environment variable, which allows you to coordinate with agents and skills, implement validation patterns, and organize commands with namespacing for reliable plugin integration.

Does Claude Code support interactive commands and multi-step workflows?

Claude Code supports interactive commands and multi-step workflows by using the AskUserQuestion feature, allowing you to design state-carrying sequences, interactive prompts, and error handling with rollback and recovery patterns.