Skip to content

JohnCari/maestro-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maestro Framework

Write a businessplan, derive a techplan, break it into features — then let agents build, critique, and perfect your code.

Turns feature specs into tested, reviewed, continuously improving code. Built on Claude Code agent teams + subagents.

businessplan.md → techplan.md → 001-feature.md, 002-feature.md, ...
                                        ↓
        /maestro-artist ──▶ /maestro-critic ──▶ /maestro-virtuoso
           CREATE              CRITIQUE             PERFECT

Quick Start

# 1. Set up CLAUDE.md with project standards, build/test commands, quality gates
# 2. Create maestro-framework/queue/businessplan.md with your business goals and vision
# 3. Create maestro-framework/queue/techplan.md — technical plan derived from your businessplan
# 4. Break techplan into features: maestro-framework/queue/001-auth.md, 002-dashboard.md, etc.
#    (1 feature per file — each gets its own agent to prevent context rot within the 200k window)

# Run each phase in its own session
claude --dangerously-skip-permissions
/maestro-artist       # Build all features in parallel
/maestro-critic       # Fix cross-feature conflicts + quality sweep
/maestro-virtuoso     # Perpetual improvement loop

All arguments are optional natural language — the lead interprets whatever you pass:

/maestro-artist focus on backend only
/maestro-critic skip performance checks
/maestro-virtuoso security, max 5 iterations

Defaults: 3 retries (artist/critic), 10 iterations (virtuoso).

The Three Phases

/maestro-artist — Create

Spawns a maestro-build agent team with one worker per feature. Workers use Explore subagents to research the codebase, general-purpose subagents for parallel TDD, and coordinate via SendMessage to avoid file conflicts. Features with depends-on: lines build in dependency order. Failed workers get replaced with fresh teammates.

/maestro-critic — Critique

Lead uses Explore subagents to map the codebase, runs the full test suite, then spawns a reviewer agent team with two teammates:

  • conflict-checker — duplicate routes, naming collisions, circular imports, inconsistent schemas
  • quality-sweep — security (OWASP Top 10), code quality, performance

If validation fails, the lead spawns a fresh reviewer team and retries.

/maestro-virtuoso — Perfect

Perpetual improvement loop using maestro-framework/queue/improvementplan.md as shared state:

ORIENTASSESS (3-analyst agent team) → SELECTIMPLEMENT (agent team with file-ownership boundaries) → VALIDATECOMMITUPDATE PLAN → loop

Each iteration spawns fresh teams. The lead only coordinates — never implements directly.

Continuous Loop (optional)

Chain virtuoso + critic with the Ralph Loop plugin for fresh lead context each cycle:

claude --dangerously-skip-permissions
/ralph-loop "/maestro-virtuoso then run /maestro-critic" --max-iterations 30

Runs 30 full cycles: improve → validate → fresh context → repeat.

Setup

  1. Claude Code with agent teams enabled:

    // ~/.claude/settings.json
    { "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }
  2. Install skills:

    git clone https://github.com/JohnCari/maestro-framework.git
    cp -r maestro-framework/skills/maestro-artist ~/.claude/skills/
    cp -r maestro-framework/skills/maestro-critic ~/.claude/skills/
    cp -r maestro-framework/skills/maestro-virtuoso ~/.claude/skills/
  3. Configure CLAUDE.md with your project's build/test commands and coding standards.

  4. Populate the queue:

    • maestro-framework/queue/businessplan.md — your business goals and vision
    • maestro-framework/queue/techplan.md — technical plan derived from businessplan
    • maestro-framework/queue/001-feature.md, 002-feature.md, ... — one feature per file (broken down from techplan; each feature gets its own agent to prevent context rot)

License

CC0 — Public Domain

About

Agentic coding orchestrator — turns a feature queue into tested, reviewed, continuously improving code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors