Command Development

Design Claude Code slash commands with YAML frontmatter and argument handling.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ricable/mcai --skill command-development-ricable
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/ricable/mcai/tree/main/.agents/skills/command-development
Command: npx skills add https://github.com/ricable/mcai --skill command-development-ricable

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you design slash commands that are easy to discover, safe to run, and consistent to maintain instead of scattering ad hoc prompts across a project.

Core Features & Use Cases

  • Frontmatter Design: Choose the right description, tools, model, and argument hints for a command.
  • Workflow Structure: Write commands that combine file references, Bash context gathering, validation, and clear step-by-step instructions.
  • Organization & Distribution: Organize commands into namespaces, integrate with plugin skills and agents, and document them for team reuse.
  • Use Case: A team building code review, deployment, or documentation commands can use this Skill to standardize command files, reduce mistakes, and make each workflow easier to understand and test.

Quick Start

Use the command-development skill to draft a new slash command for your workflow, including its frontmatter, arguments, tool permissions, and usage notes.

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 Claude Code slash commands for team workflows?

Creating reusable Claude Code slash commands involves designing command files with YAML frontmatter, defining argument hints, and writing step-by-step instructions. This approach standardizes workflows like code review or deployment, ensuring commands are discoverable and safe to run.

What is YAML frontmatter used for when authoring slash commands?

YAML frontmatter defines essential command metadata, including description, allowed tools, model selection, and argument hints. Configuring this metadata properly ensures commands are discoverable, operate within constrained tool permissions, and execute predictably during interactive workflows.

How do I handle arguments and interactive prompts in Claude Code commands?

To handle arguments and interactive prompts in Claude Code commands, you define argument hints in the frontmatter and write validation patterns in the command body. This structure captures user input securely and guides interactive workflows through clear step-by-step execution.

Can I execute Bash scripts and reference files within a slash command workflow?

You can execute Bash scripts and reference files within a slash command workflow by combining Bash context gathering, file references, and validation patterns. This structure allows commands to automate complex software engineering tasks safely and maintainably.

What is the best way to organize plugin commands for team distribution?

Organizing plugin commands for team distribution is best achieved by grouping commands into logical namespaces, integrating with plugin skills and agents, and maintaining clear documentation. This standardization reduces mistakes and makes workflows easier to understand, test, and reuse.

Why do my ad hoc Claude Code prompts cause inconsistencies across projects?

Ad hoc Claude Code prompts cause inconsistencies because they lack standardized metadata, constrained tool permissions, and validation patterns. Authoring dedicated slash commands with proper frontmatter and documentation ensures safe, maintainable, and predictable automation across teams and projects.