Your first workflow
This walkthrough builds a small feature from start to finish using the Exarchos feature workflow. You will go from idea to merged PR. The example is simple on purpose so you can focus on the workflow mechanics.
Before you start
- Have a project open in Claude Code (any codebase works)
- Exarchos installed and verified (see Installation)
Step 1: Start with /ideate
Tell Exarchos what you want to build:
/exarchos:ideate Add a string utility module with camelCase and snake_case convertersExarchos initializes a workflow and enters the ideate phase. Here is what happens next:
- Claude asks clarifying questions: what problem are you solving, what constraints exist, what patterns the codebase already uses.
- You get 2-3 distinct approaches with trade-offs for each.
- You pick an approach.
- A design document is saved to
docs/designs/in your project.
The design is saved automatically. No approval is needed here; the workflow auto-continues to planning.
Step 2: Planning
After the design is saved, Exarchos auto-continues to /plan. No need to run anything manually.
- The design is decomposed into TDD-based implementation tasks
- Each task has red/green/refactor phases, test file paths, and expected test names
- Tasks are organized into parallel groups where dependencies allow
- A plan-review checks that every design requirement has a corresponding task
If plan-review finds gaps, it loops back and revises the plan automatically. When coverage is complete, you see the plan.
You approve the plan. This is the first of two human checkpoints. From here, the workflow runs autonomously until a PR is ready.
Step 3: Delegation
After plan approval, /delegate dispatches tasks to agent teams:
- Each task gets an implementer agent running in its own git worktree
- Agents follow strict TDD: write a failing test first, make it pass, then clean up
- Independent tasks run in parallel
- Progress events track each task through completion
You can watch the progress or walk away. The agents work independently in isolated branches. Your main working tree stays untouched.
Step 4: Review
When all tasks complete, two-stage review runs automatically:
- Stage 1, spec compliance: does the implementation match the design? Are all requirements covered? This catches drift between what you asked for and what got built.
- Stage 2, code quality: is it well-written? Are there operational issues, missing error handling, or test gaps?
If review finds problems, fixer agents are dispatched automatically to address them. The review/fix cycle repeats until both stages pass. No manual intervention needed.
Step 5: Synthesis
Once review passes, /synthesize creates a pull request from the feature branch. The PR description references the design document, implementation plan, and review results.
If the PR needs to get through CI checks or human reviewers, /shepherd handles the iteration loop: assess the PR status, fix failing checks, address review comments, resubmit. It runs up to five iterations before escalating.
Step 6: Merge
Review the PR on GitHub. When you are satisfied:
- Approve the merge when Exarchos asks
- Then run cleanup:
/exarchos:cleanupThis resolves the workflow to completed, removes worktrees, and prunes merged branches.
What if context compacts?
At any point during this workflow, if Claude Code compacts your context and the agent loses track of what it was doing:
/exarchos:rehydrateWorkflow state, current phase, task progress, and artifact references are restored in about 2-3k tokens. The agent picks up where it left off. No need to re-explain the project or recap decisions you already made.
You can also use /checkpoint proactively before stepping away. It saves current progress and gives you the exact rehydrate command to use when you come back.
The full picture
/ideate → /plan → [YOU APPROVE PLAN] → /delegate → /review → /synthesize → [YOU CONFIRM MERGE]Two decisions are yours: approve the plan, confirm the merge. Everything between auto-continues. The workflow is durable across context compaction, session breaks, and laptop closures.
Other workflows
The feature workflow is the most complete, but Exarchos has two other entry points:
Debugging: when something is broken, use /exarchos:debug instead. It starts with triage and investigation before any fix attempt. Choose --hotfix for production fires (15-minute time box) or the default thorough track for full root cause analysis.
/exarchos:debug Users report cart total is wrong after removing itemsRefactoring: when code works but needs improvement, use /exarchos:refactor. It assesses scope first, then picks the right track: --polish for small changes (five files or fewer) or the default overhaul for structural changes with full delegation.
/exarchos:refactor Extract validation logic into separate utility functionsBoth workflows follow the same pattern: structured phases, durable state, automatic transitions, and convergence gates between steps.
Next steps
- Feature Workflow - Full reference for the design-plan-implement-review-ship pipeline
- Debug Workflow - Triage, investigate, and fix with validated results
- Refactor Workflow - Scope assessment and verified improvements
- Checkpoint & Resume - How durable state works under the hood