Command Development

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

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Tashima-Tarsh/Disha --skill command-development-tashima-tarsh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/Tashima-Tarsh/Disha/tree/main/disha/services/integrations/Anthropic/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/Tashima-Tarsh/Disha --skill command-development-tashima-tarsh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the challenge of creating effective, reusable slash commands for Claude Code by providing comprehensive guidance on command structure, frontmatter configuration, dynamic arguments, plugin integration patterns, and best practices for team collaboration.

Core Features & Use Cases

  • Slash Command Fundamentals: Learn file format, YAML frontmatter fields, dynamic arguments like $ARGUMENTS and positional $1 $2, file references using @ syntax, and bash execution using backtick syntax for creating powerful prompts.
  • Plugin-Specific Patterns: Master CLAUDE_PLUGIN_ROOT environment variable usage, plugin command discovery, namespacing, and integration with agents, skills, and hooks for distributed plugin ecosystems.
  • Advanced Workflows: Build multi-step workflows, state-carrying commands, conditional branching, interactive commands using AskUserQuestion, and production-grade error handling with validation patterns.
  • Use Case: A developer building a Claude Code plugin needs to create commands that automate code reviews, run tests, and generate documentation while maintaining proper security boundaries and user interaction patterns.

Quick Start

Use the Command Development skill to create a new slash command by defining its purpose, adding YAML frontmatter with description and allowed-tools, and writing the prompt content with dynamic arguments and file references.

Frequently Asked Questions about Command Development

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

FAQPage Schema
How do I create reusable slash commands for Claude Code?

To create reusable slash commands for Claude Code, define the command purpose, add YAML frontmatter with description and allowed-tools, then write prompt content using dynamic arguments like $ARGUMENTS and file references with @ syntax.

How does YAML frontmatter work in Claude Code slash commands?

YAML frontmatter in Claude Code slash commands configures the command description and restricts tool permissions using allowed-tools. This frontmatter validation ensures commands maintain proper security boundaries before execution.

Can I use dynamic arguments and bash execution in Claude Code plugins?

Yes, Claude Code plugin development supports dynamic arguments like positional $1 $2 and bash execution using backtick syntax. You can build multi-step workflows with conditional branching and state-carrying commands.

What is the CLAUDE_PLUGIN_ROOT environment variable used for?

The CLAUDE_PLUGIN_ROOT environment variable enables plugin resource access and command discovery within distributed plugin ecosystems. It supports namespacing and integration with agents, skills, and hooks for Claude Code plugin development.

How do I handle user interaction in automated Claude Code workflows?

You can handle user interaction in automated Claude Code workflows by building interactive commands using AskUserQuestion. This allows production-grade error handling with validation patterns for multi-step command execution.