Command Development

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill empowers users to create, configure, and manage Claude Code slash commands efficiently, transforming complex workflows into simple, reusable commands.

Core Features & Use Cases

  • Command Creation: Learn the Markdown format, YAML frontmatter, and dynamic argument syntax.
  • Organization & Namespacing: Structure commands logically for team or personal use.
  • Plugin Integration: Understand how to leverage plugin-specific features like ${CLAUDE_PLUGIN_ROOT} and integrate with agents and skills.
  • Use Case: A developer needs to create a new slash command to automate code reviews. They consult this Skill to understand the file structure, frontmatter options for specifying allowed tools, and how to use file references to include code snippets in the prompt.

Quick Start

Use the command development skill to create a new slash command for reviewing code.

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 using Markdown?

To create Claude Code slash commands, you write Markdown files with YAML frontmatter to specify allowed tools and use dynamic argument syntax to accept runtime inputs. This Skill provides comprehensive guidance on the exact file format and structure required to build and deploy commands.

What is the best way to organize and namespace custom slash commands?

The best way to organize custom slash commands is by structuring them logically for team or personal use through consistent file naming and directory patterns. This Skill covers organization patterns that help you manage and deploy commands efficiently across different environments.

How does dynamic argument syntax work in Claude Code plugin commands?

Dynamic argument syntax in plugin commands allows you to pass runtime variables directly into your prompt template, enabling flexible automation workflows. This Skill explains how to configure these arguments within the Markdown format and YAML frontmatter to support dynamic execution.

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

Yes, you can use bash execution and file references within Claude Code commands to include code snippets in the prompt and execute scripts. This Skill details how to configure these features to automate complex workflows seamlessly.

Does command development support plugin-specific features like environment variables?

Yes, command development supports plugin-specific features like the ${CLAUDE_PLUGIN_ROOT} environment variable to integrate with agents and skills. This Skill explains how to leverage these variables for robust plugin command development and validation patterns.

What are the limitations when validating robust Claude Code commands?

When building robust Claude Code commands, limitations may arise from incorrect YAML frontmatter parsing or unsupported bash execution environments. This Skill provides validation patterns to anticipate edge cases and ensure your command deployment remains stable.