command-development

Create Claude Code slash commands with YAML frontmatter and bash execution.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/ffalor/agentic-coding --skill command-development-ffalor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/ffalor/agentic-coding/tree/main/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/ffalor/agentic-coding --skill command-development-ffalor

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill empowers users to create, configure, and organize custom slash commands for Claude Code, streamlining workflows and enhancing productivity.

Core Features & Use Cases

  • Command Creation: Learn the structure, file format, and best practices for writing new commands.
  • Frontmatter Configuration: Understand and utilize YAML frontmatter fields like description, allowed-tools, model, and argument-hint for command control and discovery.
  • Dynamic Arguments & File References: Master using $1, $ARGUMENTS, and @path/to/file for flexible command inputs.
  • Bash Execution: Integrate shell commands (`!``) for dynamic context gathering.
  • Organization & Namespacing: Structure commands logically using directories for better discoverability.
  • Plugin Integration: Leverage ${CLAUDE_PLUGIN_ROOT} and understand plugin-specific command patterns.
  • Interactive Commands: Design commands that use AskUserQuestion for dynamic user input.
  • Validation & Error Handling: Implement robust checks for arguments, files, and script execution.
  • Use Case: A developer needs to create a new command to automate code reviews. They use this Skill to learn the file structure, how to define arguments for pull request numbers, how to reference the code files, and how to use allowed-tools to permit Git commands.

Quick Start

Use the command development skill to create a new slash command for Claude 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 custom slash commands for Claude Code?

Create custom slash commands for Claude Code by defining the file structure and utilizing YAML frontmatter fields like `description`, `allowed-tools`, and `model` for command control and discoverability. This facilitates the development of reusable, interactive commands.

How do dynamic arguments work in Claude Code command development?

Dynamic arguments in Claude Code command development work by using tokens like `$1` and `$ARGUMENTS` to pass flexible inputs, while `@path/to/file` references specific files. This allows commands to adapt dynamically based on user-provided context.

Can I execute bash commands within a Claude Code slash command?

Yes, you can execute bash commands within a Claude Code slash command by integrating shell commands using the `!` syntax. This enables dynamic context gathering directly within your custom command workflows.

What is the best way to organize slash commands for better discoverability?

The best way to organize slash commands for better discoverability is by structuring them logically using directories. This namespacing approach keeps commands organized and easily accessible as your custom command library grows.

How do I make Claude Code commands interactive?

Make Claude Code commands interactive by designing them to use the `AskUserQuestion` feature for dynamic user input. Combined with validation and error handling for arguments and files, this creates robust interactive workflows.

Does Claude Code command development support plugin-specific patterns?

Yes, Claude Code command development supports plugin-specific patterns by leveraging variables like `${CLAUDE_PLUGIN_ROOT}`. This allows you to integrate custom commands seamlessly into broader plugin development architectures.