command-development

Create and manage Claude Code slash commands with YAML frontmatter.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creating and maintaining Claude Code slash commands is a complex, repetitive task that benefits from standardization and tooling.

Core Features & Use Cases

  • YAML frontmatter driven command definitions with name and description
  • Dynamic arguments, file references, and Bash execution patterns
  • Plugin integration guidance (agents, skills, hooks) and multi-component workflows
  • Namespace-aware command organization and composition for scalable automation
  • Guidance for validation, error handling, and best practices in command design

Quick Start

Provide a minimal example by creating a new Markdown file with a frontmatter block and a simple prompt body that Claude can execute.

Frequently Asked Questions about command-development

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

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

To create Claude Code slash commands, define a Markdown file with YAML frontmatter containing a name and description, followed by a prompt body. This standardization enforces naming conventions and supports dynamic arguments.

What is the best way to structure slash commands for plugin integration?

The best way to structure commands for plugin integration is using namespace-aware organization. This approach supports multi-component workflows by connecting agents, skills, and hooks within the command definitions.

Can I use dynamic arguments and file references in Claude Code command development?

Yes, Claude Code command development supports dynamic arguments, file references, and Bash execution patterns. These features enable scalable automation and complex workflow compositions across projects.

How do you handle validation and error handling in custom slash commands?

Validation and error handling in custom slash commands require applying documented best practices during command design. The development process provides specific guidance for enforcing frontmatter conventions and managing execution errors.

Does Claude Code command development work for team environments and multiple projects?

Yes, Claude Code command development applies across projects, plugins, and teams. It uses namespace-aware command organization to ensure scalable automation and consistent workflow patterns.

Why does my slash command fail to execute properly in Claude Code?

Slash commands often fail when YAML frontmatter conventions are not properly enforced. Ensure the command file includes required name and description fields and follows validation and error handling best practices.