Lamina product behavior
Represented model matches domain — UI must not imply illegal states or permissions. Use when run.json domain and screens diverge from implementation shape.From its SKILL.md
npx -y skills add aryaniyaps/lamina --skill lamina-product-behaviorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.6 KB, 463 tokens by cl100k_base, as published. Nobody here has run it
Product Behavior (agent-native)
The represented model in run.json must match how actors conceive tasks — simpler than implementation, aligned with domain invariants.
Contract encoding
| Layer | Artifact |
|---|---|
| Domain truth | entities[], invariants[] |
| What actors can do | actors.permissions, workflows |
| What UI shows | surfaces[] — no affordance for forbidden operations |
| Illegal states | scenarios[] + disabled/hidden actions in screen spec |
Implementation model stays in external code. Lamina specifies represented model only.
Frameworks
- Goals vs tasks: Design for stable goals; eliminate tasks technology made obsolete.
- Capability / viability / desirability: Record trade-offs in
decisions.mdwhen pillars conflict. - Design values: e.g. don't make actors feel stupid — use as filter when reconciling persona panel conflicts.
- Patterns: Modeless feedback, reversible actions — reference in
implement.md, don't prescribe UI library.
Design checklists
- No screen shows actions the actor cannot perform (or shows why disabled).
- Entity names in UI match
entities[]vocabulary. - States visible to actors match the entity lifecycles — no mystery modes.
- Primary actor path optimized; edge cases in scenarios, not driving IA.
- Deviations from common patterns documented in
decisions.md.
Verify checks
- Actor walks: forbidden operations blocked with scenario-matching
ux. - Invariant probes: UI never implies illegal state (e.g. two active tickets).
- Walkthrough: represented labels match contract entity names.
Anti-patterns
- Elastic user: Generic actor justifying any design choice.
- UI after coding: Contract written to match accidental implementation.
- Implementation-shaped menus: File/Edit mirroring backend modules.
- Feature lists without goals: Workflows not traceable to actor outcomes.
Related
What ships with it: 10 files
21.2 KB alongside SKILL.md
references/
- consistency-guarantees.md2.0 KB
- dependencies.md1.4 KB
- idempotency-concurrency.md1.7 KB
- invariants.md2.7 KB
- modularity-boundaries.md2.0 KB
- multi-view-integrity.md2.0 KB
- platform-posture.md587 B
- product-behavior.md2.1 KB
- side-effects.md2.8 KB
- time-semantics.md3.9 KB