claude-code-slash-commands

Create and configure Claude Code slash commands with frontmatter templates.

13|1|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/emdashcodes/claude-code-plugins --skill claude-code-slash-commands-emdashcodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-slash-commands
Source: https://github.com/emdashcodes/claude-code-plugins/tree/main/plugins/claude-code-meta/skills/claude-code-slash-commands
Command: npx skills add https://github.com/emdashcodes/claude-code-plugins --skill claude-code-slash-commands-emdashcodes

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Claude Code slash commands let teams create, configure, and reuse prompts as Markdown files that Claude can execute on demand, reducing setup time and errors.

Core Features & Use Cases

  • Create project, personal, or plugin commands with templated frontmatter and instructions.
  • Use advanced templates to support arguments, bash execution, and file references.
  • Example: scaffold a plugin command to standardize prompts across teams.

Quick Start

  • Use the script to scaffold a new command: scripts/create_slash_command.sh my-command --project
  • Or manually create a Markdown file in the appropriate directory with a proper frontmatter and instructions.

Frequently Asked Questions about claude-code-slash-commands

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

FAQPage Schema
How do I create Claude Code slash commands for my project?

To create Claude Code slash commands, you scaffold a Markdown file with proper frontmatter and instructions in the appropriate project, personal, or plugin directory. You can use a shell script to automate scaffolding or manually define the command structure.

What are Claude Code slash commands and when should I use them?

Claude Code slash commands are reusable Markdown prompts that Claude executes on demand. You use them to standardize workflows across teams, reducing setup time and errors by configuring templated instructions for repetitive development tasks.

Can I use arguments and bash execution in Claude Code slash commands?

Yes, Claude Code slash commands support advanced templates that include arguments, bash execution, and file references. You configure these capabilities within the command's frontmatter and instruction blocks to automate complex workflows.

How do I scaffold a plugin command to standardize prompts across teams?

You scaffold a plugin command by running the creation script with the plugin scope flag or by manually creating a Markdown file with the correct frontmatter. This enforces a well-defined, tested command structure ready for team-wide use.

What is the difference between project, personal, and plugin command scopes?

Project, personal, and plugin scopes determine where the Markdown command file resides and who can access it. Project commands apply to a specific repository, personal commands are user-specific, and plugin commands are distributed as part of a plugin.

Do I need specific frontmatter structure for Claude Code slash commands to work?

Yes, Claude Code slash commands require a specific frontmatter structure to define the command properly. Enforcing this template ensures the commands are recognized, well-defined, tested, and ready for execution within your development workflow.