Command Development

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

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/wellnessbrotherjay-debug/ts-residence --skill command-development-wellnessbrotherjay-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/wellnessbrotherjay-debug/ts-residence/tree/main/.agents/skills/command-development
Command: npx skills add https://github.com/wellnessbrotherjay-debug/ts-residence --skill command-development-wellnessbrotherjay-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It eliminates the need to manually craft Claude Code slash commands by providing a complete blueprint for command structure, frontmatter options, dynamic arguments, and best‑practice patterns, enabling developers to automate repetitive workflows quickly.

Core Features & Use Cases

  • Command File Format: Detailed markdown layout with optional YAML frontmatter for configuration.
  • Dynamic Arguments: Support for $ARGUMENTS, positional $1, $2, and custom argument hints.
  • File & Bash Integration: @ syntax for file inclusion and ! syntax for bash execution within commands.
  • Plugin Support: Guidance on ${CLAUDE_PLUGIN_ROOT}, namespacing, and multi‑component workflows.
  • Validation & Error Handling: Patterns for input checks, resource validation, and graceful failure messages.

Quick Start

Ask Claude to create a new slash command using this skill for instant workflow automation.

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?

To create Claude Code slash commands, define a markdown file with YAML frontmatter and use dynamic arguments like $ARGUMENTS or positional $1 and $2 to pass user inputs directly into your automated workflow.

What is the best way to automate repetitive tasks using Claude Code?

The best way to automate repetitive tasks in Claude Code is by building custom slash command files that integrate bash execution and file references, eliminating the need to manually craft workflows for recurring development actions.

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

Yes, you can use bash execution within Claude slash commands by applying the ! syntax, and include file references using the @ syntax to integrate external resources and scripts directly into your command workflows.

How do I configure YAML frontmatter for custom Claude commands?

Configure YAML frontmatter for custom Claude commands by adding a metadata block to your markdown file, allowing you to set command syntax, argument hints, and plugin integration rules without external dependencies.

Does Claude Code support plugin integration for multi-component workflows?

Claude Code supports plugin integration for multi-component workflows by utilizing the CLAUDE_PLUGIN_ROOT variable for path resolution and applying namespacing to organize command structures across different plugins.

How to handle input validation and errors in Claude slash commands?

Handle input validation and errors in Claude slash commands by applying patterns for input checks, resource validation, and graceful failure messages to ensure your command workflows fail safely without external dependencies.