command-development

Create and configure Claude Code slash commands with Markdown and YAML frontmatter.

Updated Sep 30, 2024
One-click install
npx skills add https://github.com/phillip-hirsch/dotfiles --skill command-development-phillip-hirsch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/phillip-hirsch/dotfiles/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/phillip-hirsch/dotfiles --skill command-development-phillip-hirsch

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive guidance on creating, managing, and integrating Claude Code slash commands, helping users streamline their workflows and enhance productivity.

Core Features & Use Cases

  • Command Creation and Configuration: Detailed instructions on crafting slash commands, including file format, frontmatter options, and best practices.
  • Plugin Integration: Guidance on incorporating commands with plugin components like agents, skills, and hooks.
  • Dynamic Arguments: Explanation of how to use dynamic arguments for flexible command invocations.
  • File References and Bash Execution: Instructions on incorporating file references and executing Bash commands within commands.
  • Command Organization: Strategies for organizing commands in a structured and maintainable manner.
  • Best Practices and Troubleshooting: Best practices for command development and troubleshooting tips for common issues.
  • Examples: Demonstrations of various command scenarios and use cases.

Quick Start

Create a new slash command by writing a Markdown file in the .claude/commands/ directory and adding YAML frontmatter with the necessary details.

Frequently Asked Questions about command-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Claude Code slash command using YAML frontmatter?

To create a Claude Code slash command, write a Markdown file in the `.claude/commands/` directory and add YAML frontmatter to configure the necessary command details and invocation behavior.

Can I use dynamic arguments and file references in Claude Code commands?

Yes, Claude Code commands support dynamic arguments for flexible invocations and allow incorporating file references to provide context directly within the command execution workflow.

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

The best way to manage slash commands is applying structured organization strategies within the `.claude/commands/` directory, ensuring maintainability alongside following configuration best practices.

Does Claude Code command development support Bash execution and plugin integration?

Claude Code command development supports executing Bash commands directly within command files and provides guidance on integrating commands with plugin components like agents, skills, and hooks.

Do I need prior familiarity with Claude Code syntax to develop slash commands?

Yes, developing slash commands requires familiarity with Claude Code syntax and conventions to properly utilize file formats, frontmatter options, and the platform's specific execution mechanisms.