A Claude Code plugin for planning and executing development projects across three execution modes.
Dream Team provides structured planning skills that generate spec files, and a universal build skill that reads the spec and executes it using the appropriate strategy. It ships with eight specialized agents for common development roles.
For all features to work — especially the Team execution mode — you need to enable experimental agent teams in Claude Code:
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
See the Agent Teams documentation for details.
A terminal multiplexer like tmux or iTerm2 is recommended, as agent teams spawn multiple Claude instances that benefit from separate panes/windows for monitoring.
If your specs set playwright: true, builder and tester agents will use Playwright to verify UI changes visually
(navigate pages, take screenshots, interact with elements, check for console errors). Install the
Playwright MCP server to enable this:
claude mcp add playwright npx @playwright/mcp@latest
Without it, agents will skip visual verification and note it in their reports.
Register the repository as a local marketplace, then install:
claude plugin marketplace add Ratler/dream-team-marketplace
claude plugin install dream-team@dream-team-marketplace
-
Brainstorm your idea:
/dream-team:plan Build a REST API for user management -
Write the spec (after brainstorming completes):
/dream-team:spec-delegated -
Execute:
/dream-team:build specs/2026-02-08-user-management.md
| Area | Dream Team |
|---|---|
| Philosophy | Turn Claude into a project lead |
| Skills | 6 pipeline-connected skills (plan, spec x3, build, debug) |
| Agents | 8 named roles with per-agent model and tool policies |
| Execution modes | Sequential, Delegated, Team |
| Planning | Formal specs with YAML frontmatter |
| Task tracking | TaskCreate/TaskUpdate with dependency graph |
| Git workflow | Built into execution (branch, commit, review gates) |
| Code review | Configurable review policy with retry loops |
| Team support | Parallel Claude instances via experimental agent teams |
| Playwright | First-class integration (opt-in per spec) |
| Validation | Hook-enforced (preflight checks, can't skip) |
Dream Team separates the workflow into three distinct phases: brainstorm, spec, build. Each phase has its own command and produces a clear handoff to the next.
/dream-team:plan starts an interactive conversation. It explores the codebase, asks clarifying questions one at
a time, proposes 2-3 approaches with trade-offs, and walks through the task breakdown section by section. No files are
created; the output is a shared understanding between you and Claude. At the end, it recommends which execution mode
fits best.
Once brainstorming is complete, run the spec command for your chosen execution mode. The command you pick determines how the build phase will run:
/dream-team:spec-sequential— produces a spec for single-session execution/dream-team:spec-delegated— produces a spec with agent assignments for orchestrated execution/dream-team:spec-team— produces a spec with team configuration for parallel Claude instances
The spec skill picks up the conversation context, reads the shared template (templates/spec-template.md), and writes
a structured spec file to specs/. The spec includes YAML frontmatter declaring the execution mode, along with sections
for tasks, acceptance criteria, and depending on the mode, agent assignments or team configuration. Tasks use
dependencies so blocked work waits for its prerequisites automatically.
/dream-team:build specs/<filename>.md reads the spec's mode frontmatter and runs the matching execution strategy:
- Sequential -- Iterates through tasks in dependency order within a single session. No sub-agents are spawned. The main session handles everything directly, making it the simplest and cheapest path.
- Delegated -- An orchestrator in the main session dispatches tasks to specialized sub-agents (builder, researcher, reviewer, etc.) using the Task tool. The orchestrator tracks progress and routes results between agents. Sub-agents run within the same session but get fresh context for each task.
- Team -- Launches separate Claude instances as a full agent team. Each instance picks up tasks from a shared task
list and communicates through it. This enables true parallelism across independent workstreams but requires the
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSenvironment variable.
/dream-team:debug is a standalone debugging skill that works independently of the plan/spec/build workflow. It
reproduces the issue, investigates root cause, applies a targeted fix, and verifies the resolution.
Five JavaScript hooks run at key points in the workflow:
- SessionStart -- Injects plugin context (available agents, spec template location, slash commands) into every new session so Claude knows Dream Team is available. Displays a startup message with the plugin version.
- Preflight team check (PreToolUse hook) -- Blocks team-mode builds when
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSis not enabled. Fires on every Skill tool call and only intercepts the build skill with a team-mode spec. - Spec exists (Stop hook) -- After a spec skill finishes, validates that a spec file was actually written to
specs/. Currently dormant — see Known Issues. - Spec sections (Stop hook) -- Validates that the spec contains all required sections for its declared execution mode. Currently dormant — see Known Issues.
- Build complete (Stop hook) -- After a build skill finishes, checks that all tasks reached the
completedstate. Currently dormant — see Known Issues.
- Stop hooks in skill frontmatter do not fire (anthropics/claude-code#19225).
The three validation hooks (spec exists, spec sections, build complete) are wired correctly in skill frontmatter but
Claude Code never invokes them. The SessionStart hook in
hooks.jsonworks fine. The Stop hooks will activate once the upstream bug is fixed, no changes needed on our side.
| Agent | Model | Role |
|---|---|---|
| builder | opus | Writes code, runs tests, commits |
| researcher | sonnet | Explores codebases and gathers context (read-only) |
| architect | opus | Designs systems and makes technical decisions (read-only) |
| reviewer | sonnet | Reviews code for correctness and quality (read-only) |
| security-reviewer | opus | Proactive security audit with structured checklist (read-only) |
| tester | sonnet | Writes and runs tests |
| validator | haiku | Fast validation checks (read-only) |
| debugger | opus | Systematic debugging: reproduce, investigate, fix |
make test
or
node tests/test_session_start.js
node tests/test_preflight_team_check.js
node tests/test_validate_spec_exists.js
node tests/test_validate_spec_sections.js
node tests/test_validate_build_complete.js
MIT