Guides for developers who build with AI: design product behavior, keep decisions in a transactional graph, and verify the live build with independent persona missions.
AI coding agents optimize for the happy path. Without a behavior contract, screens look correct while illegal states, skipped gates, and dead-end flows ship to production.
Agents ship happy paths
Screens appear fast, but gates, illegal states, and dead ends slip through after merge when no behavior contract defined which transitions are legal.
Design means behavior
Which states exist, who can act, and what happens when something fails, not pixels, typography, or component libraries.
Contract, then verify
Keep rules in a validated GraphVersion, implement a resolved projection, then run independent Persona Missions until the product evidence holds.
Start here
What is headless product design?
The category-defining guide: definition, stack fit, comparisons to UI skills and plan mode, HavenStay worked example, and when behavior contracts are worth it.
Clarifies headless product design vs UI skills, headless CMS, and app builders.
Shows what a behavior contract contains and where it lives in your repo.
Walks through HavenStay: the same app with and without a spec-first build.
Helps you decide when states, roles, and gates justify a formal contract.
Lamina vs your AI workflow
Pick the situation that matches your stack, or browse comparisons by tool type. Each guide includes scenarios and honest when-you-do-not-need-Lamina guidance.
Do I need Lamina to practice headless product design?
No. Plan mode, ADRs, or custom skills work too. Lamina combines portable skills with a CLI and transactional runtime.
Install Lamina with your agent.
Copy the repository-matched prompt. Your agent installs the standalone CLI, adds every Lamina skill for your active agent, configures supported passive rules, checks the setup, and tells you when to start a fresh session with /lamina-init.
Skills work across coding agents. Passive setup currently supports Codex, Claude Code, and Cursor.
Cursor
Claude Code
Codex
Gemini
Pi
and more
Install manually on macOS/Linux4 shell commands
Run these in your project, then start a fresh agent session. On Windows, use the PowerShell installer in the copied agent prompt.
curl -fsSL https://github.com/aryaniyaps/lamina/releases/latest/download/install.sh | sh
npx skills add aryaniyaps/lamina --skill '*' -a <active-agent> -y