command-development

Create Claude Code slash commands with YAML frontmatter and argument parsing.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/TomazWang/agent-toolkit --skill command-development-tomazwang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/TomazWang/agent-toolkit/tree/main/plugins/plugin-creator/skills/command-development
Command: npx skills add https://github.com/TomazWang/agent-toolkit --skill command-development-tomazwang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating consistent, well-documented slash commands for Claude Code plugins, including argument parsing and YAML frontmatter, to reduce errors and improve developer onboarding.

Core Features & Use Cases

  • Provides a standardized template for command definitions with required YAML frontmatter and optional usage examples.
  • Documents command structure, argument patterns, and integration points with skills, agents, and hooks.
  • Guides best practices for naming, prefix handling, and error messaging in command definitions.

Quick Start

Create a new command file under commands/ with YAML frontmatter and implement argument parsing.

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 with YAML frontmatter for Claude Code plugins?

Creating slash commands for Claude Code plugins involves defining a command file under commands/ with YAML frontmatter, specifying required name and description fields, and implementing argument parsing logic to ensure robust and consistent command execution.

What is the standard structure for parsing arguments in CLI plugin development?

Standard argument parsing for CLI plugin development involves documenting command structure, defining argument patterns, and applying consistent YAML frontmatter usage to reduce errors and improve developer onboarding across command definitions.

Do I need YAML frontmatter to build slash commands for Claude Code?

Yes, YAML frontmatter is required for building slash commands for Claude Code, enforcing mandatory name and description fields to standardize command structure and ensure consistent plugin integration.

What's the best way to validate command structure and naming conventions for plugin development?

The best way to validate command structure is by applying standardized templates that enforce YAML frontmatter, standard command patterns, and best practices for naming and prefix handling to ensure consistency across plugin commands.

How do slash commands integrate with skills and hooks in Claude Code?

Slash commands integrate with skills and hooks by defining integration points within the command structure, enabling plugin developers to connect command execution with broader Claude Code agent and hook workflows.