Buttons render correctly but booking logic is wrong.
You installed the shadcn skill expecting full product design.
Forms validate with Zod but illegal business transitions still ship.
Your agent knows Dialog API but not hold lifecycle rules.
Context
The official shadcn/ui skill reduces component errors: your agent stops guessing registry paths and form patterns. That saves time on every UI file. Product behavior is a separate concern. A correct Submit button can still fire at the wrong step in onboarding. Lamina does not teach Button; it teaches what Submit may do for each actor.
Common situations
Concrete cases from AI-shipping workflows. Each shows what the alternative handles and where validated graph knowledge and verification evidence help.
Correct Form component, wrong checkout sequence
Situation
shadcn skill fixed FormField wiring on checkout. Guests can still pay when the inventory hold expired because nothing defined hold status in the domain model.
What shadcn/ui skill does
Ensures shadcn Form, Input, and Button usage match project conventions and accessibility patterns.
What Lamina adds
GraphVersion defines hold lifecycle and pay preconditions. Verify catches pay enabled after expiry.
Takeaway
Component correctness is not flow correctness.
Adding a new settings page with standard patterns
Situation
Profile settings with shadcn Card, Switch, and toast patterns. No new roles or gates.
Skip until settings change product permissions or multi-step setup.
Takeaway
UI-only changes rarely need a resolved graph knowledge.
Multi-step wizard with shadcn Stepper pattern
Situation
Agent used shadcn patterns for a stepped UI. Step navigation is wired but business prerequisites are not enforced server-side.
What shadcn/ui skill does
Provides stepper UI components and layout patterns.
What Lamina adds
Permission matrix: which steps must complete before advance and submit. GraphVersion projection lists server checks.
Takeaway
Pair shadcn UI patterns with Lamina when steps encode business rules.
Comparison
Lamina vs shadcn/ui skill
Dimension
shadcn/ui skill
Lamina
Primary job
Correct shadcn APIs and registry usage
Spec domain behavior
Layer in stack
UI component skill
Transactional product graph + agent workflow
Primary output
components.json context + UI code
Validated GraphVersion plus query projections
Writes app source?
Yes, UI code
No
Behavior spec (states, flows, permissions)
Component interaction patterns
State machines and permissions
Durable in-repo artifact
Skill + components in repo
Validated GraphVersion plus query projections
Post-build verification
CLI and docs lookup during build
Independent Persona Missions with runtime evidence
Repo and stack fit
Projects with components.json
CLI plus portable skills in any repo and stack
Best when
Wrong Button, Form, or Dialog APIs
Multi-step flows with gates
When you don't need Lamina
Component-only tweaks
No new product rules
Compose with Lamina?
Active during UI implementation
/lamina-design → implement → verify
Workflow
Lamina vs shadcn/ui skill: recommended workflow
Step
shadcn/ui skill
Lamina
1
Ensure components.json is current
/lamina-design on the feature
2
Agent builds UI with shadcn skill
Agent follows the resolved GraphVersion projection
3
Fix component API errors
/lamina-verify independent Persona Missions
When to use which
Lamina vs shadcn/ui skill: when to use each
Situation
shadcn/ui skill
Lamina
Migrating Button to new shadcn API
shadcn skill
Skip
Partner onboarding with gated submit
shadcn for forms
Contract + verify
Not using shadcn in this repo
N/A
Lamina still applies for behavior
Worked example
Readiness checklist before guests. shadcn skill helps render checklist UI components correctly. Lamina specs which blockers (Stripe, photos, policy) must clear before the property accepts bookings. HavenStay verify found a single Create your hotel CTA without readiness gates when behavior was not specced.
Should I install both the shadcn skill and Lamina?
Yes, if you use shadcn/ui and ship features with product rules. They operate on different layers.
Does Lamina know my shadcn registry?
Lamina does not pick components. GraphVersion projection describes behavior; your agent and shadcn skill handle UI choices.
Does the shadcn skill replace Lamina?
No. It is a UI helper, not a product behavior designer.
Comparisons map stack layers, durable outputs, and provenance-marked legacy examples. Updated when major tools change positioning.
More comparisons
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