Skip to Content
Commands/lamina-init

/lamina-init

Answer the business questions product design depends on and persist them in .lamina/. Run once per project, or again when the business use case changes.

Quick path

  1. Run /lamina-init with your domain description
  2. Inspect .lamina/business-context.md and .lamina/personas.json
  3. Proceed to /lamina-design

When to use

  • Starting a new project or major feature area
  • Before /lamina-design on an unfamiliar domain
  • When pivoting scope, market, or actor cast (update mode)
  • Before any verify on a greenfield project

Modes

ModeCommandBehavior
establish (default)/lamina-init <domain>First-time bootstrap
update/lamina-init update <what changed>Merge changelog on pivot; preserve prior decisions

Establish

/lamina-init Exam hall ticket system for universities
/lamina-init Boutique hotel booking marketplace in the United States

Update

Use when the business use case changes — new market, scope pivot, or actor cast shift:

/lamina-init update Expanding to business travelers with corporate billing

Update mode appends to the changelog in business-context.md and revises affected sections without discarding prior work.

What it produces

FileContent
.lamina/business-context.mdDomain charter — problem, goals, scope, constraints
.lamina/personas.jsonActor cast — roles, goals, permissions, constraints

See Global artifacts for field-level detail.

Brownfield scanning

On existing codebases, /lamina-init may perform a bounded repo scan to infer domain context. The scan is read-only — Lamina never edits app source during init.

Advanced: Brownfield scanning follows the field-research pattern. It reads source files and may walk the live UI to ground business-context.md in what already exists.

Init gate

/lamina-design and /lamina-verify are blocked until a valid business-context.md exists. This gate cannot be bypassed.

What to do next

Run /lamina-design with a specific feature or flow within the chartered domain:

/lamina-design Hall ticket download with payment gate and venue assignment

Tips

  • Be specific — “e-commerce” is too broad; “university exam hall ticketing” is right
  • Include primary actors: “for students, invigilators, and admin staff”
  • One init per domain — design individual flows with /lamina-design, not repeated inits
  • For brownfield projects, mention the existing app: “init for our existing Next.js booking app”

Next steps

Last updated on