Agent skill · Backend & API

slash-command-factory

Generate custom Claude Code slash commands through intelligent 5-7 question flow. Creates powerful commands for business research, content analysis, healthcare compliance, API integration, documentation automation, and workflow optimization. Outputs organized commands to generated-commands/ with validation and installation guidance.

Alireza Rezvani23,369★ · +428/wk · 1 repos on radarProfile →
claude-codeships scriptsMIT
Install
npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 24 KB
Bundled scripts: yes
Path: generated-skills/slash-command-factory/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 839
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

This skill helps you create custom slash commands for Claude Code by asking 5-7 questions about your command needs, generating complete command markdown files with YAML frontmatter, offering 10 preset commands for common use cases, validating command format and syntax, creating organized folder structures, and providing installation guidance.

How it works

  • It guides the user through a 5-7 question flow to determine the command purpose, required arguments, tool usage, agent integration, output type, model preference, and optional features.
  • Based on answers, it generates YAML frontmatter and a command body with purpose-specific instructions, including optional agent launches and bash/file references if selected.
  • It creates a folder structure under generated-commands/[command-name]/ with the root command file, installation README, and testing examples, then validates the generated format (YAML frontmatter, ARGUMENTS syntax, tools formatting) and provides installation instructions:
    • Copy the command file: cp generated-commands/[command-name]/[command-name].md .claude/commands/
    • Restart Claude Code (if already running)
    • Test: /[command-name] [arguments]
  • It includes preset commands such as /research-business, /research-content, /medical-translate, /compliance-audit, /api-build, /test-auto, /docs-generate, /knowledge-mine, /workflow-analyze, and /batch-agents, with specific descriptions and tool requirements.

When to use it

Use this skill when you want to generate a customized Claude Code slash command tailored to a specific business or research need, especially when you want a guided, repeatable process that also provides ready-to-use presets and installation guidance.

What it can touch

  • Commands are generated with explicit tool usage as configured in the flow and presets (e.g., Read, Write, Edit, Bash, Grep, Glob, Task).

Caveats

  • The skill outlines prescribed command structures and installation steps; actual outcomes depend on user input and adherence to the prescribed patterns.
From the SKILL.md

# Slash Command Factory A comprehensive system for generating production-ready Claude Code slash commands through a simple question-based workflow. --- ## What This Skill Does This skill helps you create custom slash commands for Claude Code by: - Asking 5-7 straightforward questions about your command needs - Generating complete command .md files with proper YAML frontmatter - Providing 10 powerful preset commands for common use cases - Validating command format and syntax - Creating well-organized folder structures - Offering installation guidance **Output**: Complete slash commands ready to use in Claude Code --- ## Official Command Structure Patterns This skill generates commands following **three official patterns** from Anthropic documentation: ### Pattern A: Simple (Context → Task) **Best for**: Straightforward tasks with clear input/output **Example**: Code review, file updates, simple analysis **Official Reference**: code-review.md **Structure**: ```markdown --- allowed-tools: Bash(git diff:*), Bash(git log:*) description: Purpose description --- ## Context - Current state: !`bash command` - Additional data: !`another command` ## Your task [Clear instructions with numbered

What's inside
Steps it walks through
  1. What This Skill Does
  2. Official Command Structure Patterns
  3. Pattern A: Simple (Context → Task)
  4. Pattern B: Multi-Phase (Discovery → Analysis → Task)
  5. Pattern C: Agent-Style (Role → Process → Guidelines)
  6. Comprehensive Naming Convention
  7. Command File Naming Rules
  8. Conversion Algorithm
  9. Official Examples (From Anthropic Docs)
  10. Bash Permission Patterns
  11. Critical Rule: No Wildcards
  12. Official Permission Patterns
  13. Permission Selection Guide
  14. Two Paths to Generate Commands
Ships with 6 files
  • HOW_TO_USE.md
  • command_generator.py
  • expected_output.json
  • presets.json
  • sample_input.json
  • validator.py
Commands it runs
ls generated-commands/[command-name]/
cp generated-commands/[command-name]/[command-name].md .claude/commands/
cp generated-commands/[command-name]/[command-name].md ~/.claude/commands/
More from claude-code-skill-factory
All skills →
About this skill
What does the slash-command-factory skill do?

Generate custom Claude Code slash commands through intelligent 5-7 question flow. Creates powerful commands for business research, content analysis, healthcare compliance, API integration, documentation automation, and workflow optimization. Outputs organized commands to generated-commands/ with validation and installation guidance.

How do I install it?

Run `npx skills add alirezarezvani/claude-code-skill-factory --skill slash-command-factory --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From alirezarezvani/claude-code-skill-factory, a repository with 839 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going