slash-command-creator

Create Claude Code slash commands with YAML frontmatter and templates.

434|168|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/greatSumini/cc-system --skill slash-command-creator-greatsumini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-command-creator
Source: https://github.com/greatSumini/cc-system/tree/main/.claude/skills/slash-command-creator
Command: npx skills add https://github.com/greatSumini/cc-system --skill slash-command-creator-greatsumini

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users quickly generate and organize Claude Code slash commands with consistent structure, templates, and naming conventions to automate repetitive prompts.

Core Features & Use Cases

  • Command scaffolding: Generate a ready-to-edit command file from a template.
  • Namespace & scope guidance: Support project (shared) and personal (private) commands, with optional namespaces.
  • Frontmatter-driven customization: Include optional fields like allowed-tools, argument-hint, and model for advanced prompts.

Quick Start

Initialize a new command with the helper: scripts/init_command.py <command-name> [--scope project|personal]

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 custom slash commands for Claude Code?

Slash commands automate frequently-used prompts in Claude Code. Create custom commands by generating Markdown files with YAML frontmatter specifying command name, description, and prompt body. Use the init_command.py script to scaffold new commands with consistent structure and naming conventions.

What's the difference between project-level and personal slash commands?

Project-level commands are shared across your team's workspace, while personal commands remain private to your account. Both use the same Markdown file format with YAML frontmatter. Specify scope during command initialization to determine where the command file is stored and who can access it.

Can I customize slash command behavior with optional frontmatter fields?

Yes. Beyond the required name and description, you can configure allowed-tools to restrict which tools the command invokes, set argument-hint for user guidance, specify a model, or disable model invocation entirely. These optional fields let you fine-tune automation for specific workflows.

Do I need to manually organize slash commands into namespaces?

Namespaces are optional and help organize commands logically within project or personal scope. You can structure related commands under a namespace prefix to reduce command-list clutter and improve discoverability, but flat organization works for smaller command sets.

What file format and location do slash commands require?

Slash commands are Markdown files with YAML frontmatter containing metadata like name, description, and optional fields. File location depends on scope: project commands live in the shared workspace directory, personal commands in your private CLI config folder, respecting namespace subdirectories if used.

Can slash commands reference external tools and APIs?

Yes, through the allowed-tools frontmatter field. You can restrict which Claude Code tools a command has access to, enabling secure automation of prompts that need specific capabilities like terminal execution, file editing, or web requests without exposing unnecessary functionality.