# OMGKIT Component Registry
# Single Source of Truth for Agents, Skills, Commands, Workflows, and MCPs
# Version: 2.33.1
# Updated: 2026-01-08

version: "2.33.1"

# =============================================================================
# OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
# =============================================================================
# Core architectural rule defining component relationships.
# See: plugin/stdrules/ALIGNMENT_PRINCIPLE.md for full documentation.
#
# Hierarchy (lower levels are used by higher levels):
#   Level 0: MCPs       → Foundation layer
#   Level 1: Commands   → Use: MCPs
#   Level 2: Skills     → Use: Commands, MCPs
#   Level 3: Agents     → Use: Skills, Commands, MCPs
#   Level 4: Workflows  → Use: Agents, Skills, Commands, MCPs
#
# Rules:
#   1. Format Compliance  - Use correct format for each component type
#   2. Existence Validation - All references must point to existing components
#   3. No Cross-Type Confusion - Don't mix agents/skills/commands
#   4. Hierarchical Respect - Only reference lower or same level components
#   5. Optimization - Appropriate, minimal, unique, contextual references
# =============================================================================

alignment_principle:
  version: "1.0.0"
  enforced: true
  documentation: "plugin/stdrules/ALIGNMENT_PRINCIPLE.md"
  hierarchy:
    - level: 0
      type: mcp
      format: "mcp-name"
      location: "plugin/mcp/"
      uses: []
    - level: 1
      type: command
      format: "/namespace:command-name"
      location: "plugin/commands/<namespace>/<name>.md"
      uses: [mcp]
    - level: 2
      type: skill
      format: "category/skill-name"
      location: "plugin/skills/<category>/<name>/SKILL.md"
      uses: [command, mcp]
    - level: 3
      type: agent
      format: "kebab-case"
      location: "plugin/agents/<name>.md"
      uses: [skill, command, mcp]
    - level: 4
      type: workflow
      format: "category/workflow-name"
      location: "plugin/workflows/<category>/<name>.md"
      uses: [agent, skill, command, mcp]

# =============================================================================
# MCP SERVERS (Model Context Protocol)
# =============================================================================
# MCPs provide external capabilities to OMGKIT components.
# Foundation layer of the alignment hierarchy.
# =============================================================================

mcp_servers:
  context7:
    description: Up-to-date library documentation
    status: supported
  sequential-thinking:
    description: Multi-step reasoning
    status: supported
  memory:
    description: Persistent knowledge graph
    status: supported
  filesystem:
    description: Secure file operations
    status: supported
  playwright:
    description: Browser automation
    status: supported

# =============================================================================
# AGENTS
# =============================================================================
# Each agent declares:
# - file: Path to agent definition
# - description: What the agent does
# - skills: List of skill IDs (category/skill-name format)
# - commands: List of commands this agent can trigger
# =============================================================================

