creating-command

Create Claude Code slash commands with standardized frontmatter and argument hints.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/kkhys/claude-code-marketplace --skill creating-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-command
Source: https://github.com/kkhys/claude-code-marketplace/tree/main/plugins/base/skills/creating-command
Command: npx skills add https://github.com/kkhys/claude-code-marketplace --skill creating-command

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers need a consistent, safe pattern for creating Claude slash commands, including frontmatter definitions, arguments, and file references, to reduce errors and improve reuse.

Core Features & Use Cases

  • Frontmatter-driven command definitions with required name and description, plus optional fields like argument-hint, allowed-tools, model, and hooks.
  • Support for Arguments, Bash Execution, and File References to compose flexible, multi-part commands.
  • Templates and best-practice examples to accelerate command creation across projects and scopes.

Quick Start

Create a new slash command by defining a frontmatter block with a description, add arguments, specify allowed tools, enable bash execution where needed, and reference related files with @ syntax.

Frequently Asked Questions about creating-command

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

FAQPage Schema
How do I create consistent Claude Code slash commands with frontmatter?

To create Claude Code slash commands, define a standardized frontmatter block including a required name and description, then add optional fields like argument-hint and allowed-tools to specify execution rules and permissions.

What is the best way to standardize slash command creation across multiple projects?

Standardizing slash command creation involves using consistent frontmatter templates and validation rules for both project-scoped and user-scoped workflows, ensuring commands include required metadata and safe execution parameters across all environments.

Can I use file references and bash execution in my Claude Code commands?

Yes, you can compose flexible slash commands by enabling bash execution through allowed-tools and referencing related files using @ syntax to incorporate external context directly into your command logic.

Do I need allowed-tools and argument-hint fields for every slash command?

No, allowed-tools and argument-hint are optional frontmatter fields. You only need to specify them if your command requires specific tool permissions like bash execution or accepts dynamic arguments from the user.

What are the limitations when defining hooks and models in slash command frontmatter?

Hooks and model selections are optional frontmatter configurations that allow advanced execution control, but they must adhere to the standardized validation patterns to ensure safe execution and prevent errors in complex workflows.