Command Development

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

7|2|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/m31uk3/ai-skills --skill command-development-m31uk3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/m31uk3/ai-skills/tree/main/skills/anthropic/official-skills/command-development
Command: npx skills add https://github.com/m31uk3/ai-skills --skill command-development-m31uk3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill consolidates best practices for creating Claude Code slash commands, including frontmatter structure, dynamic arguments, file references, and plugin patterns. It helps teams design scalable, discoverable, and safe commands.

Core Features & Use Cases

  • Frontmatter-driven design: Use YAML frontmatter to configure command behavior, discovery, and tooling.
  • Dynamic arguments & references: Support for $ARGUMENTS, $1, @file references, and bash execution within commands.
  • Plugin-aware patterns: Organization, root references, and multi-script templates for plugin ecosystems.
  • Validation & UX patterns: Error handling, testing strategies, marketplace considerations, and distribution readiness.

Quick Start

Define a simple command with frontmatter, validate its discovery, then progressively add references and examples as needed.