command-development

Design and validate Claude Code slash commands with frontmatter and plugin integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a structured approach to designing Claude Code slash commands, ensuring consistent frontmatter, prompt structure, and plugin integration across teams.

Core Features & Use Cases

  • Frontmatter-driven design for command metadata, including mandatory fields like name and description
  • Dynamic arguments, file references, and Bash execution patterns
  • Plugin integration patterns with agents, skills, and hooks
  • Validation, testing, and maintenance practices for scalable command development
  • Supports both simple commands and advanced multi-command workflows across plugins

Quick Start

Define a sample command in SKILL.md with frontmatter and a minimal prompt to test the workflow.

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 valid YAML frontmatter?▼

To create Claude Code slash commands, define a SKILL.md file with mandatory YAML frontmatter fields like name and description, then structure your prompt logic to enforce consistent command metadata validation.

What is the best way to design plugin-enabled commands for Claude Code?▼

Designing plugin-enabled commands involves structuring your command library with frontmatter-driven metadata, dynamic arguments, and plugin integration patterns that connect agents, skills, and hooks across interactive workflows.

Does Claude Code command development support dynamic arguments and file references?▼

Yes, Claude Code command development supports dynamic arguments, file references, and Bash execution patterns within your command structure, allowing flexible prompt interactions and automated project-wide workflows.

How do I validate and test a project-wide Claude Code command library?▼

Validate your Claude Code command library by enforcing frontmatter requirements, checking structured metadata outputs including dependencies and components, and applying maintenance practices to ensure scalable command design.

Can I build advanced multi-command workflows across plugins in Claude Code?▼

Yes, you can build advanced multi-command workflows across plugins by utilizing interactive workflow patterns, optional resources, and plugin integration to connect multiple commands within a unified project library.