Tooluck logoTooluck
SKILL.md

slash-command-factory

Agent skill fromalirezarezvani/claude-code-skill-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.

How to install slash-command-factory

install slash-command-factory
# install the claude-code-skill-factory pack with the skills CLI
npx skills add alirezarezvani/claude-code-skill-factory

# or add only this skill to Claude Code: copy the folder

generated-skills/slash-command-factory/

# into

~/.claude/skills/slash-command-factory/ (all projects)

.claude/skills/slash-command-factory/ (one project)

generated-skills/slash-command-factory/SKILL.md

MITFull file
1# Slash Command Factory
2
3A comprehensive system for generating production-ready Claude Code slash commands through a simple question-based workflow.
4
5---
6
7## What This Skill Does
8
9This skill helps you create custom slash commands for Claude Code by:
10- Asking 5-7 straightforward questions about your command needs
11- Generating complete command .md files with proper YAML frontmatter
12- Providing 10 powerful preset commands for common use cases
13- Validating command format and syntax
14- Creating well-organized folder structures
15- Offering installation guidance
16
17**Output**: Complete slash commands ready to use in Claude Code
18
19---
20
21## Official Command Structure Patterns
22
23This skill generates commands following **three official patterns** from Anthropic documentation:
24
25### Pattern A: Simple (Context → Task)
26
27**Best for**: Straightforward tasks with clear input/output
28**Example**: Code review, file updates, simple analysis
29**Official Reference**: code-review.md
30
31**Structure**:
32```markdown
33---
34allowed-tools: Bash(git diff:*), Bash(git log:*)
35description: Purpose description
36---
37
38## Context
39- Current state: !`bash command`
40- Additional data: !`another command`
41
42## Your task
43[Clear instructions with numbered steps]
44[Success criteria]
45```
46
47**When to use**:
48- Simple, focused tasks
49- Quick analysis or reviews
50- Straightforward workflows
51- 1-3 bash commands for context
52
53---
54
55### Pattern B: Multi-Phase (Discovery → Analysis → Task)
56
57**Best for**: Complex discovery and documentation tasks
58…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skill-factory

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates