Skip to content

The Essential Workflows

You now know how Archon works. The question becomes: which workflow do I reach for?

Archon ships with workflows for every major development activity. This chapter maps your intent to the right workflow — and gives you enough detail to use each one confidently.


What do you want to do?
├── Ask a question or explore the codebase
│ └── archon-assist
├── Fix a bug from a GitHub issue
│ └── archon-fix-github-issue
├── Build a new feature
│ ├── From an idea or description → archon-idea-to-pr
│ ├── From an existing plan file → archon-plan-to-pr
│ └── Simple implement + PR → archon-feature-development
├── Review a pull request
│ ├── Adaptive (skips irrelevant agents) → archon-smart-pr-review
│ └── All agents, always → archon-comprehensive-pr-review
├── Improve codebase architecture
│ └── archon-architect
├── Implement a PRD story by story
│ └── archon-ralph-dag
└── Resolve merge conflicts
└── archon-resolve-conflicts

The starting point for anything that doesn’t fit elsewhere. It runs a single full-capability Claude Code session against your codebase.

When to use it: Questions about the codebase, debugging sessions, one-off tasks, general help when no other workflow applies.

Terminal window
archon workflow run archon-assist "What does the orchestrator do?"
archon workflow run archon-assist "Why are tests failing in the auth module?"
archon workflow run archon-assist "Explain the isolation system to me"

What it produces: A direct answer. No PR, no artifacts — just the AI working through your question with full access to your code.


The workflow you ran in Chapter 2. Classifies the issue first (bug vs. feature vs. enhancement), then routes to investigation (bugs) or planning (features). Implements, validates, creates a draft PR, runs smart conditional review agents, auto-fixes findings, simplifies changes, and posts a completion report back to the GitHub issue.

When to use it: Any GitHub issue. This is your default for bugs, features, and enhancements alike.

Terminal window
archon workflow run archon-fix-github-issue --branch fix/login-crash "#142"

What it produces: A draft PR with the fix, conditional review (code review always runs; error handling, test coverage, docs impact, and comment quality run only when needed), auto-fixes applied, and a summary comment on the issue.


End-to-end feature development from a description. Creates a plan, verifies it’s still valid against the current codebase, implements, validates, creates a PR, runs five parallel review agents, fixes findings, and posts a final summary.

When to use it: You have a feature idea and want Archon to handle everything from plan to reviewed PR.

Terminal window
archon workflow run archon-idea-to-pr --branch feat/export-csv "Add CSV export to the reports page"

What it produces: A PR ready for merge — plan artifact, implementation artifact, validation results, five-agent review, and a decision matrix posted as a GitHub comment.


The same pipeline as archon-idea-to-pr — but it skips the planning phase. It takes an existing plan file and executes it.

When to use it: You already have a plan (from a previous archon-assist session, an .agents/plans/ file, or a planning workflow) and want to execute it.

Terminal window
archon workflow run archon-plan-to-pr --branch feat/export-csv "Execute .archon/plans/csv-export.md"

What it produces: The same PR and review output as archon-idea-to-pr, minus the planning step.


A lighter-weight alternative. Two steps: implement from a plan, then create a PR. No review pipeline.

When to use it: When you need a quick implement-and-ship without the full review overhead. Good for straightforward changes with an existing plan.

Terminal window
archon workflow run archon-feature-development --branch feat/update-readme "Implement .archon/plans/readme-update.md"

What it produces: A PR with committed changes.


Reviews the current PR with adaptive agent selection. Classifies the PR complexity first (trivial/small/medium/large), then runs only the agents that matter for that PR. A three-line typo fix skips test-coverage and docs-impact analysis.

When to use it: Most PR reviews. Faster than comprehensive because it skips irrelevant agents.

Terminal window
archon workflow run archon-smart-pr-review "Review PR #87"

What it produces: Synthesized review findings, auto-fixes for critical/high issues, and an optional push notification when complete.


Always runs all five review agents in parallel — code review, error handling, test coverage, comment quality, and docs impact — regardless of PR size.

When to use it: Pre-merge reviews on significant PRs where you want every angle covered. Also useful when you want a consistent baseline for a team review process.

Terminal window
archon workflow run archon-comprehensive-pr-review "Review PR #87"

What it produces: Parallel five-agent review, synthesized findings, and auto-fixes applied.


Scans for complexity hotspots (large files, import fan-out, function length), analyzes them with an architectural lens, plans targeted simplifications, makes changes with quality feedback hooks, validates, and opens a PR.

When to use it: Periodic codebase health passes. When a specific area has grown unwieldy. When you want principled simplification, not just cleanup.

Terminal window
archon workflow run archon-architect --branch refactor/simplify-orchestrator "Focus on the orchestrator package"

What it produces: A PR with targeted simplifications, each justified and independently revertable.


Implements a product requirements document (PRD) story by story, in a loop, until all stories pass.

When to use it: Executing a PRD end-to-end with iterative progress tracking.

Terminal window
archon workflow run archon-ralph-dag "Implement .archon/ralph/notifications/prd.md"

What it produces: Committed stories one by one, a final PR when all stories pass.


Fetches the latest base branch, analyzes conflicts, auto-resolves simple cases, and presents options for complex ones. Commits and pushes the resolution.

When to use it: Your PR has merge conflicts and you want help resolving them with full codebase context.

Terminal window
archon workflow run archon-resolve-conflicts "Resolve conflicts on PR #94"

What it produces: A committed conflict resolution pushed to the PR branch.


WorkflowUse WhenCreates PR?Uses Isolation?
archon-assistQuestions, exploration, debuggingNoNo
archon-fix-github-issueFix a GitHub issue (smart routing)Yes (draft)Yes
archon-idea-to-prFeature from descriptionYesYes
archon-plan-to-prExecute an existing planYesYes
archon-feature-developmentImplement + ship (lightweight)YesYes
archon-smart-pr-reviewReview current PR (adaptive)NoNo
archon-comprehensive-pr-reviewReview current PR (all agents)NoNo
archon-architectArchitectural sweepYesYes
archon-ralph-dagPRD implementation loopYesYes
archon-resolve-conflictsResolve merge conflictsNoNo

To see all workflows available in your current directory:

Terminal window
archon workflow list

The list shows both Archon’s bundled defaults and any custom workflows in your repo’s .archon/workflows/ directory. Custom workflows override bundled ones by name — if you create a workflow named archon-assist, it replaces the built-in.

Ready to build your own? In Chapter 7: Creating Your First Workflow →, you’ll build one from scratch — incrementally, version by version, until you’ve got a mini version of archon-idea-to-pr.

But first, let’s cover the isolation system that makes parallel workflows safe. Continue to Chapter 5: Isolation and Worktrees →