Command Development

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

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SS2608-dev/Resilience --skill command-development-ss2608-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/SS2608-dev/Resilience/tree/main/.agents/skills/command-development
Command: npx skills add https://github.com/SS2608-dev/Resilience --skill command-development-ss2608-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill empowers users to create, organize, and optimize Claude Code slash commands, transforming repetitive tasks into efficient, reusable workflows.

Core Features & Use Cases

  • Command Creation: Learn the structure, syntax, and best practices for writing effective slash commands.
  • Argument Handling: Master dynamic arguments ($1, $ARGUMENTS) and file references (@path).
  • Bash Integration: Safely execute shell commands for dynamic context.
  • Plugin Commands: Understand how to leverage ${CLAUDE_PLUGIN_ROOT} and organize commands within plugins.
  • Use Case: A developer needs to create a new command to automate code reviews. This Skill guides them through defining arguments, using Git commands, and structuring the output for clarity.

Quick Start

Use the command development skill to create a new slash command for deploying code to a staging environment.

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 Claude Code slash commands for automating repetitive tasks?

To create custom Claude Code slash commands, you define them in a structured file format using YAML frontmatter. This allows you to establish reusable workflows by structuring the command syntax and integrating dynamic arguments for specific automation needs.

How do you use dynamic arguments and bash execution in Claude Code slash commands?

Dynamic arguments in slash commands are handled using variables like $1 and $ARGUMENTS. You can safely execute bash shell commands within these workflows to gather dynamic context or perform system actions during command execution.

What is the best way to organize plugin-specific slash commands using ${CLAUDE_PLUGIN_ROOT}?

Organizing plugin-specific slash commands involves leveraging the ${CLAUDE_PLUGIN_ROOT} variable to properly namespace and reference command files. This ensures commands are correctly structured and integrated within the broader plugin environment.

Can I integrate slash commands with agents, skills, and hooks in Claude Code?

Yes, slash commands support integration patterns with agents, skills, and hooks. This allows you to build complex automated workflows where commands trigger downstream processes or interact with other system components.

How do file references and namespacing work when developing slash commands?

File references in slash commands are handled using the @path syntax to include external context. Namespacing helps organize commands logically, preventing conflicts and ensuring efficient command discovery within the Claude Code environment.