Build powerful slash commands for Claude Code through simple conversation - 10 ready-to-use presets + custom generation for business research, healthcare compliance, development automation, and workflow optimization.
Keywords: Claude Code, Slash Commands, Claude AI, Command Generation, Business Research Commands, Content Analysis, Healthcare Compliance, API Automation, Test Automation, Documentation Generation, Workflow Optimization, Claude Code Automation, Custom Commands, Productivity Tools, Development Automation
Repository: claude-code-skills-factory Download: slash-command-factory.zip (18KB)
A Claude Skills that generates custom slash commands for Claude Code through a simple 5-7 question workflow.
Generate commands for:
- Business intelligence and market research
- Content analysis and SEO strategy
- Healthcare compliance (HIPAA/GDPR/DSGVO)
- API integration and development
- Test automation
- Documentation generation
- Knowledge extraction
- Workflow optimization
- Multi-agent coordination
Use a preset:
@slash-command-factory
Use the /research-business preset
β Instant business research command generated β Ready to install and use
Create custom:
@slash-command-factory
Create a command for analyzing customer feedback
β Answer 5-7 questions β Complete custom command generated
1. /research-business - Market Research & Competitive Analysis
---
description: Comprehensive business and market research with competitor analysis
argument-hint: [company/market] [industry]
allowed-tools: Read, Bash, Grep
---What it does:
- Market size, trends, dynamics analysis
- Competitor SWOT analysis (top 3-5 competitors)
- Opportunity identification (gaps, innovation)
- Strategic recommendations with action items
- Risk assessment
Usage: /research-business "Tesla" "EV market"
2. /research-content - Multi-Platform Content Trend Analysis
---
description: Multi-platform content trend analysis for data-driven strategy
argument-hint: [topic] [platforms]
allowed-tools: Read, Bash
---What it does:
- Analyze trends across 10+ platforms (Google, Reddit, YouTube, Medium, LinkedIn, X, Substack, blogs)
- User intent analysis (informational, commercial, transactional)
- Content gap identification
- SEO-optimized outline generation
- Platform-specific publishing strategies
Usage: /research-content "AI automation tools" "google reddit youtube"
3. /medical-translate - Medical Terminology Translation
---
description: Translate medical terms to 8th-10th grade (German/English)
argument-hint: [medical-term] [de|en]
allowed-tools: Read
model: claude-3-5-sonnet-20241022
---What it does:
- Translate complex medical terminology
- Simplify to 8th-10th grade reading level
- Validate with Flesch-Kincaid (English) or Wiener Sachtextformel (German)
- Preserve clinical accuracy
- Patient empowerment through health literacy
Usage:
/medical-translate "Myokardinfarkt" "de"β German patient-friendly explanation/medical-translate "Hypertrophic cardiomyopathy" "en"β English 8th grade explanation
4. /compliance-audit - Regulatory Compliance Validation
---
description: Audit code for HIPAA/GDPR/DSGVO compliance
argument-hint: [code-path] [hipaa|gdpr|dsgvo|all]
allowed-tools: Read, Grep, Task
---What it does:
- HIPAA: PHI handling, encryption, audit logging, breach notification
- GDPR/DSGVO: Data minimization, consent, data subject rights, retention
- Generate compliance report (compliant areas, violations, recommendations)
- Priority actions (P0/P1/P2)
Usage: /compliance-audit "src/patient-data/" "hipaa"
5. /api-build - Complete API Client Generation
---
description: Generate complete API client with error handling and tests
argument-hint: [api-name] [endpoints]
allowed-tools: Read, Write, Edit, Bash, Task
---What it does:
- API client class with authentication (API key, OAuth, JWT)
- Endpoint methods with type hints and validation
- Error handling (network errors, HTTP errors, rate limits, retries)
- Unit and integration tests (>80% coverage)
- Complete documentation (README, API reference, setup guide)
Usage: /api-build "Stripe" "customers payments invoices"
6. /test-auto - Test Suite Automation
---
description: Auto-generate comprehensive test suite with coverage
argument-hint: [file-path] [unit|integration|e2e|all]
allowed-tools: Read, Write, Bash
---What it does:
- Analyze code to test
- Generate test cases (happy path, edge cases, errors, integration)
- Test implementation with appropriate framework
- Coverage analysis (target >80%)
- Test documentation
Usage: /test-auto "src/payment-processor.py" "all"
7. /docs-generate - Documentation Automation
---
description: Auto-generate documentation (API docs, README, architecture)
argument-hint: [code-path] [api|readme|architecture|all]
allowed-tools: Read, Write, Grep
---What it does:
- API documentation (function signatures, parameters, examples)
- README (overview, installation, quick start, usage)
- Architecture diagrams (Mermaid, data flows, tech stack)
- Code examples and best practices
Usage: /docs-generate "src/api/" "all"
8. /knowledge-mine - Insight Extraction
---
description: Extract insights from documents into FAQs, summaries, KB articles
argument-hint: [doc-path] [faq|summary|kb|all]
allowed-tools: Read, Grep
---What it does:
- Document analysis (topics, themes, concepts)
- FAQ generation
- Executive summaries
- Knowledge base articles
- Structured, searchable output
Usage: /knowledge-mine "docs/research-papers/" "all"
9. /workflow-analyze - Process Optimization
---
description: Analyze workflows and provide optimization recommendations
argument-hint: [workflow-description]
allowed-tools: Read, Task
---What it does:
- Current state mapping (steps, stakeholders, handoffs)
- Bottleneck identification (manual steps, redundancies, delays)
- Optimization opportunities (automation, simplification)
- Impact analysis (time savings, cost reduction, ROI)
- Implementation roadmap (quick wins, short-term, long-term)
Usage: /workflow-analyze "Customer onboarding process"
10. /batch-agents - Multi-Agent Coordination
---
description: Launch and coordinate multiple agents for complex tasks
argument-hint: [agent-names] [task-description]
allowed-tools: Task
---What it does:
- Parse and validate agent list
- Determine execution strategy (parallel/sequential based on agent types)
- Launch agents (max 5) with appropriate coordination
- Integrate results
- Comprehensive summary
Usage: /batch-agents "rr-architect rr-security rr-performance" "Analyze system for production readiness"
@slash-command-factory
Use the /research-business preset
Output:
generated-commands/research-business/
βββ research-business.md # The command file
βββ README.md # Installation guide
Install:
cp generated-commands/research-business/research-business.md .claude/commands/Use:
/research-business "OpenAI" "AI/ML market"
@slash-command-factory
Create a command for competitive SWOT analysis
Questions (5-7 total):
- Purpose: Competitive SWOT analysis
- Tools: Read, Bash, Grep (auto-determined: needs $ARGUMENTS)
- Agents: No
- Output: Analysis
- Model: Default
- Features: None
Output:
generated-commands/competitive-swot/
βββ competitive-swot.md
βββ README.md
Simple command:
generated-commands/[command-name]/
βββ [command-name].md # Command file (ROOT)
βββ README.md # Install guide (ROOT)
Complex command (with supporting files):
generated-commands/[command-name]/
βββ [command-name].md # Command (ROOT - no mixing)
βββ README.md # Install (ROOT)
βββ TEST_EXAMPLES.md # Testing (ROOT)
βββ standards/ # Standards folder (separate)
βββ examples/ # Examples folder (separate)
βββ scripts/ # Scripts folder (separate)
Organization Rules:
- β All .md files in ROOT directory
- β Supporting folders separate (standards/, examples/, scripts/)
- β NO mixing of different types
- β Hierarchical, clean structure
Example (research-business.md):
---
description: Comprehensive business and market research with competitor analysis
argument-hint: [company/market] [industry]
allowed-tools: Read, Bash, Grep
disable-model-invocation: false
---
Conduct comprehensive business research for "$ARGUMENTS":
1. **Market Analysis**:
- Market size, growth trends, dynamics
- Key players and market share
- Emerging trends and outlook
- Regulatory environment
2. **Competitive Analysis**:
- Direct and indirect competitors
- SWOT analysis for top 3-5 competitors
- Competitive positioning
- Pricing strategies
3. **Opportunity Identification**:
- Market gaps
- Innovation opportunities
- Strategic recommendations
- Risk assessment
4. **Deliverable**:
- Executive summary (2-3 pages)
- Detailed market analysis
- Competitor profiles
- Strategic recommendations
**Success Criteria**:
- Comprehensive market overview with data-driven insights
- Actionable competitive intelligence
- Clear strategic recommendations with prioritizationChallenge: Need to research EV charging market for investor deck
Solution:
@slash-command-factory
Use /research-business preset
# Generated: research-business.md
# Install: Copy to .claude/commands/
# Use:
/research-business "EV charging stations" "USA Europe"
# Result: Comprehensive market analysis in 5 minutes
# - Market size: $X billion, growing Y%
# - Top competitors: ChargePoint, EVgo, Tesla
# - Opportunities: Fleet charging, apartments, highways
# - Strategic recommendations: Focus on [segment]
Time saved: 8+ hours of manual research β 5 minutes automated
Challenge: Make medical information accessible to patients
Solution:
@slash-command-factory
Use /medical-translate preset
# Install to .claude/commands/
# Use:
/medical-translate "Atrial fibrillation" "en"
# Result:
Original: Atrial fibrillation
Simple: Irregular heartbeat
Explanation (Grade 8.2): "Your heart beats in an irregular pattern instead
of a steady rhythm. The top chambers quiver instead of pumping properly."
Impact: Patients understand their conditions β better health outcomes
Challenge: Integrate with Stripe API, need client code
Solution:
@slash-command-factory
Use /api-build preset
# Use:
/api-build "Stripe" "customers subscriptions invoices"
# Generated in 10 minutes:
- Complete API client (authentication, error handling)
- Methods for all endpoints (type hints, validation)
- Unit tests (mocked) + integration tests
- Documentation (README, API reference)
- >80% test coverage
# vs Manual: 2-3 days of development
Time saved: 2-3 days β 10 minutes (99% reduction)
Challenge: Create content strategy for "remote work tools"
Solution:
@slash-command-factory
Use /research-content preset
# Use:
/research-content "remote work tools" "all"
# Result:
Platform Analysis:
- Google: 10K/month searches, rising
- Reddit: r/remotework (500K members), top discussions
- YouTube: "best remote work tools" (2M views)
- Medium: Collaboration tools trending
Content Gaps:
- "Remote work tools for healthcare" (low competition, high demand)
- "Async communication best practices" (underserved)
SEO Outline:
H1: Best Remote Work Tools for Healthcare Teams in 2025
H2: Communication Tools (Slack alternatives)
H2: Project Management (HIPAA-compliant)
H2: Security Considerations
Platform Strategy:
- LinkedIn: Professional insights, case studies
- YouTube: Tool comparisons, tutorials
- Blog: In-depth guides, SEO-optimized
Result: Data-driven content strategy in 5 minutes
Challenge: Ensure codebase is HIPAA compliant before launch
Solution:
@slash-command-factory
Use /compliance-audit preset
# Use:
/compliance-audit "src/patient-portal/" "hipaa"
# Report Generated:
β
Compliant:
- Encryption: AES-256 at rest, TLS 1.2 in transit
- Audit logging: All PHI access tracked
β Non-Compliant (P0):
- Missing: Automatic session timeout
- Missing: Breach notification procedures
β οΈ Recommendations (P1):
- Implement: Data minimization in user forms
- Add: BAA with third-party services
Action Plan:
1. Fix P0 issues immediately (2-3 hours)
2. Implement P1 within sprint (1 week)
Impact: HIPAA compliance before launch β avoid $50K+ fines
Every generated command includes:
---
description: What the command does
argument-hint: [arg1] [arg2] (if $ARGUMENTS used)
allowed-tools: Tool1, Tool2 (comma-separated)
model: claude-3-5-sonnet-20241022 (optional)
disable-model-invocation: false
---Always $ARGUMENTS (never $1, $2, $3):
# User types
/my-command arg1 arg2 arg3
# Command receives
$ARGUMENTS = "arg1 arg2 arg3"Example:
Do task for "$ARGUMENTS":
1. Parse arguments
2. Execute task
3. Return resultsAll .md files in ROOT:
[command-name].md- The commandREADME.md- Installation guideTEST_EXAMPLES.md- Testing guide
Supporting folders separate:
standards/- Standards and guidelinesexamples/- Example filesscripts/- Helper scripts
NO mixing - Clean, hierarchical structure
# Install skill
cp -r slash-command-factory ~/.claude/skills/
# Or import ZIP in Claude Desktop
# File: slash-command-factory.zip (18KB)@slash-command-factory
Use the /research-business preset
β Command generated in generated-commands/research-business/
# Project-level (this project only)
cp generated-commands/research-business/research-business.md .claude/commands/
# User-level (all projects)
cp generated-commands/research-business/research-business.md ~/.claude/commands//research-business "Your Company" "Your Industry"
Claude Code Automation: Custom slash commands, Claude Code commands, command generation, productivity automation, workflow commands
Business Research: Market research automation, competitive analysis tools, business intelligence commands, SWOT analysis automation, market research AI
Content Strategy: Content research automation, SEO strategy tools, multi-platform analysis, content gap analysis, trend research automation
Healthcare Technology: Medical terminology translation, HIPAA compliance automation, GDPR healthcare tools, patient education automation, health literacy tools
Development Automation: API client generation, test automation tools, documentation automation, code generation, development productivity
Compliance Tools: HIPAA audit automation, GDPR compliance checker, regulatory compliance tools, data protection audit
Workflow Optimization: Business process analysis, workflow automation, efficiency optimization, process improvement tools
Knowledge Management: Knowledge extraction tools, document analysis automation, FAQ generation, insight mining
Traditional approach:
- Write YAML frontmatter manually
- Figure out proper argument syntax
- Test command format
- Debug YAML errors
- Organize files manually
- Time: 30-60 minutes per command
With Slash Command Factory:
- Choose preset or answer 5-7 questions
- Automatic YAML generation
- Validation built-in
- Clean folder organization
- Time: 30 seconds (preset) or 2-3 minutes (custom)
Time savings: 95-98% reduction
For Developers:
- β Build custom automation in minutes
- β 10 ready-to-use powerful commands
- β No YAML syntax errors (validated)
- β Clean, organized output
For Business Users:
- β Research automation (/research-business, /research-content)
- β Workflow optimization (/workflow-analyze)
- β Knowledge extraction (/knowledge-mine)
For Healthcare:
- β Patient communication (/medical-translate)
- β Compliance automation (/compliance-audit)
- β HIPAA/GDPR validation
For Teams:
- β Standardized commands
- β Share via git (.claude/commands/)
- β Consistent workflows
Claude Code Skills Factory provides 4 generation systems:
- Skills Factory - Multi-file capabilities (SKILL.md + Python + samples)
- Agents Factory - Subagents for workflows (.md files)
- Prompt Factory - Mega-prompts for any LLM (69 presets)
- Slash Command Factory - Slash commands for automation (10 presets) β NEW!
Plus:
- 4 Interactive navigation agents (orchestrator + 3 specialists)
- 5 Workflow slash commands (/build, /validate-output, /install-skill, /test-factory, /factory-status)
Complete toolkit for Claude Code customization!
Main Repository:
Related Gists:
- Health SDK Builder - Healthcare AI applications
- Skills & Agents Factory - Complete factory guide
- Prompt Factory - Mega-prompt generation
Time Savings:
- Preset commands: 60 min β 30 sec (99% reduction)
- Custom commands: 60 min β 2 min (97% reduction)
Quality Improvements:
- β Validated YAML (no syntax errors)
- β Consistent $ARGUMENTS usage
- β Clean folder organization
- β Best practices applied
Productivity Gains:
- Business research: 8 hours β 5 minutes
- API integration: 2-3 days β 10 minutes
- Test generation: 4 hours β 15 minutes
- Documentation: 3 hours β 10 minutes
Input: "Create command for customer feedback analysis"
Output (analyze-feedback.md):
---
description: Analyze customer feedback and generate actionable product insights
argument-hint: [feedback-source] [time-period]
allowed-tools: Read, Grep, Task
disable-model-invocation: false
---
Execute task: "$ARGUMENTS"
1. **Analyze Input**:
- Gather relevant data
- Identify key patterns
- Extract insights
2. **Generate Analysis**:
- Comprehensive findings
- Data-driven insights
- Recommendations
**Success Criteria**:
- Analysis completed successfully
- Quality standards met
- Output validated and ready to useInstallation:
cp generated-commands/analyze-feedback/analyze-feedback.md .claude/commands/Usage:
/analyze-feedback "support-tickets.csv" "last-quarter"
Every generated command:
- β Valid YAML frontmatter
- β Uses $ARGUMENTS (never positional)
- β Proper allowed-tools format
- β Clean folder organization
- β Validated before output
- β Installation instructions included
- β Testing examples provided
# Clone repository
git clone https://github.com/alirezarezvani/claude-code-skills-factory.git
# Or download ZIP
# File: generated-skills/slash-command-factory.zip (18KB)Claude Desktop:
- Import slash-command-factory.zip
Claude Code:
cp -r slash-command-factory ~/.claude/skills/@slash-command-factory
[Choose preset or create custom]
cp generated-commands/[name]/[name].md .claude/commands/
/[command-name] [arguments]Presets: 10 powerful, diverse commands Custom Generation: 5-7 question flow Arguments: Always $ARGUMENTS (consistent) Validation: YAML, arguments, organization Organization: Clean, hierarchical folders Output: User's project (generated-commands/) Installation: User-initiated, guided Quality: Enterprise-grade, validated
Build powerful Claude Code slash commands in minutes instead of hours! β‘
Last Updated: October 29, 2025 Version: 1.0.0 License: MIT Author: Reza Rezvani