command-development

Design Claude Code slash commands with structured YAML frontmatter and naming conventions.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/mobster570/oc-claude-plugin-dev --skill command-development-mobster570
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/mobster570/oc-claude-plugin-dev/tree/main/plugin-src/skills/command-development
Command: npx skills add https://github.com/mobster570/oc-claude-plugin-dev --skill command-development-mobster570

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and examples (resource) components.

What problem does it solve?

This guide helps developers design consistent Claude Code slash commands by providing structured frontmatter, clear command organization, and practical references.

Core Features & Use Cases

  • Frontmatter pattern guidance for name, description, allowed-tools, model, and argument-hint.
  • Command organization & namespacing to structure plugin and project commands with clear namespaces.
  • Dynamic arguments & file references covering $ARGUMENTS, $1, and @path syntax, plus Bash execution patterns.
  • Integration & validation patterns including hooks, agents, and skills coordination for reliable automation.
  • Reference-rich workflow patterns to support reusable templates, templates, and multi-file workflows.

Quick Start

Create a minimal command Markdown with frontmatter and a simple prompt to Claude Code.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create a Claude Code slash command with YAML frontmatter?

To create a Claude Code slash command, you write a Markdown file with YAML frontmatter containing a name and description, followed by a prompt. This structured frontmatter establishes consistent command organization and namespacing for plugin-based automation.

What's the best way to structure dynamic arguments in slash commands?

Dynamic arguments in slash commands are structured using $ARGUMENTS, positional variables like $1, and @path syntax for file references. This allows interactive flows to accept dynamic inputs and execute Bash patterns within the command template.

How does command namespacing work for plugin-based commands?

Command namespacing organizes plugin and project commands by applying clear naming conventions within the YAML frontmatter. This structured organization prevents naming collisions and coordinates command execution across different plugin resources.

Can I integrate hooks and agents with custom slash commands?

Yes, custom slash commands support integration and validation patterns by coordinating hooks, agents, and skills. This enables reliable automation workflows that validate command execution and extend functionality across multi-file references.

Do I need allowed-tools and model fields in command frontmatter?

The allowed-tools and model fields are optional frontmatter properties for slash commands. Including them provides frontmatter pattern guidance to control tool access and model selection, ensuring commands execute with the appropriate permissions.

Why are my slash command file references not working?

Slash command file references fail when the @path syntax is incorrectly structured or the referenced file is missing. Ensure dynamic arguments and file references follow the established template patterns and Bash execution syntax for proper validation.