create-slash-commands

Create custom Claude Code slash commands with YAML frontmatter and XML tags.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/royhenengel/Claude-Customizations --skill create-slash-commands-royhenengel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-slash-commands
Source: https://github.com/royhenengel/Claude-Customizations/tree/main/skills/Tooling/slash-command-builder/references/taches-create-slash-commands
Command: npx skills add https://github.com/royhenengel/Claude-Customizations --skill create-slash-commands-royhenengel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance for creating effective slash commands in Claude Code, enabling users to trigger reusable prompts with custom /command-name syntax and standardize workflows.

Core Features & Use Cases

  • Command Structure: Learn to structure commands using XML tags, YAML frontmatter, and dynamic context loading.
  • Argument Handling: Understand how to define and use arguments for flexible command execution.
  • Use Case: You need to create a new /summarize-code command that takes a file path as an argument and returns a concise summary of the code within that file.

Quick Start

Use the create-slash-commands skill to learn how to define a new slash command for Claude Code.

Frequently Asked Questions about create-slash-commands

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

FAQPage Schema
How do I create custom Claude Code slash commands with YAML and XML?

You can define custom slash commands by structuring reusable prompts with YAML frontmatter for configuration and XML tags for content organization. This standardizes team workflows through triggerable custom `/command-name` syntax.

How does argument handling work when building Claude Code slash commands?

Argument handling in Claude Code slash commands allows you to define and parse dynamic inputs for flexible command execution. You can configure commands to accept arguments like file paths and process that specific context within the prompt.

Can I load dynamic context into a custom slash command?

Yes, dynamic context loading is supported when building Claude Code slash commands. You can integrate dynamic context within the XML tag structure to ensure the triggered prompt executes with the required real-time data.

What is the best way to standardize team workflows using slash commands?

The best way to standardize team workflows is creating reusable Claude Code slash commands. By defining triggerable prompts with custom syntax and argument parsing, teams execute consistent operations across different environments.

Do I need to restrict tool access when defining a slash command?

You can address tool restriction requirements when defining slash commands to constrain what the triggered prompt executes. This ensures the custom command operates only within the allowed tool boundaries for safe workflow automation.