{
  "$schema": "https://opencode.ai/config.json",
  "agent": {
      "1-create-prd": {
      "prompt": "{file:./agent/1-create-prd.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Define scope with structured Product Requirement Documents"
    },
        "2-generate-tasks": {
      "prompt": "{file:./agent/2-generate-tasks.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Break PRDs into granular, actionable task lists"
    },
        "3-process-task-list": {
      "prompt": "{file:./agent/3-process-task-list.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Execute tasks iteratively with progress tracking and review checkpoints"
    },
    "ui-designer": {
      "prompt": "{file:./agent/ui-designer.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "UI/UX design, wireframes, prototypes, accessibility, design systems"
    },
    "quality-assurance": {
      "prompt": "{file:./agent/quality-assurance.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Test architecture, quality gates, requirements traceability, risk assessment"
    },
    "feature-planner": {
      "prompt": "{file:./agent/feature-planner.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Epics, user stories, prioritization, backlog management, retrospectives"
    },
    "code-developer": {
      "prompt": "{file:./agent/code-developer.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Implementation, debugging, refactoring, code best practices"
    },
    "orchestrator": {
      "prompt": "{file:./agent/orchestrator.md}",
      "mode": "primary",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Analyze intent, coordinate workflows, route to optimal agent sequences"
    },
    "system-architect": {
      "prompt": "{file:./agent/system-architect.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "System design, technology selection, API design, scalability planning"
      },
          "context-builder": {
      "prompt": "{file:./agent/context-builder.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Initialize project context, discover documentation, create knowledge bases"
    },
    "market-researcher": {
      "prompt": "{file:./agent/market-researcher.md}",
      "mode": "subagent",
      "tools": {
        "write": true,
        "edit": true,
        "bash": true
      },
      "description": "Market analysis, competitive research, project discovery, brainstorming"
    }
  },
  "command": {
    "debug-method": {
      "template": "{file:./command/debug-method.md}",
      "description": "Systematic four-phase debugging framework - investigate root cause before any fixes"
    },
    "verify-done": {
      "template": "{file:./command/verify-done.md}",
      "description": "Verify work meets requirements before marking complete - prevents incomplete deliverables"
    },
    "skill-creator": {
      "template": "{file:./command/skill-creator.md}",
      "description": "Create reusable skills with proper structure, validation, and documentation"
    },
    "tdd-flow": {
      "template": "{file:./command/tdd-flow.md}",
      "description": "Write test first, watch it fail, write minimal code to pass - ensures tests actually verify behavior"
    },
    "test-traps": {
      "template": "{file:./command/test-traps.md}",
      "description": "Identify and avoid common testing anti-patterns that create fragile, useless tests"
    },
    "trace-back": {
      "template": "{file:./command/trace-back.md}",
      "description": "Trace issues to their root cause using systematic investigation techniques"
    },
    "brainstorming": {
      "template": "{file:./command/brainstorming.md}",
      "description": "Facilitate structured brainstorming sessions with proven techniques and frameworks"
    },
    "docs-builder": {
      "template": "{file:./command/docs-builder/SKILL.md}",
      "description": "Create comprehensive project documentation with structured /docs hierarchy"
    },
    "live-canvas": {
      "template": "{file:./command/live-canvas.md}",
      "description": "Design UI variations and collect click-to-annotate feedback from the browser (batch mode only on Opencode)"
    },
    "optimize": {
      "template": "{file:./command/optimize.md}",
      "description": "Analyze and optimize performance issues"
    },
    "refactor": {
      "template": "{file:./command/refactor.md}",
      "description": "Refactor code while maintaining behavior and tests"
    },
    "diff-review": {
      "template": "{file:./command/diff-review.md}",
      "description": "Comprehensive code review including quality, tests, and architecture"
    },
    "security": {
      "template": "{file:./command/security.md}",
      "description": "Security vulnerability scan and analysis"
    },
    "ship": {
      "template": "{file:./command/ship.md}",
      "description": "Pre-deployment verification checklist"
    },
    "release": {
      "template": "{file:./command/release.md}",
      "description": "Deliver a feature end-to-end: verify, docs, merge, tag (publish stays manual)"
    },
    "remember": {
      "template": "{file:./command/remember.md}",
      "description": "Consolidate stashes + friction into project memory"
    },
    "stash": {
      "template": "{file:./command/stash.md}",
      "description": "Save session context for compaction recovery or handoffs"
    },
    "test-generate": {
      "template": "{file:./command/test-generate.md}",
      "description": "Generate tests, run them, and verify each test actually exercises the code (not just passes)"
    },
    "subagent-spawning": {
      "template": "{file:./command/subagent-spawning.md}",
      "description": "Provides TDD-aware templates for spawning fresh subagents"
    }
  }
}
