Command Development

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

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify --skill command-development-aws-educate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify/tree/main/.agents/skills/command-development
Command: npx skills add https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify --skill command-development-aws-educate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers you 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, file format, and essential YAML frontmatter for defining new commands.
  • Argument Handling: Master dynamic arguments ($1, $ARGUMENTS) and file references (@syntax) for flexible command inputs.
  • Workflow Automation: Understand how to integrate Bash execution (!command) and orchestrate complex multi-step processes.
  • Use Case: You need to create a new command that automatically reviews code for security issues, takes a file path as input, and uses Git commands to compare changes against the main branch. This Skill guides you through defining the command, its arguments, and necessary tools.

Quick Start

Use the command development skill to create a new slash command for reviewing 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 workflows?

You create slash commands by defining files with specific YAML frontmatter and structure. This skill guides you through formatting, dynamic arguments, and integrating bash execution to automate repetitive tasks.

Can I pass dynamic arguments and file references to slash commands?

Yes, slash commands support dynamic arguments like $1 and $ARGUMENTS. You can also use @syntax for file references to handle flexible inputs within your automated workflows.

What is the best way to organize and namespace Claude Code commands?

The best way to organize commands is through proper namespacing and directory structuring. This skill covers command organization best practices, plugin-specific features, and integration with agents and hooks.

How do I execute bash commands within a slash command workflow?

You execute bash commands within slash commands using the !`command` syntax. This allows you to orchestrate complex multi-step processes and integrate shell tools directly into your workflow.

Does plugin development support environment variables for command paths?

Yes, plugin development supports environment variables like ${CLAUDE_PLUGIN_ROOT} for command paths. This ensures robust command development and proper integration with agents, skills, and hooks.

How do I handle validation and errors in automated command workflows?

You handle validation and errors by implementing specific patterns within your command structure. This skill provides validation patterns and error handling techniques for robust command development.