lamina

为使用 AI 编程代理的开发者提供的产品设计技能。用于在提示代理前明确要构建的内容——包括领域模型、工作流、边缘情况、产品状态及前期处理的 UX 缺陷。可与 Cursor、Claude Code、Codex、Gemini、Pi 等工具协同使用,适用于任何技术栈和 UI 库。请勿用于视觉样式设计、像素级布局或编写应用源代码。

仓库最近推送
GitHub Stars
119
Forks
3
Issues / PRs
23

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "lamina":https://skillpi.com/zh/skills/deepskill-0b9597d1bf59c24192213a7452d17ddf72396fd2a0acab9ae49c1b881b03eea4。安装前核对上游来源和版本:https://github.com/aryaniyaps/lamina。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

为使用 AI 编程代理的开发者提供的产品设计技能。用于在提示代理前明确要构建的内容——包括领域模型、工作流、边缘情况、产品状态及前期处理的 UX 缺陷。可与 Cursor、Claude Code、Codex、Gemini、Pi 等工具协同使用,适用于任何技术栈和 UI 库。请勿用于视觉样式设计、像素级布局或编写应用源代码。

0 下载

介绍来源: third_party · aryaniyaps · 0.0.1 参考来源

SkillPi 解读

适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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

版本历史

  1. cli-v0.3.5 GitHub ↗
  2. cli-v0.2.0 GitHub ↗
    原版更新说明

    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 ↗
    原版更新说明

    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 ↗
    原版更新说明

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

  5. cli-v0.1.14 GitHub ↗
    原版更新说明

    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.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

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

亮点

  • 使用场景和禁用场景界定清晰,边界明确
  • description 位置正确且内容完整
结构规范85/100

待提升项

  • 缺少端到端完整示例 原报告严重程度:轻微

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

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

亮点

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

亮点

  • 设计流程完整闭环,包含前期设计和后期验证
  • 输出格式标准化,便于与编码代理对接
证据可验 (前四项均值)87/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • lamina.dev

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。