command-development

Design and standardize Claude Code slash commands with frontmatter and plugin integrations.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/nsalvacao/nsalvacao-claude-code-plugins --skill command-development-nsalvacao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/nsalvacao/nsalvacao-claude-code-plugins/tree/main/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/nsalvacao/nsalvacao-claude-code-plugins --skill command-development-nsalvacao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Command Development skill addresses the inconsistency and fragmentation in creating Claude Code slash commands by providing a standardized blueprint for command structure, frontmatter, dynamic arguments, file references, and plugin integration.

Core Features & Use Cases

  • Comprehensive guidance on Markdown command files, YAML frontmatter options, dynamic arguments, file references, bash execution, and command organization
  • Patterns for plugin integration (agents, skills, hooks) and validation, plus best practices for maintainable commands
  • Real-world use cases including command discovery, namespace organization, and safe, distributable command units

Quick Start

Create a minimal command file with a short description under .claude/commands, then progressively add frontmatter and plugin resources as you expand.

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 with dynamic arguments?

Claude Code slash commands are created by defining Markdown files with YAML frontmatter under the .claude/commands directory. You can progressively add dynamic arguments and file references to standardize command structure and handle variable inputs safely.

What frontmatter fields are required for a Claude Code command file?

Command files require a short description in the frontmatter to ensure proper command discovery. You can then expand the YAML frontmatter with additional fields for dynamic arguments, bash execution, and plugin resource integration as your command complexity grows.

How do I integrate Claude Code commands with agents, skills, and hooks?

You can integrate commands with agents, skills, and hooks by applying plugin patterns to the command file structure. This involves defining the appropriate frontmatter fields and Markdown references to connect the command unit with broader plugin development workflows.

What is the best way to organize and namespace Claude Code command files?

The best way to organize commands is by establishing a standardized directory structure under .claude/commands. Using consistent namespace organization and Markdown command patterns ensures your command units remain maintainable, validated, and safely distributable.

Can I execute bash scripts inside a Claude Code slash command?

Yes, bash execution is supported within Claude Code slash commands. The command file structure allows you to define bash execution blocks alongside dynamic arguments and file references, enabling automated workflows directly from the command interface.

How do I validate Claude Code commands for safe distribution?

Command validation involves checking frontmatter definitions, Markdown structure, and plugin integration compliance against established best practices. This ensures the command units are safe, maintainable, and properly formatted before distribution.