Command Development

Create Claude Code slash commands with Markdown, YAML frontmatter, and bash scripts.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/rbkayz/gitskills --skill command-development-rbkayz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/rbkayz/gitskills/tree/main/skills/registry/anthropics-command-development
Command: npx skills add https://github.com/rbkayz/gitskills --skill command-development-rbkayz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on creating and managing slash commands for Claude Code, enabling users to build powerful, reusable workflows.

Core Features & Use Cases

  • Command Structure: Learn the Markdown format and YAML frontmatter for defining commands.
  • Dynamic Arguments: Implement positional and wildcard arguments for flexible command inputs.
  • File References: Include file contents directly within commands using @ syntax.
  • Bash Execution: Integrate shell commands for dynamic context gathering.
  • Organization: Structure commands using flat or namespaced directories.
  • Use Case: A developer needs to create a new command that takes a file path as an argument, reads its content, and then uses that content to generate documentation according to a specific template. This Skill teaches them how to define the command, handle the file argument, reference the template, and structure the prompt for Claude.

Quick Start

Use the command development skill to learn how to create a new slash command that accepts a file path argument and includes its content in the prompt.

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

To create custom Claude Code slash commands, you define Markdown files with YAML frontmatter to establish the command structure and prompt instructions. This approach enables you to build reusable, structured workflows with dynamic arguments.

How do I pass dynamic arguments to a Claude Code slash command?

You can implement dynamic arguments in Claude Code slash commands by using positional and wildcard argument parsing within the YAML frontmatter. This allows your command to flexibly accept and route variable inputs directly into the prompt.

Can I include file contents directly in my Claude Code prompt?

Yes, you can include file contents directly within your Claude Code commands by referencing file paths using the `@` syntax. This injects the file's content into the prompt to provide specific context for Claude to process.

How do I integrate bash scripts into Claude Code commands?

You can integrate shell commands into Claude Code commands to gather dynamic context before the prompt executes. This bash execution capability allows your command to pull real-time data from your environment.

What is the best way to organize custom slash commands for workflows?

The best way to organize custom slash commands is by using flat or namespaced directory structures. Proper command organization ensures your workflow automation remains maintainable and easy to navigate as your prompt library grows.

Does Claude Code support referencing external files for prompt templates?

Claude Code supports referencing external files for prompt templates using `@` syntax to inject content. This allows you to separate your template definitions from your command logic and reuse them across multiple workflows.