command-development

Create Claude Code slash commands with YAML frontmatter and dynamic arguments.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/GongXLiang/plot-study --skill command-development-gongxliang
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/GongXLiang/plot-study/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/GongXLiang/plot-study --skill command-development-gongxliang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Inconsistent command design and scattered guidance for Claude Code slash commands hinder discovery and reliable execution. This skill provides a clear blueprint for command structure, frontmatter conventions, dynamic arguments, file references, and plugin integration to standardize creation and governance of commands.

Core Features & Use Cases

  • YAML frontmatter configuration for fields like description, allowed-tools, model, and argument-hint
  • Dynamic argument handling with $ARGUMENTS and positional arguments
  • File references with @ syntax and inline Bash execution patterns
  • Plugin integration patterns (agents, skills, hooks) and multi-component workflows
  • Rich references and examples to accelerate command development

Quick Start

Create a minimal SKILL.md following the documented frontmatter and reference sections to begin using the Skill.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I configure YAML frontmatter for Claude Code slash commands?▼

YAML frontmatter for Claude Code slash commands requires specific schema fields including description, allowed-tools, model, and argument-hint. This schema enforces command structure, supports tool restrictions, and ensures reliable execution across plugin and project workflows.

How do I pass dynamic arguments to Claude Code commands?▼

Dynamic argument handling in Claude Code commands uses $ARGUMENTS and positional arguments to pass user inputs. This allows flexible command execution by injecting runtime values directly into the command prompt or bash execution patterns.

Can I use inline bash execution and file references within Claude Code commands?▼

Inline bash execution and file references are supported within Claude Code commands using @ syntax for files. This enables multi-component workflows by allowing commands to read referenced files and execute shell scripts directly during execution.

What is the best way to integrate custom commands into Claude Code plugin workflows?▼

Plugin integration for Claude Code commands involves connecting agents, skills, and hooks using established composition patterns. This standardizes command governance and enables multi-component workflows within plugin development.

Does Claude Code command development support model selection and tool restrictions?▼

Claude Code command development supports model selection and tool restrictions through YAML frontmatter configuration. The allowed-tools field restricts executable tools, while the model field specifies the target model for command processing.

Why do my Claude Code commands fail due to inconsistent frontmatter schema?▼

Claude Code commands fail when the frontmatter schema is inconsistent or missing required fields. Applying a standardized blueprint for frontmatter conventions, dynamic arguments, and file references resolves execution and discovery issues.