Command Development

Create Claude Code slash commands with YAML frontmatter and Bash integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill empowers users to create, understand, and effectively utilize Claude Code slash commands, transforming repetitive tasks into streamlined, automated workflows.

Core Features & Use Cases

  • Command Creation: Learn the structure, syntax, and best practices for writing custom slash commands.
  • Argument Handling: Master dynamic arguments ($1, $ARGUMENTS) and file references (@path/to/file) for flexible command inputs.
  • Bash Integration: Seamlessly execute shell commands within your prompts for dynamic context gathering.
  • Plugin Development: Understand how to organize commands within plugins, leverage ${CLAUDE_PLUGIN_ROOT}, and integrate with agents and skills.
  • Use Case: A developer needs to create a new command to automate code review. This Skill provides the foundational knowledge on command structure, frontmatter options, argument handling, and best practices to build a robust and discoverable command.

Quick Start

Use the command development skill to learn how 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 Claude Code slash commands to automate workflows?

To create Claude Code slash commands, you structure markdown files with specific YAML frontmatter, utilizing dynamic arguments and file references to build automated workflows.

How do I use dynamic arguments and file references in slash commands?

Dynamic arguments in slash commands use syntax like $1 or $ARGUMENTS for flexible inputs, while file references use @path/to/file to include external context directly in the prompt.

Can I execute bash scripts within Claude Code command prompts?

Yes, you can seamlessly execute bash scripts within Claude Code command prompts to gather dynamic context and integrate shell execution directly into your automated workflows.

What is the best way to organize slash commands within a plugin?

The best way to organize slash commands within a plugin is by leveraging the ${CLAUDE_PLUGIN_ROOT} variable to structure files and integrating them with agent and skill components.

Does Claude Code command development support validation patterns and best practices?

Claude Code command development supports validation patterns and best practices by providing comprehensive guidance on file format, frontmatter options, and command optimization techniques.