Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save manu354/79252161e2bd48d1cfefbd3aee7df1aa to your computer and use it in GitHub Desktop.

Select an option

Save manu354/79252161e2bd48d1cfefbd3aee7df1aa to your computer and use it in GitHub Desktop.
Instructions for orchestrating multi-agent feature development through a dependency graph. Defines a 5-phase structure: data model, TDD, isolated UI with visual testing, and E2E integration.

ORCHESTRATION Instructions

  1. Decompose all subtasks required to accomplish this task into a dependency graph of nodes.

  2. Spawn agents to work through this dependency graph.

    • Note: wait_for_agent tool can be buggy—may need to call it multiple times.
  3. Manage/orchestrate Voicetree MCP agents to work through the dependency graph.

Recommended Structure

Structure your implementation in these phases:

Phase Description
1. Data Model Define the core data structures
2. Pure Functions + TDD Write pure functions with test-driven development for the data model
3. Verify Logic Confirm it works at the pure/data level
4. Isolated UI Component Build UI component in isolation, tested visually with screenshots (read the screenshots)
5. Integration + E2E Integrate UI into larger system with logic. Complete E2E tests that mimic exact user behavior (literally clicking buttons and asserting nodes in graph changed)

This may need further decomposition—above is high level only.

Completion Criteria

The feature MUST be fully complete at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment