command-development

Create and validate Claude Code slash commands with standardized frontmatter templates and plugin patterns.

1|Updated Apr 30, 2025
One-click install
npx skills add https://github.com/lucasfth/config --skill command-development-lucasfth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/lucasfth/config/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/lucasfth/config --skill command-development-lucasfth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developing slash commands for Claude Code can be complex and error-prone without a standardized framework.

Core Features & Use Cases

  • YAML frontmatter-driven command templates and validation
  • Dynamic arguments, file references, and inline bash execution
  • Plugin-patterns for agents, skills, and hooks with stateful workflows
  • Guidance for multi-command composition, namespaces, and distribution

Quick Start

Create a new slash command using the standard frontmatter and plugin patterns, then verify it with /help.

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

Slash commands for Claude Code are created using structured YAML frontmatter templates that define arguments, file references, and inline bash execution, then validated through the /help command to ensure proper formatting.

What are plugin patterns for Claude Code agents and hooks?

Plugin patterns for Claude Code provide standardized structures for integrating agents, skills, and hooks with stateful workflows, enabling multi-command composition, namespaces, and distribution across project, plugin, and user contexts.

How do I add dynamic arguments and inline bash execution to Claude Code commands?

Dynamic arguments and inline bash execution are added to Claude Code commands by defining them within the YAML frontmatter template structure, allowing commands to accept variable input and run shell operations directly.

Does Claude Code support multi-command composition and namespaces for slash commands?

Claude Code supports multi-command composition and namespaces for slash commands, allowing developers to organize and distribute related commands across project, plugin, and user contexts with proper state management.

What is the best way to validate slash commands before distributing a Claude Code plugin?

The best way to validate slash commands before distributing a Claude Code plugin is to use the provided validation framework and verify commands with the /help command, ensuring compatibility with agents, skills, and hooks.

Why do my Claude Code slash commands fail to integrate with agents and state management?

Claude Code slash commands fail to integrate with agents and state management when they lack standardized frontmatter or proper plugin patterns, which this skill resolves by providing documented references and best practices for compatibility.