slash-command-factory

Generate Claude Code slash commands with YAML frontmatter and validation.

62|10|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/terrylica/cc-skills --skill slash-command-factory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-command-factory
Source: https://github.com/terrylica/cc-skills/tree/main/plugins/productivity-tools/skills/slash-command-factory
Command: npx skills add https://github.com/terrylica/cc-skills --skill slash-command-factory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you design production-ready Claude Code slash commands through a guided 5-7-question flow, outputting ready-to-install command files.

Core Features & Use Cases

  • Preset Library: 10 presets for common command domains (research, documentation, API, etc.).
  • Custom Command Builder: Generate commands tailored to your goals with validation.
  • Organized Output: Writes command files to generated-commands/ with clear installation instructions.

Quick Start

Answer the 5-7 questions to generate a new command under generated-commands/, and install it for Claude Code.

Frequently Asked Questions about slash-command-factory

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

FAQPage Schema
How do I generate a Claude Code slash command quickly?

Use the slash-command-factory to answer a 5-7 question flow that captures your command's purpose, arguments, and behavior. The Skill generates production-ready YAML files with proper frontmatter, naming conventions, and installation instructions in an organized folder.

What are slash command presets and how do I use them?

The Skill includes 10 presets for common domains like research, documentation, and API work. Select a preset to skip the full questionnaire and customize the command template for your specific use case, then output the ready-to-install file.

Can I create multi-pattern slash commands with different execution styles?

Yes. The Skill supports simple commands, multi-phase workflows, and agent-style commands. During generation, you specify which pattern matches your intent, and the output includes the correct structure with allowed-tools and argument hints.

How do I ensure my generated command follows Claude Code standards?

The Skill validates format automatically, including kebab-case naming, YAML frontmatter construction, and allowed-tools syntax. Generated commands are validated before output so they install and run correctly in Claude Code without manual fixes.

Where do generated commands go and how do I install them?

Commands are written to a generated-commands/ folder with clear installation guidance included. Follow the provided steps to place the YAML file in your Claude Code slash commands directory and activate it immediately.

Do I need coding experience to generate a slash command?

No. The guided questionnaire uses plain language to capture command behavior, arguments, and tools. The Skill handles YAML syntax, validation, and formatting, so you focus only on describing what the command should do.