Enforces a 4-phase architecture design workflow by reading `.arch/state.json` on every request to gate responses by phase. Phase 1 extracts and validates requirements from PRDs; Phase 2 selects architecture patterns and establishes high-level structure; Phase 3 designs and accepts components sequentially; Phase 4 finalises and documents the solution. Use when discussing system design, solution architecture, PRD analysis, component design, technology selection, or architecture patterns — distinct from general coding help by its strict phase-gating, anti-pattern detection, and state-tracked component acceptance.
93
97%
Does it follow best practices?
Impact
89%
1.07xAverage score across 5 eval scenarios
Passed
No known issues
A startup is building "Craftly", an online marketplace that connects independent artisans with buyers who want unique handmade goods. The founding team has just completed a round of stakeholder workshops and the product manager has produced the initial PRD.
The architecture work is beginning from scratch. Your task is to act as the architecture agent and conduct the first stage of the architecture process: reading the PRD and producing a structured requirements document that the team can use as the foundation for all subsequent design decisions. No technology or architecture choices should be made at this stage — the goal is to understand what the system must do and the conditions it must satisfy.
Produce the following files:
.arch/phase1-evaluation.md — a structured document capturing all requirements, constraints, and risks extracted from the PRD.arch/state.json — the updated project state fileThe following files are provided as inputs. Extract them before beginning.
=============== FILE: .arch/state.json =============== { "current_phase": "not_started", "phases": { "evaluation": {"status": "not_started"}, "methodology": {"status": "not_started"}, "components": {"status": "not_started"}, "finalization": {"status": "not_started"} }, "components": [], "decision_count": 0, "reopens": {"count": 0, "max": 2} }
=============== FILE: .arch/prd.md ===============
Craftly is an online marketplace for handmade goods. Artisan sellers list products; buyers browse, save favourites, and purchase. The platform is mobile-first and targets the UK market at launch.