agents:
  # ---------------------------------------------------------------------------
  # CORE DEVELOPMENT AGENTS
  # ---------------------------------------------------------------------------
  planner:
    file: agents/planner.md
    description: Task decomposition and implementation planning
    skills:
      - methodology/writing-plans
      - methodology/executing-plans
      - methodology/brainstorming
      - methodology/problem-solving
    commands:
      - /planning:plan
      - /planning:plan-detailed
      - /planning:plan-parallel
      - /planning:brainstorm
      - /planning:research
      - /planning:doc

  fullstack-developer:
    file: agents/fullstack-developer.md
    description: Full implementation with strict file ownership
    skills:
      - methodology/executing-plans
      - methodology/verification-before-completion
      - methodology/test-driven-development
      - languages/typescript
      - languages/javascript
    commands:
      - /dev:feature
      - /dev:fix
      - /dev:fix-fast
      - /dev:fix-hard
      - /dev:tdd

  tester:
    file: agents/tester.md
    description: Quality assurance through comprehensive testing
    skills:
      - methodology/test-driven-development
      - methodology/testing-anti-patterns
      - testing/vitest
      - testing/playwright
      - testing/pytest
    commands:
      - /dev:test
      - /dev:tdd
      - /dev:fix-test

  code-reviewer:
    file: agents/code-reviewer.md
    description: Code quality guardian with security-first mindset
    skills:
      - methodology/verification-before-completion
      - methodology/receiving-code-review
      - security/owasp
    commands:
      - /dev:review

  debugger:
    file: agents/debugger.md
    description: Expert bug investigator with RAPID methodology
    skills:
      - methodology/systematic-debugging
      - methodology/root-cause-tracing
      - methodology/problem-solving
    commands:
      - /dev:fix
      - /dev:fix-hard
      - /dev:fix-ci
      - /dev:fix-logs
      - /dev:fix-test

  git-manager:
    file: agents/git-manager.md
    description: Version control expert with conventional commits
    skills:
      - methodology/finishing-development-branch
      - devops/github-actions
    commands:
      - /git:commit
      - /git:pr
      - /git:ship
      - /git:cm
      - /git:cp
      - /git:deploy

  # ---------------------------------------------------------------------------
  # ARCHITECTURE & PLANNING AGENTS
  # ---------------------------------------------------------------------------
  architect:
    file: agents/architect.md
    description: System architect applying Omega principles
    skills:
      - omega/omega-architecture
      - backend/api-architecture
      - microservices/service-discovery
      - databases/database-schema-design
    commands:
      - /omega:100x
      - /planning:plan-detailed

  oracle:
    file: agents/oracle.md
    description: Strategic thinking with 7 Omega thinking modes
    skills:
      - omega/omega-thinking
      - methodology/problem-solving
      - methodology/brainstorming
    commands:
      - /omega:1000x
      - /omega:10x
      - /omega:dimensions
      - /omega:principles

  researcher:
    file: agents/researcher.md
    description: Technology research with best practices discovery
    skills:
      - methodology/research-validation
      - methodology/brainstorming
    commands:
      - /planning:research

  scout:
    file: agents/scout.md
    description: Expert codebase explorer with parallel search
    skills:
      - methodology/problem-solving
    commands: []

  brainstormer:
    file: agents/brainstormer.md
    description: Creative exploration and ideation
    skills:
      - methodology/brainstorming
    commands:
      - /planning:brainstorm

  # ---------------------------------------------------------------------------
  # SECURITY AGENTS
  # ---------------------------------------------------------------------------
  security-auditor:
    file: agents/security-auditor.md
    description: Security reviews and vulnerability assessment
    skills:
      - security/owasp
      - security/security-hardening
      - methodology/defense-in-depth
    commands:
      - /security:audit
      - /quality:security-scan

  vulnerability-scanner:
    file: agents/vulnerability-scanner.md
    description: Security scanning and dependency audit
    skills:
      - security/owasp
      - security/security-hardening
    commands:
      - /security:scan
      - /quality:security-scan

  devsecops:
    file: agents/devsecops.md
    description: Security-focused DevOps practices
    skills:
      - security/security-hardening
      - devops/github-actions
      - devops/docker
    commands:
      - /security:audit
      - /git:deploy

  # ---------------------------------------------------------------------------
  # DATABASE AGENTS
  # ---------------------------------------------------------------------------
  database-admin:
    file: agents/database-admin.md
    description: Schema design, query optimization, migrations
    skills:
      - databases/database-optimization
      - databases/database-schema-design
      - databases/database-migration
      - databases/database-management
      - databases/postgresql
    commands:
      - /quality:optimize
      - /workflow:schema-design
      - /workflow:migration

  # ---------------------------------------------------------------------------
  # DEVOPS & INFRASTRUCTURE AGENTS
  # ---------------------------------------------------------------------------
  cicd-manager:
    file: agents/cicd-manager.md
    description: CI/CD pipeline management and deployment automation
    skills:
      - devops/github-actions
      - devops/docker
      - devops/kubernetes
    commands:
      - /git:deploy

  platform-engineer:
    file: agents/platform-engineer.md
    description: Platform engineering and infrastructure
    skills:
      - devops/kubernetes
      - devops/aws
      - devops/docker
    commands:
      - /platform:blueprint

  observability-engineer:
    file: agents/observability-engineer.md
    description: Monitoring, logging, and alerting
    skills:
      - devops/observability
      - devops/performance-profiling
    commands:
      - /sre:dashboard

  performance-engineer:
    file: agents/performance-engineer.md
    description: Performance optimization and profiling
    skills:
      - devops/performance-profiling
      - databases/database-optimization
      - ai-engineering/inference-optimization
    commands:
      - /perf:benchmark
      - /perf:profile
      - /quality:optimize

  pipeline-architect:
    file: agents/pipeline-architect.md
    description: Pipeline optimization and workflow design
    skills:
      - devops/github-actions
      - ai-ml/ml-pipelines
      - devops/docker
    commands:
      - /data:pipeline

  # ---------------------------------------------------------------------------
  # AI/ML AGENTS
  # ---------------------------------------------------------------------------
  ml-engineer:
    file: agents/ml-engineer.md
    description: Machine learning model development
    skills:
      - ai-engineering/finetuning
      - ai-engineering/evaluation-methodology
      - ai-engineering/dataset-engineering
      - ai-ml/ml-pipelines
      - ai-ml/model-serving
    commands:
      - /ml:train
      - /ml:evaluate

  data-engineer:
    file: agents/data-engineer.md
    description: Data pipeline and quality engineering
    skills:
      - ai-engineering/dataset-engineering
      - databases/database-optimization
      - ai-ml/feature-stores
    commands:
      - /data:pipeline
      - /data:quality

  # ---------------------------------------------------------------------------
  # CONTENT & DOCUMENTATION AGENTS
  # ---------------------------------------------------------------------------
  docs-manager:
    file: agents/docs-manager.md
    description: Documentation architect and maintainer
    skills:
      - methodology/writing-plans
    commands:
      - /planning:doc

  copywriter:
    file: agents/copywriter.md
    description: Marketing copy and content writing
    skills: []
    commands: []

  journal-writer:
    file: agents/journal-writer.md
    description: Failure documentation and retrospectives
    skills: []
    commands: []

  # ---------------------------------------------------------------------------
  # PROJECT MANAGEMENT AGENTS
  # ---------------------------------------------------------------------------
  project-manager:
    file: agents/project-manager.md
    description: Progress tracking and coordination
    skills:
      - omega/omega-sprint
    commands: []

  sprint-master:
    file: agents/sprint-master.md
    description: AI Team orchestrator with sprint management
    skills:
      - omega/omega-sprint
      - methodology/dispatching-parallel-agents
    commands:
      - /sprint:init
      - /sprint:sprint-new
      - /sprint:sprint-start
      - /sprint:sprint-current
      - /sprint:sprint-end
      - /sprint:ship
      - /sprint:backlog-add
      - /sprint:backlog-show
      - /sprint:backlog-prioritize
      - /sprint:vision-set
      - /sprint:vision-show
      - /sprint:team-run
      - /sprint:team-status
      - /sprint:team-ask

  # ---------------------------------------------------------------------------
  # DESIGN AGENTS
  # ---------------------------------------------------------------------------
  ui-ux-designer:
    file: agents/ui-ux-designer.md
    description: UI component creation and accessibility
    skills:
      - frontend/advanced-ui-design
      - frontend/frontend-design
      - frontend/accessibility
      - frontend/responsive
      - frontend/tailwindcss
      - frontend/design-system-context
    commands:
      - /design:screenshot
      - /design:cro
      - /design:enhance
      - /design:fast
      - /design:good
      - /design:themes
      - /design:theme
      - /design:preview
      - /design:add
      - /design:from-screenshot
      - /design:from-url
      - /design:builder
      - /design:reset
      - /design:rebuild
      - /design:scan
      - /design:rollback

  api-designer:
    file: agents/api-designer.md
    description: API design and OpenAPI specs
    skills:
      - backend/api-architecture
    commands:
      - /quality:api-gen
      - /workflow:api-design

  # ---------------------------------------------------------------------------
  # SPECIALIZED AGENTS
  # ---------------------------------------------------------------------------
  # Note: autonomous-orchestrator uses YAML format and is handled separately

  domain-decomposer:
    file: agents/domain-decomposer.md
    description: Domain-driven design decomposition
    skills:
      - microservices/service-discovery
      - microservices/api-gateway-patterns
    commands:
      - /domain:analyze
      - /domain:map

  game-systems-designer:
    file: agents/game-systems-designer.md
    description: Game mechanics and systems design
    skills:
      - game/unity-patterns
      - game/godot-patterns
      - game/game-networking
    commands:
      - /game:balance
      - /game:optimize

  embedded-systems:
    file: agents/embedded-systems.md
    description: IoT and embedded development
    skills:
      - iot/edge-computing
      - iot/device-provisioning
      - iot/mqtt-deep
      - iot/ota-updates
    commands:
      - /iot:provision

  scientific-computing:
    file: agents/scientific-computing.md
    description: Scientific simulation and computation
    skills:
      - simulation/numerical-methods
      - simulation/parallel-computing
      - simulation/physics-engines
      - simulation/visualization-scientific
    commands: []

  # ---------------------------------------------------------------------------
  # ML SYSTEMS AGENTS (Harvard CS 329S + Chip Huyen)
  # ---------------------------------------------------------------------------
  ml-engineer-agent:
    file: agents/ml-engineer-agent.md
    description: Full-stack ML engineering for end-to-end ML systems
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/data-eng
      - ml-systems/feature-engineering
      - ml-systems/ml-workflow
      - ml-systems/model-dev
      - ml-systems/ml-frameworks
      - ml-systems/model-deployment
      - ml-systems/mlops
    commands:
      - /omgml:init
      - /omgml:status
      - /omgdata:collect
      - /omgdata:validate
      - /omgfeature:extract
      - /omgfeature:select
      - /omgtrain:train
      - /omgtrain:evaluate
      - /omgdeploy:package
      - /omgdeploy:serve
      - /omgops:pipeline

  data-scientist-agent:
    file: agents/data-scientist-agent.md
    description: Expert data science for EDA, statistical modeling, and insights
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/data-eng
      - ml-systems/training-data
      - ml-systems/feature-engineering
      - ml-systems/ml-workflow
      - ml-systems/model-dev
    commands:
      - /omgdata:collect
      - /omgdata:validate
      - /omgdata:label
      - /omgdata:augment
      - /omgdata:split
      - /omgfeature:extract
      - /omgfeature:select
      - /omgtrain:baseline
      - /omgtrain:train
      - /omgtrain:evaluate
      - /omgtrain:compare

  mlops-engineer-agent:
    file: agents/mlops-engineer-agent.md
    description: MLOps for production ML infrastructure and automation
    skills:
      - ml-systems/mlops
      - ml-systems/robust-ai
      - ml-systems/model-deployment
      - ml-systems/ml-serving-optimization
    commands:
      - /omgops:pipeline
      - /omgops:monitor
      - /omgops:drift
      - /omgops:retrain
      - /omgops:registry
      - /omgdeploy:package
      - /omgdeploy:serve
      - /omgdeploy:cloud
      - /omgdeploy:ab

  research-scientist-agent:
    file: agents/research-scientist-agent.md
    description: AI/ML research for novel approaches and paper implementation
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/deep-learning-primer
      - ml-systems/dnn-architectures
      - ml-systems/ml-workflow
      - ml-systems/model-dev
      - ml-systems/ml-frameworks
    commands:
      - /omgtrain:train
      - /omgtrain:tune
      - /omgtrain:evaluate
      - /omgtrain:compare
      - /omgml:status

  model-optimizer-agent:
    file: agents/model-optimizer-agent.md
    description: Model optimization through quantization, pruning, and distillation
    skills:
      - ml-systems/efficient-ai
      - ml-systems/model-optimization
      - ml-systems/ai-accelerators
      - ml-systems/ml-serving-optimization
    commands:
      - /omgoptim:quantize
      - /omgoptim:prune
      - /omgoptim:distill
      - /omgoptim:profile
      - /omgtrain:evaluate

  production-engineer-agent:
    file: agents/production-engineer-agent.md
    description: ML production deployment with reliability and scalability
    skills:
      - ml-systems/model-deployment
      - ml-systems/ml-serving-optimization
      - ml-systems/edge-deployment
      - ml-systems/robust-ai
    commands:
      - /omgdeploy:package
      - /omgdeploy:serve
      - /omgdeploy:edge
      - /omgdeploy:cloud
      - /omgdeploy:ab
      - /omgops:monitor

  ai-architect-agent:
    file: agents/ai-architect-agent.md
    description: Senior AI/ML architect for end-to-end ML system design
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/deployment-paradigms
      - ml-systems/data-eng
      - ml-systems/feature-engineering
      - ml-systems/ml-workflow
      - ml-systems/model-deployment
      - ml-systems/mlops
      - ml-systems/robust-ai
    commands:
      - /omgml:init
      - /omgml:status
      - /omgops:pipeline
      - /omgops:registry

  experiment-analyst-agent:
    file: agents/experiment-analyst-agent.md
    description: ML experiment analysis and model comparison
    skills:
      - ml-systems/ml-workflow
      - ml-systems/model-dev
      - ml-systems/training-data
    commands:
      - /omgtrain:evaluate
      - /omgtrain:compare
      - /omgml:status

