lamina

Product-design skills for developers using AI programming agents. Used to clarify what to build before prompting an agent — including domain models, workflows, edge cases, product states, and UX preprocessing defects. Can be used alongside tools like Cursor, Claude Code, Codex, Gemini, Pi, and applies to any tech stack and UI library. Not for visual style design, pixel-level layout, or writing application source code.

Last repository push
GitHub Stars
119
Forks
3
Issues / PRs
23

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "lamina" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0b9597d1bf59c24192213a7452d17ddf72396fd2a0acab9ae49c1b881b03eea4. Verify the upstream source and version against https://github.com/aryaniyaps/lamina before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Product-design skills for developers using AI programming agents. Used to clarify what to build before prompting an agent — including domain models, workflows, edge cases, product states, and UX preprocessing defects. Can be used alongside tools like Cursor, Claude Code, Codex, Gemini, Pi, and applies to any tech stack and UI library. Not for visual style design, pixel-level layout, or writing application source code.

0 Downloads

Introduction source: third_party · aryaniyaps · 0.0.1 Reference

SkillPi interpretation

Audience
Invoke Lamina when the task involves: New features where domain rules, user behavior, and system invariants all matter Multi-step flows (onboarding, checkout, settings, wizards) Permission-sensitive or multi-actor interactions Empty states, error handling, or edge cases tied to business rules Post-build verification against a design contract "Build me a dashboard/settings/app" requests that skip product thinking Do **not** invoke Lamina for: Visual design, color, typography, or layout polish (use your UI design skill) Generating React/Vue/Svelte components directly Pure backend/API design with no user-facing flow
Inputs and outputs
Always output in this order: 1. Domain (entities, invariants) 2. Actors & workflows 3. UX flows 4. Scenarios & edge cases End with a GraphVersion-pinned **implementation projection** for the coding agent: ```
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: lamina
description: >-
  Product design skill for developers who build with AI coding agents. Use when
  you need to know what to build before prompting your agent — domain model,
  workflows, edge cases, product states, and UX gaps handled upfront. Works
  alongside Cursor, Claude Code, Codex, Gemini, Pi. Any stack, any UI library.
  Do NOT use for visual styling, pixel layouts, or writing app source.
metadata:
  surfaces:
    - ide
    - cli

Lamina — For Developers Who Build with AI

Design how it works.

Lamina runs alongside your AI coding agent — Cursor, Claude Code, Codex, Gemini, Pi. It helps you know what to build before you prompt: edge cases, UX gaps, product states, and invariants in a transactional product graph your agent implements. Verified with isolated Persona Missions after you ship. Does not write your app source.

When to use

Invoke Lamina when the task involves:

  • New features where domain rules, user behavior, and system invariants all matter
  • Multi-step flows (onboarding, checkout, settings, wizards)
  • Permission-sensitive or multi-actor interactions
  • Empty states, error handling, or edge cases tied to business rules
  • Post-build verification against a design contract
  • "Build me a dashboard/settings/app" requests that skip product thinking

Do not invoke Lamina for:

  • Visual design, color, typography, or layout polish (use your UI design skill)
  • Generating React/Vue/Svelte components directly
  • Pure backend/API design with no user-facing flow

Process

Follow this sequence for design:

1. Domain

Define entities, states, and invariants:

### Entity: [Name]
- States: [list]
- Invariants: [rules that must never break]
- Permissions: [who can do what]

2. Actors & workflows

Map who does what across the system:

### Actor: [Role]
- Goal: [what they're trying to accomplish]
- Operations: [what they can trigger]

## Workflow: [Name]
1. [Actor] → [Operation] → [Side effect]

3. UX flows

Map primary and alternate paths as numbered steps:

## Flow: [Name]

**Trigger:** [what starts this flow]
**Success:** [what "done" looks like]

1. [Step]
2. [Step]

### Alternate paths
- [Condition] → [different path]

4. Scenarios & edge cases

Enumerate violations and recovery:

### Scenarios
- [ ] [Specific scenario] → [Expected behavior]

Categories: empty states, errors, concurrency, boundaries, permissions, recovery.

Verify

After implementation, run verification:

  1. Resolve the active GraphVersion and source revision.
  2. Compile one independent Mission for every active Persona.
  3. Run each Mission through a capability-matched adapter.
  4. Publish normalized Evidence and HarnessResults through graphd.

Output format

Always output in this order:

  1. Domain (entities, invariants)
  2. Actors & workflows
  3. UX flows
  4. Scenarios & edge cases

End with a GraphVersion-pinned implementation projection for the coding agent:

## Handoff

GraphVersion: [resolved version id]
Source revision: [resolved source revision]
Framework: [user's stack, or "agnostic"]
Priority: [what to build first]
Defer: [what can wait]

Voice

  • Precise, structural, dev-native
  • No marketing language, no "revolutionary AI"
  • Specs are testable — if you can't write a test for it, rewrite it
  • Name things consistently (use IDs like flow.invite-member.step-3)

Integration

Lamina is unopinionated. Works alongside:

  • Any UI design skill (Impeccable, UI UX Pro Max, etc.)
  • Any UI library (shadcn, MUI, Chakra, Radix, Tailwind)
  • Any framework (React, Vue, Svelte, Next.js, Angular, Astro, mobile)
  • Any coding agent (Cursor, Claude Code, Codex, Gemini, Pi)

Never prescribe component names from a specific library unless the user specifies one. Never opinionated about context management or memory.

Brand

  • Tagline: Design how it works.
  • Position: Know what to build. Iterate faster.
  • Visual: Grey UX layer · Highlighter #FACC15 accent · dotted annotations · 3D meerkat mascot
  • Website: lamina.dev

Version history

  1. cli-v0.3.5 GitHub ↗
  2. cli-v0.2.0 GitHub ↗
    Original release notes

    Persona-first design is now the canonical Lamina workflow. Every active Persona independently walks every Workflow before implementation; unresolved discoveries block readiness; Experience Cases compile directly from current walks; and WorkMap rows are mechanically scaffolded before file resolution. This release removes the redundant Experience Contract and Experience Evidence manifest, introduces WorkMap and receipt v4, and upgrades graph protocol compatibility to version 8.

  3. cli-v0.1.16 GitHub ↗
    Original release notes

    Fixes graph JSON corruption recovery by upgrading LadybugDB, checkpointing acknowledged graph writes, batching large graph reads, and recycling stale graphd runtimes. Includes regression coverage for reopen, restore, WAL cleanup, and process-loss recovery. **Full Changelog**: https://github.com/aryaniyaps/lamina/compare/cli-v0.1.15...cli-v0.1.16

  4. cli-v0.1.15 GitHub ↗
    Original release notes

    **Full Changelog**: https://github.com/aryaniyaps/lamina/compare/cli-v0.1.14...cli-v0.1.15

  5. cli-v0.1.14 GitHub ↗
    Original release notes

    Fix standalone installation compatibility for passive provider setup.\n\n- Ship the documented lamina setup --agent command in standalone binaries.\n- Exercise setup through native-binary and staged-installer smoke tests.\n- Reject release-critical CLI changes that reuse an already-tagged version.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向 AI 编程代理开发者的产品设计规范,解决编码前需求澄清的核心痛点
  • 覆盖领域模型、工作流、边缘情况等高价值设计维度
Trigger Precision88/100

Highlights

  • 使用场景和禁用场景界定清晰,边界明确
  • description 位置正确且内容完整
Structure and Standards85/100

Areas to improve

  • 缺少端到端完整示例 Reported severity: Minor

    文档提供了流程框架但缺少一个完整的端到端设计示例

    Recommendation: 建议补充一个完整的产品设计案例,展示从 Domain 到 Handoff 的完整输出

Highlights

  • Phase/步骤划分清晰(Domain -> Actors -> UX flows -> Scenarios)
  • 有明确的输出格式规范和验证机制
Execution Reliability82/100

Highlights

  • 设计流程完整闭环,包含前期设计和后期验证
  • 输出格式标准化,便于与编码代理对接
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • lamina.dev

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.