Hainrixz/the-architect

A Claude Code plugin that interviews you, designs the whole architecture, and writes a self-contained blueprint another Claude Code instance builds from with zero context — EARS acceptance criteria and a runnable verify command on every build step. 14 project shapes, greenfield and brownfield. EN/ES.

What it solves

Building software with an AI coding agent usually fails because the agent has to make dozens of decisions on its own — which stack, which versions, what counts as "done" — and it guesses. The Architect solves that by producing a blueprint first: a detailed, self-contained markdown plan that a separate Claude Code instance can follow to build the project from scratch, without asking you a single question. It deliberately does not write application code; it designs the system and hands the build plan to another agent.

How it works

The Architect runs as a plugin inside Claude Code. You describe what you want (e.g. "a SaaS for restaurant reservations, team accounts, Stripe"), and it walks through four phases:

  1. Discovery — 2–3 questions that classify your project into one of 14 shapes (SaaS web app, mobile app, CLI/library, data pipeline, etc.) and whether it's new or existing code.
  2. Deep dive — shape-specific questions that pick the runtime track and capabilities.
  3. Architecture — one dense message with the stack table, what v1 includes/excludes, and rough build phases. Two mandatory "gates" run here.
  4. Generate — three subagents do the heavy lifting: stack-researcher verifies every version against live registries, blueprint-writer composes the document, and blueprint-validator audits it until it passes. Output lands in ./blueprints/.

The two gates are the anti-failure core. Gate A forbids any underspecified decision: every open question must be answered, confirmed as a default, or explicitly declared a Non-Goal — no silent guessing. Gate B is an adversarial pre-mortem that attacks the plan from eight angles (false assumptions, market, unit economics, etc.) and turns surviving findings into Risk Register entries or Non-Goals.

Every build step in the blueprint carries four fields — Do, Done when, Verify, Checkpoint — and acceptance criteria use EARS form ("WHEN <trigger> THE SYSTEM SHALL <observable response>"), so every criterion is decidable by a script without leaving the machine. Vague phrases like "it looks right" are rejected by the validator.

The Architect also works on existing code (/architect-brownfield): it maps the repo first, respects the repo's own conventions over its defaults, and never rewrites working code you didn't ask it to touch.

Who it's for

People using Claude Code who want to hand a build to an autonomous agent and walk away — especially for multi-week projects, parallel builders, or builds that must survive across sessions. There's a quick path (3 questions, ~15–25 minutes) for small builds where you already know the stack, and a full path (12–16 questions, ~40–60 minutes) for when nobody will be around to answer the builder's questions later. It also suits teams working on existing codebases who want a change (feature, refactor, integration, migration) planned before execution.

Highlights

  • Blueprint-first workflow: describe the idea, get a complete plan, let a separate Claude Code instance build it with zero prior context.
  • Two mandatory quality gates: no underspecified decisions (Gate A) and an adversarial pre-mortem (Gate B) before anything is generated.
  • 14 stack-agnostic project shapes covering everything from SaaS apps and mobile apps to CLI tools, browser extensions, and data pipelines.
  • Live version verification: a stack-researcher subagent checks every package version against real registries at design time; unverifiable versions are flagged "verify before install" rather than guessed.
  • Anti-drift build steps: every step has explicit Do / Done when / Verify / Checkpoint fields with script-decidable acceptance criteria.
  • Resumable builds: /architect-next reads the task DAG and tells a fresh session exactly what to do next and how to know it's done.
  • Brownfield support: maps an existing repo and plans changes (features, refactors, integrations, migrations) while respecting the repo's own conventions.
  • Two output modes chosen automatically: a bundle (with task DAG, epics, and workspace config) for 12+ steps, or a single self-contained file for smaller builds.

Related

  • Project
  • Project
  • Project
  • Project
  • Project