Files
SuperClaude/.claude/commands/index.md
krsnaa 477ee46099 docs: Add missing /task command documentation and fix command count references (#66)
- Add complete /task command documentation to COMMANDS.md with operations, features, and examples
  - Update command count from 18 to 19 across README.md, ROADMAP.md, and COMMANDS.md
  - Correct /task syntax in index.md to use colon-based operations (:create, :status, :resume)
  - Add changelog entry documenting the documentation fixes
  - Maintain historical accuracy in previous changelog entries
2025-07-02 17:35:08 +02:00

4.3 KiB

Purpose: SuperClaude Commands Reference

@include shared/universal-constants.yml#Universal_Legend

Ultra-Compressed Reference

Commands: /cmd --flags | 19 total | Universal flags available

@include shared/flag-inheritance.yml#Universal_Always

Command Categories

Analysis: /analyze /scan /explain /review Build: /build /deploy /migrate Manage: /task /load /cleanup Dev: /test /troubleshoot /improve Utils: /design /document /estimate /dev-setup /git /spawn

Commands w/ Primary Flags

Dev: /build --init|feature|react | /dev-setup --install|ci | /test --coverage|e2e Analysis: /analyze --code|arch | /review --files|commit|pr | /troubleshoot --fix|prod | /improve --perf|quality | /explain --depth Ops: /deploy --env|rollback | /migrate --dry-run | /scan --security | /estimate --detailed | /cleanup --all | /git --commit|sync Design: /design --api|ddd | /document --api|user | /spawn --task Manage: /task :create|:status|:resume | /load --context

Workflow Patterns

Setup: /load/dev-setup --install/build --init/test Feature: /analyze/design --api/build --tdd/test --e2e/deploy Debug: /troubleshoot --fix/test/git --commit Quality: /review --quality --evidence/improve --quality/scan --validate Security: /scan --security --owasp/improve/scan --validate

Advanced Flag Combinations

Power User Patterns:
  Deep Analysis: /analyze --architecture --seq --think-hard
  UI Development: /build --react --magic --pup --watch
  Production Deploy: /scan --validate --seq → /deploy --env prod --think-hard
  Emergency Debug: /troubleshoot --prod --ultrathink --seq
  
Research & Learning:
  Library Study: /explain --c7 --seq --depth expert "React hooks"
  Architecture: /design --ddd --seq --think-hard → /document --api
  Performance: /analyze --profile --seq → /improve --iterate --threshold 95%
  
Token Optimization:
  Compressed Docs: /document --uc → /explain --uc --c7
  Efficient Analysis: /analyze --uc --no-mcp → /improve --uc
  Rapid Workflow: /build --uc → /test --uc → /deploy --uc
  
Introspection & Learning:
  Transparent Workflow: /analyze --code --introspect
  Learning Development: /build --react --introspect --magic
  Debug Understanding: /troubleshoot --introspect --seq
  Process Visibility: /design --api --introspect --think-hard

Safety & Best Practices

Pre-Deployment Safety:
  Full Gate: /test --coverage → /scan --security → /scan --validate → /deploy
  Staged: /deploy --env staging → /test --e2e → /deploy --env prod --plan
  Rollback Ready: /git --checkpoint → /deploy → (if issues) /deploy --rollback
  
Development Safety:
  Clean First: /cleanup --code → /build → /test → /git --commit
  Quality Gate: /analyze → /improve --quality → /test → /git --commit
  Secure: /scan --security → fix issues → /scan --validate
  
Planning for Complex Operations:
  Architecture: /design --api --ddd --plan --think-hard
  Migration: /migrate --dry-run → /migrate --plan → verify
  Cleanup: /cleanup --all --dry-run → review → /cleanup --all

Shared Resources (12 core files)

Pattern Files:

  • architecture-patterns.yml: DDD/microservices/event patterns
  • command-architecture-patterns.yml: Command design & architecture patterns
  • compression-performance-patterns.yml: Token optimization & performance monitoring
  • docs-patterns.yml: Documentation system & formatting
  • execution-patterns.yml: Unified workflow, MCP orchestration & lifecycle
  • feature-template.yml: Task template for feature development
  • quality-patterns.yml: Validation, error handling & quality control
  • research-patterns.yml: Research flow & evidence validation
  • security-patterns.yml: Security patterns & threat controls
  • task-management-patterns.yml: Task & todo management patterns
  • recovery-state-patterns.yml: Recovery & state management patterns

Core System:

  • flag-inheritance.yml: Consolidated flag system with inheritance
  • reference-patterns.yml: Optimized reference system with shortcuts
  • universal-constants.yml: Universal constants, symbols & shared values

Tools:

  • validate-references.sh: Reference validation & integrity checking