slash-command-creator

Generate Claude Code slash-command definitions with YAML frontmatter and Markdown output.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Wondermove-Inc/wlab-claude-code-marketplace --skill slash-command-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-command-creator
Source: https://github.com/Wondermove-Inc/wlab-claude-code-marketplace/tree/main/plugins/plugin-creator/skills/slash-command-creator
Command: npx skills add https://github.com/Wondermove-Inc/wlab-claude-code-marketplace --skill slash-command-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers quickly create, structure, and reuse Claude Code slash commands to automate repetitive prompts, reducing setup time and errors.

Core Features & Use Cases

  • Templates and scaffolding for new commands to ensure consistency
  • Namespace and scope support for project-wide or personal commands
  • Argument handling and frontmatter options to customize prompts and behavior
  • Quick-start commands to initialize and test new slash commands

Quick Start

Initialize a new slash command with:

  • scripts/init_command.py <command-name> [--scope project|personal] [--path <custom-path>]

Frequently Asked Questions about slash-command-creator

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

FAQPage Schema
How do I create a new Claude Code slash command?

Create slash commands by running scripts/init_command.py with your command name and optional scope (project or personal). The Skill generates a Markdown file with YAML frontmatter containing description, allowed-tools, argument-hint, model, and disable-model-invocation fields, plus your command body content.

What is a slash command in Claude Code and why would I use one?

Slash commands are reusable automated prompts that reduce repetitive setup. They let you define custom workflows with templates, arguments, and tool restrictions, saving time and minimizing errors across project or personal command sets.

Can I organize slash commands by project scope or keep them personal?

Yes. The Skill supports namespace-aware path resolution for both project-scoped and personal-scoped commands, letting you structure automation at the scope that fits your workflow.

What frontmatter options are available when defining a slash command?

Slash command frontmatter enforces description, allowed-tools, argument-hint, model, and disable-model-invocation fields. These control command metadata, tool access, argument hints, model selection, and whether to invoke the model for the command.

Do I need to know YAML syntax to create slash commands?

The Skill handles YAML frontmatter generation automatically through template-based assembly. You provide structured inputs like command name and scope; the Skill outputs correctly formatted Markdown with valid frontmatter.

Can I update or modify existing slash commands with this Skill?

Yes. The Skill enables creation of new commands, updates to existing ones, and clarification of slash-command syntax and best practices, so you can evolve your command library as needs change.