# =============================================================================
# SKILL CATEGORIES
# =============================================================================
# All valid skill category prefixes

skill_categories:
  - ai-engineering
  - ai-ml
  - autonomous
  - backend
  - databases
  - devops
  - event-driven
  - frameworks
  - frontend
  - game
  - integrations
  - iot
  - languages
  - methodology
  - microservices
  - ml-systems        # ML Systems Design (Harvard CS 329S + Chip Huyen)
  - mobile
  - mobile-advanced
  - omega
  - security
  - simulation
  - testing
  - tools

# =============================================================================
# COMMAND NAMESPACES
# =============================================================================
# All valid command namespace prefixes

command_namespaces:
  - alignment # Alignment and dependency graph
  - auto      # Autonomous orchestration
  - context   # Context management
  - data      # Data engineering
  - design    # UI/UX design
  - dev       # Development
  - domain    # Domain analysis
  - game      # Game development
  - git       # Version control
  - hooks     # Git hooks management
  - iot       # IoT operations
  - ml        # Machine learning
  - omega     # Omega principles
  - omgdata   # ML Data Engineering
  - omgdeploy # ML Model Deployment
  - omgfeature # ML Feature Engineering
  - omgml     # ML Project Management
  - omgops    # ML Operations
  - omgoptim  # ML Model Optimization
  - omgtrain  # ML Model Training
  - perf      # Performance
  - planning  # Planning and research
  - platform  # Platform engineering
  - quality   # Quality and optimization
  - security  # Security operations
  - sprint    # Sprint management
  - sre       # Site reliability
  - workflow  # Workflow triggers and automation

