Skip to content

Welcome

Stop writing prompts. Start writing specifications. Your AI agent already knows what to do.

A compiler for AI context. You describe your system in one of twelve structured modeling languages — DDD, USM, CBRL, SCM, DSM, SIM, C4, ESDM, Context Map, Decision, ABSL, ACM — and ContextBrew assembles every artifact an AI coding agent needs to implement correctly: failing tests, type stubs, navigation flows, recipe prompts, access rules.

The AI agent you already use (Claude Code, Cursor, Copilot) becomes faster and more reliable — because the inputs are precise, not vague.

Read the full introduction →

I have a specific question

Check the FAQ. If it’s not there, ask the Context Coach inside the IDE.

I want a complete walkthrough

Walk through First Project for a step-by-step worked example.

DDD

Domain. Aggregates, invariants, and events — the rules that always hold.

USM

Users. Personas, stories, acceptance criteria — what people actually need.

CBRL

Requirements. Formal statements with traceability and aspects — what the system must do.

SCM

UI. Screens, navigation, routes — how people move through the app.

DSM

Persistence. Tables, columns, constraints — how data lives.

The seven optional models (SIM, C4, ESDM, Context Map, Decision, ABSL, ACM) add capabilities for multi-service systems, event-sourced domains, strategic DDD, ADRs, AI agents, and access control. See Which model do I need? for the decision guide.

  • Specification-driven development. Your specs are the source of truth; code is downstream.
  • Auto-generated tests. Every invariant, acceptance criterion, and constraint becomes a test. The AI agent implements until the tests pass.
  • Recipe versioning. Branch, commit, merge, tag your recipes the same way you do code.
  • Multi-model AI. Compare outputs from Claude, GPT, Gemini, and local models side by side, with cost tracking.
  • A completion gate. Recipes cannot ship until every screen has an access rule. Programmatic, not “we’ll fix it later”.

Getting started

Installation, first project, core concepts, quick start, glossary, FAQ. →

Models

Twelve modeling languages — what each captures, when to use it, how to edit it. →

Recipes

The unit of work you hand to an AI agent. Bundled context + failing tests + type stubs + prompt. →

Methodology

The discipline behind ContextBrew’s “fail closed” tooling posture. →

File schemas

Normative JSON Schemas for every model file. Generated from the same TypeScript the platform runs on. →

Reference

CLI commands, API endpoints, CBRL syntax. →