command-development

Build and validate Claude Code slash commands with YAML frontmatter and Bash execution.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers design and validate Claude Code slash commands by providing structured frontmatter, file references, bash execution patterns, and plugin integration guidance.

Core Features & Use Cases

  • YAML frontmatter field specifications (description, allowed-tools, model, argument-hint, etc.)
  • Command structure and file formats for commands (.md), with support for dynamic arguments, file references, and Bash execution
  • Plugin-specific patterns (CLAUDE_PLUGIN_ROOT usage, plugin command patterns, agent/skill/hook integration)
  • Command organization (flat vs namespaced), validation patterns, error handling, and best practices
  • Interactive and multi-stage workflows demonstration across patterns; references and examples provided

Quick Start

Create a new command file with a concise prompt and YAML frontmatter, then write the command body.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create custom slash commands in Claude Code?

To create custom slash commands in Claude Code, you write a Markdown file with YAML frontmatter defining fields like description and allowed-tools, then add the command body with dynamic arguments and file references to standardize prompt execution.

What frontmatter fields are required for Claude Code command development?

Claude Code command development requires specifying YAML frontmatter fields such as description, allowed-tools, model, and argument-hint to ensure consistent, safe prompt execution and proper tool permission validation.

How does bash execution work inside Claude Code slash commands?

Bash execution within Claude Code slash commands allows the command body to run shell scripts dynamically, enabling robust workflow automation while enforcing validation patterns and error handling for safe command operations.

Can I organize Claude Code commands using a namespaced directory structure?

Yes, Claude Code commands support both flat and namespaced directory structures, allowing you to organize command files hierarchically to support plugin integration and scalable project organization.

How do I integrate Claude Code slash commands into plugin patterns?

Plugin integration for Claude Code slash commands involves using CLAUDE_PLUGIN_ROOT variables and specific plugin command patterns to connect agents, skills, and hooks within a distributed workflow architecture.

What are the limitations when validating dynamic arguments in Claude Code commands?

Validating dynamic arguments in Claude Code commands requires enforcing strict field specifications and error handling patterns to prevent prompt injection, with limitations on unsupported argument types outside the defined YAML frontmatter schema.