# =============================================================================
# WORKFLOW DEFINITIONS
# =============================================================================
# Quick reference for workflow-agent-skill mappings

workflows:
  # Development workflows
  development/feature:
    agents: [planner, fullstack-developer, tester, code-reviewer, git-manager]
    skills:
      - methodology/writing-plans
      - methodology/executing-plans
      - methodology/test-driven-development
    commands: [/planning:plan, /dev:feature, /dev:test, /dev:review, /git:pr]

  development/bug-fix:
    agents: [debugger, fullstack-developer, tester, git-manager]
    skills:
      - methodology/systematic-debugging
      - methodology/root-cause-tracing
      - methodology/test-driven-development
    commands: [/dev:fix, /dev:fix-hard, /dev:fix-test, /git:cm]

  development/refactor:
    agents: [code-reviewer, fullstack-developer, tester, git-manager]
    skills:
      - methodology/verification-before-completion
      - methodology/test-driven-development
    commands: [/quality:refactor, /dev:test, /dev:review, /git:commit]

  development/code-review:
    agents: [code-reviewer, fullstack-developer, git-manager]
    skills:
      - methodology/verification-before-completion
      - security/owasp
    commands: [/dev:review, /dev:fix, /git:commit]

  # AI Engineering workflows
  ai-engineering/rag-development:
    agents: [researcher, architect, fullstack-developer, tester]
    skills:
      - ai-engineering/rag-systems
      - ai-engineering/dataset-engineering
      - ai-engineering/evaluation-methodology
      - ai-engineering/ai-architecture
    commands: [/planning:research, /planning:plan, /dev:feature, /dev:test]

  ai-engineering/agent-development:
    agents: [researcher, architect, fullstack-developer, tester, security-auditor]
    skills:
      - ai-engineering/ai-agents
      - ai-engineering/ai-architecture
      - ai-engineering/guardrails-safety
    commands: [/planning:research, /planning:plan-detailed, /dev:feature, /dev:test, /quality:security-scan]

  ai-engineering/fine-tuning:
    agents: [researcher, planner, fullstack-developer, tester]
    skills:
      - ai-engineering/finetuning
      - ai-engineering/dataset-engineering
      - ai-engineering/evaluation-methodology
    commands: [/planning:plan, /dev:feature, /dev:test]

  ai-engineering/prompt-engineering:
    agents: [researcher, tester]
    skills:
      - ai-engineering/prompt-engineering
      - ai-engineering/evaluation-methodology
    commands: [/planning:research, /dev:test]

  ai-engineering/model-evaluation:
    agents: [researcher, planner, tester]
    skills:
      - ai-engineering/ai-system-evaluation
      - ai-engineering/evaluation-methodology
      - ai-engineering/dataset-engineering
    commands: [/planning:plan, /dev:test]

  # Security workflows
  security/security-audit:
    agents: [security-auditor, vulnerability-scanner, code-reviewer, fullstack-developer, docs-manager]
    skills:
      - security/owasp
      - security/security-hardening
      - methodology/defense-in-depth
    commands: [/quality:security-scan, /dev:fix, /planning:doc]

  security/penetration-testing:
    agents: [security-auditor, vulnerability-scanner, researcher]
    skills:
      - security/owasp
      - methodology/defense-in-depth
      - security/security-hardening
    commands: [/quality:security-scan, /planning:research]

  # Database workflows
  database/schema-design:
    agents: [database-admin, planner, tester]
    skills:
      - databases/database-schema-design
      - databases/postgresql
      - databases/mongodb
    commands: [/planning:plan, /dev:feature, /dev:test]

  database/migration:
    agents: [database-admin, planner, tester]
    skills:
      - databases/database-migration
    commands: [/planning:plan, /dev:test]

  database/optimization:
    agents: [database-admin, tester]
    skills:
      - databases/database-optimization
    commands: [/quality:optimize, /dev:test]

  # API workflows
  api/api-design:
    agents: [api-designer, planner, docs-manager, code-reviewer]
    skills:
      - backend/api-architecture
    commands: [/planning:plan, /quality:api-gen, /planning:doc, /dev:review]

  api/api-testing:
    agents: [tester, security-auditor]
    skills:
      - backend/api-architecture
      - security/owasp
    commands: [/dev:test, /quality:security-scan]

  # Omega workflows
  omega/10x-improvement:
    agents: [oracle, architect, brainstormer, fullstack-developer, tester, journal-writer]
    skills:
      - omega/omega-thinking
      - omega/omega-coding
    commands: [/omega:10x, /planning:brainstorm, /dev:feature, /dev:test]

  omega/100x-architecture:
    agents: [oracle, architect, planner, researcher]
    skills:
      - omega/omega-architecture
      - omega/omega-thinking
    commands: [/omega:100x, /planning:plan-detailed]

  omega/1000x-innovation:
    agents: [oracle, researcher, brainstormer, architect]
    skills:
      - omega/omega-thinking
      - omega/omega-architecture
    commands: [/omega:1000x, /planning:research, /planning:brainstorm]

  # Sprint workflows
  sprint/sprint-setup:
    agents: [sprint-master, planner, project-manager]
    skills:
      - omega/omega-sprint
    commands: [/sprint:vision-set, /sprint:backlog-add, /sprint:backlog-prioritize, /sprint:sprint-new, /sprint:sprint-start]

  sprint/sprint-execution:
    agents: [sprint-master, fullstack-developer, tester, debugger, project-manager]
    skills:
      - omega/omega-sprint
      - methodology/executing-plans
    commands: [/sprint:sprint-current, /sprint:team-run, /sprint:team-status, /dev:fix, /sprint:sprint-end, /sprint:ship]

  sprint/sprint-retrospective:
    agents: [sprint-master, project-manager, journal-writer]
    skills:
      - omega/omega-sprint
    commands: [/sprint:sprint-end, /sprint:ship, /planning:doc]

  # Fullstack workflows
  fullstack/full-feature:
    agents: [planner, database-admin, api-designer, ui-ux-designer, fullstack-developer, tester, code-reviewer, git-manager]
    skills:
      - methodology/writing-plans
      - databases/database-schema-design
      - backend/api-architecture
      - frontend/frontend-design
    commands: [/planning:plan-detailed, /dev:feature, /dev:test, /dev:review, /git:pr]

  fullstack/authentication:
    agents: [planner, fullstack-developer, security-auditor, tester]
    skills:
      - security/oauth
      - security/better-auth
      - security/owasp
      - security/security-hardening
    commands: [/planning:plan, /dev:feature, /quality:security-scan, /dev:test]

  # Quality workflows
  quality/performance-optimization:
    agents: [fullstack-developer, tester]
    skills:
      - ai-engineering/inference-optimization
      - databases/database-optimization
    commands: [/quality:optimize, /dev:test]

  # Research workflows
  research/technology-research:
    agents: [researcher, oracle, docs-manager]
    skills:
      - methodology/research-validation
    commands: [/planning:research, /planning:doc]

  research/best-practices:
    agents: [researcher, planner, fullstack-developer]
    skills:
      - methodology/research-validation
    commands: [/planning:research, /planning:plan, /dev:feature]

  # Content workflows
  content/technical-docs:
    agents: [docs-manager, code-reviewer]
    skills:
      - methodology/writing-plans
    commands: [/planning:doc, /dev:review]

  content/marketing:
    agents: [copywriter, researcher]
    skills: []
    commands: [/planning:brainstorm, /planning:research]

  # ---------------------------------------------------------------------------
  # GIT WORKFLOWS
  # ---------------------------------------------------------------------------
  git/trunk-based:
    agents: [git-manager, code-reviewer, tester, fullstack-developer]
    skills:
      - devops/workflow-config
      - devops/git-hooks
      - devops/feature-flags
      - methodology/finishing-development-branch
    commands: [/workflow:trunk-based, /workflow:init, /workflow:status, /hooks:setup, /hooks:run, /git:commit, /git:pr, /dev:review]

  # ---------------------------------------------------------------------------
  # ML SYSTEMS WORKFLOWS (Harvard CS 329S + Chip Huyen)
  # ---------------------------------------------------------------------------
  ml-systems/model-development-workflow:
    agents: [data-scientist-agent, research-scientist-agent, experiment-analyst-agent]
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/ml-workflow
      - ml-systems/model-dev
    commands: [/omgml:init, /omgtrain:baseline, /omgtrain:train, /omgtrain:evaluate]

  ml-systems/data-preparation-workflow:
    agents: [data-scientist-agent, ml-engineer-agent]
    skills:
      - ml-systems/data-eng
      - ml-systems/training-data
      - ml-systems/feature-engineering
    commands: [/omgdata:collect, /omgdata:validate, /omgdata:label, /omgdata:augment, /omgdata:split]

  ml-systems/training-pipeline-workflow:
    agents: [ml-engineer-agent, mlops-engineer-agent]
    skills:
      - ml-systems/ml-workflow
      - ml-systems/mlops
    commands: [/omgops:pipeline, /omgtrain:train, /omgtrain:evaluate, /omgops:registry]

  ml-systems/hyperparameter-tuning-workflow:
    agents: [research-scientist-agent, experiment-analyst-agent]
    skills:
      - ml-systems/model-dev
      - ml-systems/ml-frameworks
    commands: [/omgtrain:tune, /omgtrain:compare]

  ml-systems/model-evaluation-workflow:
    agents: [experiment-analyst-agent, data-scientist-agent]
    skills:
      - ml-systems/model-dev
      - ml-systems/training-data
    commands: [/omgtrain:evaluate, /omgtrain:compare]

  ml-systems/model-optimization-workflow:
    agents: [model-optimizer-agent, production-engineer-agent]
    skills:
      - ml-systems/efficient-ai
      - ml-systems/model-optimization
      - ml-systems/ml-serving-optimization
    commands: [/omgoptim:profile, /omgoptim:quantize, /omgoptim:prune, /omgoptim:distill]

  ml-systems/model-deployment-workflow:
    agents: [production-engineer-agent, mlops-engineer-agent]
    skills:
      - ml-systems/model-deployment
      - ml-systems/ml-serving-optimization
      - ml-systems/robust-ai
    commands: [/omgdeploy:package, /omgdeploy:serve, /omgdeploy:cloud, /omgdeploy:ab]

  ml-systems/edge-deployment-workflow:
    agents: [model-optimizer-agent, production-engineer-agent]
    skills:
      - ml-systems/edge-deployment
      - ml-systems/efficient-ai
    commands: [/omgoptim:quantize, /omgdeploy:edge]

  ml-systems/mlops-pipeline-workflow:
    agents: [mlops-engineer-agent, production-engineer-agent]
    skills:
      - ml-systems/mlops
      - ml-systems/model-deployment
    commands: [/omgops:pipeline, /omgops:monitor, /omgops:registry]

  ml-systems/monitoring-drift-workflow:
    agents: [mlops-engineer-agent, experiment-analyst-agent]
    skills:
      - ml-systems/robust-ai
      - ml-systems/mlops
    commands: [/omgops:monitor, /omgops:drift]

  ml-systems/retraining-workflow:
    agents: [ml-engineer-agent, mlops-engineer-agent, experiment-analyst-agent]
    skills:
      - ml-systems/mlops
      - ml-systems/ml-workflow
    commands: [/omgops:retrain, /omgtrain:train, /omgtrain:evaluate]

  ml-systems/full-ml-lifecycle-workflow:
    agents: [ai-architect-agent, data-scientist-agent, ml-engineer-agent, research-scientist-agent, model-optimizer-agent, production-engineer-agent, mlops-engineer-agent, experiment-analyst-agent]
    skills:
      - ml-systems/ml-systems-fundamentals
      - ml-systems/data-eng
      - ml-systems/ml-workflow
      - ml-systems/model-deployment
      - ml-systems/mlops
    commands: [/omgml:init, /omgdata:collect, /omgtrain:train, /omgdeploy:serve, /omgops:monitor]
