command-development

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers users to create, configure, and manage Claude Code slash commands effectively, streamlining workflows and enhancing automation capabilities.

Core Features & Use Cases

  • Command Creation: Learn the structure, file format, and best practices for writing new slash commands.
  • Frontmatter Configuration: Understand and utilize YAML frontmatter fields for advanced command behavior (arguments, tools, models).
  • Dynamic Features: Implement dynamic arguments, file references, and bash execution for context-aware commands.
  • Organization & Best Practices: Discover strategies for organizing commands (namespacing) and follow best practices for maintainability and usability.
  • Plugin Integration: Leverage plugin-specific features like ${CLAUDE_PLUGIN_ROOT} for portable paths and integration with agents and skills.
  • Use Case: A developer needs to add a new slash command to their project to automate code reviews. This Skill provides all the necessary guidance on file structure, frontmatter options, argument handling, and best practices to create 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 slash commands for Claude Code?

To create Claude Code slash commands, you define the command structure in a file using YAML frontmatter and markdown, specifying allowed tools, models, and dynamic arguments to automate workflows.

How do I use YAML frontmatter to configure slash command behavior?

YAML frontmatter configures slash command behavior by defining metadata fields for dynamic arguments, permitted tools, and model selection, enabling advanced execution rules directly within the command file.

Can I execute bash scripts and reference files within Claude Code commands?

Yes, slash commands support bash execution and file references, allowing you to inject dynamic context, run shell operations, and process external file inputs during command execution.

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

Organize custom Claude commands using namespacing strategies and directory structures to ensure maintainability, prevent naming conflicts, and improve command discoverability across large projects.

How do I build portable slash commands for Claude plugin development?

Build portable slash commands for plugin development by using the `${CLAUDE_PLUGIN_ROOT}` variable for path resolution, ensuring commands integrate seamlessly with agents and skills across environments.

When should I use dynamic arguments instead of static text in slash commands?

Use dynamic arguments in slash commands when you need context-aware execution, allowing users to pass variable inputs at runtime rather than hardcoding static text values in the command structure.