Command Development

Design and implement Claude Code slash commands with YAML frontmatter.

432|40|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/tzachbon/smart-ralph --skill command-development-tzachbon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/tzachbon/smart-ralph/tree/main/.agents/skills/Command%20Development
Command: npx skills add https://github.com/tzachbon/smart-ralph --skill command-development-tzachbon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Command development for Claude Code often suffers from inconsistent command design, unclear frontmatter, and fragmented workflows across plugins. This skill provides a unified approach to designing, documenting, and validating slash commands with YAML frontmatter, robust argument handling, and integration patterns.

Core Features & Use Cases

  • Define and validate YAML frontmatter for slash commands (name, description, argument-hint, model, allowed-tools)
  • Organize commands with flat or namespaced structures and robust documentation patterns
  • Integrate with plugin components (agents, skills, hooks) to build multi-step workflows
  • Include examples of script references, file references, and BashExecution in commands
  • Use cases: building reusable commands for automation, interactive configuration flows, and safe command orchestration

Quick Start

Create a simple command file at .claude/commands/my-command.md with frontmatter including a name and description, then add a basic prompt body that shows argument hints and a reference to a script or template to illustrate integration.

Frequently Asked Questions about Command Development

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

FAQPage Schema
How do I design Claude Code slash commands with YAML frontmatter?

Design Claude Code slash commands by creating a markdown file in `.claude/commands/` with YAML frontmatter defining the name, description, argument-hint, model, and allowed-tools to ensure robust command configuration.

How do I handle arguments and file references in Claude Code command development?

Handle arguments and file references in Claude Code command development by configuring argument-hints in the frontmatter and embedding script or template references within the prompt body to build interactive workflows.

Can I integrate bash execution and plugin components into custom slash commands?

Yes, you can integrate bash execution and plugin components like agents, skills, and hooks into custom slash commands to orchestrate safe, multi-step interactive workflows within Claude Code.

What is the best way to organize and document reusable Claude Code commands?

Organize reusable Claude Code commands using flat or namespaced directory structures, enforcing clear frontmatter schemas and thorough documentation patterns to ensure reliable and maintainable command definitions.

Does building interactive workflows with Claude Code commands require plugin integration?

Building interactive workflows does not strictly require plugin integration, but integrating components like agents, skills, and hooks enables robust multi-step orchestration and safe tool usage within Claude Code commands.