slash-command-creator

Generate frontmatter-driven Claude Code slash-command templates from user requirements.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mokbhai/claude --skill slash-command-creator-mokbhai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-command-creator
Source: https://github.com/mokbhai/claude/tree/main/skills/slash-command-creator
Command: npx skills add https://github.com/mokbhai/claude --skill slash-command-creator-mokbhai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the creation of Claude Code slash commands by generating frontmatter-driven templates from user requirements, reducing manual drafting and errors.

Core Features & Use Cases

  • Frontmatter-driven templates for command scaffolding
  • Support for multiple patterns: Simple Text Expansion, Single/Positional Arguments, and Bash Integration
  • Use Case: A developer wants to scaffold a new project command in .claude/commands/ or ~/.claude/commands/ based on user requirements and test with provided scripts

Quick Start

Create a slash command named 'say-hello' by feeding requirements. The system will generate a frontmatter-driven command file under .claude/commands/ with a description and argument-hint, ready for testing using the built-in scripts.

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?

To create custom slash commands for Claude Code, you define a structured command file with frontmatter and execution logic. This skill automates generating those frontmatter-driven templates from your requirements.

What is frontmatter in a Claude Code slash command file?

Frontmatter in a Claude Code slash command file provides structured metadata for command scaffolding, including descriptions and argument hints. It defines how the command expands text or accepts positional arguments.

Can I use Bash integration and positional arguments in Claude Code commands?

Yes, Claude Code commands support Bash integration and positional arguments. This skill produces command files covering these patterns, providing guidance on argument hints and safe execution practices.

How do I test generated slash commands to ensure they meet project standards?

You test generated slash commands using built-in validation and testing scripts. These scripts ensure the frontmatter-driven command files meet project standards and execute safely.

What is the difference between project and personal slash commands in Claude Code?

Project slash commands are stored in the .claude/commands/ directory, while personal commands reside in ~/.claude/commands/. This skill scaffolds files for both based on your requirements.

Do I need to manually format execution logic when generating Claude Code commands?

No, you do not need to manually format execution logic. This skill analyzes your requirements and produces properly formatted command files with the necessary execution logic automatically.