slash-command-factory
БесплатноЗапускает вложенные скриптыНе проверенGenerate custom Claude Code slash commands through intelligent 5-7 question flow. Creates powerful commands for business research, content analysis…
Об этом скилле
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:
---
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 steps]
[Success criteria]
When to use:
- Simple, focused tasks
- Quick analysis or reviews
- Straightforward workflows
- 1-3 bash commands for context
Pattern B: Multi-Phase (Discovery → Analysis → Task)
Best for: Complex discovery and documentation tasks Example: Codebase analysis, comprehensive audits, system mapping Official Reference: codebase-analysis.md
Structure:
---
allowed-tools: Bash(find:*), Bash(tree:*), Bash(ls:*), Bash(grep:*), Bash(wc:*), Bash(du:*)
description: Comprehensive purpose
---
# Command Title
## Phase 1: Project Discovery
### Directory Structure
!`find . -type d | sort`
### File Count Analysis
!`find . -type f | wc -l`
## Phase 2: Detailed Analysis
[More discovery commands]
[File references with @]
## Phase 3: Your Task
Based on all discovered information, create:
1. **Deliverable 1**
- Subsection
- Details
2. **Deliverable 2**
- Subsection
- Details
At the end, write output to [filename].md
When to use:
- Comprehensive analysis needed
- Multiple discovery phases
- Large amounts of context gathering
- 10+ bash commands for data collection
- Generate detailed documentation files
Pattern C: Agent-Style (Role → Process → Guidelines)
Best for: Specialized expert roles and coordination Example: Domain experts, orchestrators, specialized advisors Official Reference: openapi-expert.md
Structure:
---
name: command-name
description: |
Multi-line description for complex purpose
explaining specialized role
color: yellow
---
You are a [specialized role] focusing on [domain expertise].
**Core Responsibilities:**
1. **Responsibility Area 1**
- Specific tasks
- Expected outputs
2. **Responsibility Area 2**
- Specific tasks
- Expected outputs
**Working Process:**
1. [Step 1 in workflow]
2. [Step 2 in workflow]
3. [Step 3 in workflow]
**Important Considerations:**
- [Guideline 1]
- [Guideline 2]
- [Constraint or best practice]
When you encounter [scenario], [action to take].
When to use:
- Need specialized domain expertise
- Orchestrating complex workflows
- Coordinating multiple sub-processes
- Acting as expert advisor
- Require specific procedural guidelines
Comprehensive Naming Convention
Command File Naming Rules
All slash command files MUST follow kebab-case convention:
Format: [verb]-[noun].md, [noun]-[verb].md, or [domain]-[action].md
Rules:
- Case: Lowercase only with hyphens as separators
- Length: 2-4 words maximum
- Characters: Only
[a-z0-9-]allowed (letters, numbers, hyphens) - Start/End: Must begin and end with letter or number (not hyphen)
- No: Spaces, underscores, camelCase, TitleCase, or special characters
Conversion Algorithm
User Input → Command Name
Input: "Analyze customer feedback and generate insights"
↓
1. Extract action: "analyze"
2. Extract target: "feedback"
3. Combine: "analyze-feedback"
4. Validate: Matches [a-z0-9-]+ pattern ✓
5. Output: analyze-feedback.md
More Examples:
- "Review pull requests" →
pr-review.mdorreview-pr.md - "Generate API documentation" →
api-document.mdordocument-api.md - "Update README files" →
update-readme.mdorreadme-update.md - "Audit security compliance" →
security-audit.mdorcompliance-audit.md - "Research market trends" →
research-market.mdormarket-research.md - "Analyze code quality" →
code-analyze.mdoranalyze-code.md
Official Examples (From Anthropic Docs)
Correct:
- ✅
code-review.md(verb-noun) - ✅
codebase-analysis.md(noun-noun compound) - ✅
update-claude-md.md(verb-noun-qualifier) - ✅
openapi-expert.md(domain-role)
Incorrect:
- ❌ `code_review.
Установить slash-command-factory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл slash-command-factory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slash-command-factory запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic