command-development

Document Claude Code slash commands in Markdown with YAML frontmatter.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill command-development-mahmoud20138
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/command-development
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill command-development-mahmoud20138

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams standardize the creation and governance of Claude Code slash commands by providing structured guidance on prompt design, frontmatter configuration, and command organization.

Core Features & Use Cases

  • Structured command design: outlines the Markdown-based command format, YAML frontmatter fields, and how to reference files and scripts.
  • Frontmatter patterns: explains common fields (name, description, version, category, tags, dependencies, components) and how to evolve commands safely.
  • Use cases: for plugin commands, project commands, and user-defined commands within Claude Code workflows.

Quick Start

Create a new command by adding a Markdown file with YAML frontmatter under the appropriate commands directory and implement the prompt following the guidance in this skill.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create a slash command for Claude Code using Markdown and YAML frontmatter?

Create a slash command for Claude Code by adding a Markdown file with YAML frontmatter under the appropriate commands directory. Define required fields like name, description, version, and category to establish consistent, reusable command workflows.

What is the difference between project, user, and plugin command scopes in Claude Code?

Project, user, and plugin command scopes determine where Claude Code slash commands are stored and how they are accessed. Project commands are repository-specific, user commands are global, and plugin commands are distributed as part of plugin workflows.

How do I use dynamic arguments and file references in Claude Code plugin commands?

Dynamic arguments and file references in Claude Code plugin commands are implemented within the Markdown prompt body. You can configure these patterns alongside bash execution to enable flexible, reusable command workflows.

What YAML frontmatter fields are required for a Claude Code slash command?

Required YAML frontmatter fields for Claude Code slash commands include name, description, version, category, tags, dependencies, and components. These fields ensure proper command governance, safe evolution, and structured integration.

Can I execute bash scripts directly from a Claude Code slash command?

Yes, Claude Code slash commands support bash execution patterns within the Markdown prompt. This allows you to reference scripts and execute commands directly, enabling robust and automated plugin workflows.

What are the limitations when organizing Claude Code commands across different scopes?

When organizing Claude Code commands across project, user, and plugin scopes, limitations involve ensuring proper directory placement and maintaining safety considerations. Commands must follow structured frontmatter patterns to prevent integration conflicts.