一键导入
lamina-controls-and-menus
Actions and reversibility in contracts — primary/destructive actions, undo policy, confirmations. Use when destructive ops lack scenarios.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Actions and reversibility in contracts — primary/destructive actions, undo policy, confirmations. Use when destructive ops lack scenarios.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use only when explicitly invoked as lamina-design. Turn an incomplete product idea or brownfield change into a minimum sufficient product behavior graph: actors, entities, operations, workflows, rules, dependencies, decisions, persona perspectives, and distinct risks; then generate an implementation-ready contract.
Use only when explicitly invoked as lamina-init. Turn an incomplete product idea into usable business context and evidence-grounded personas, asking only high-leverage questions and labeling provisional assumptions for later product-graph design.
Product design workflows — domain contracts, implement brief, verify loop. Load via Read or Skill tool when /lamina-* workflows need it.
Use only when explicitly invoked as lamina. Route product design for developers building with AI — design, verify, or direct capability answers.
Use only when explicitly invoked as lamina-verify. Verify a live or brownfield product against its product graph: critical promises, reachable workflows, authority, invariants, state integrity, recovery, accessibility, and contract drift; emit evidence-backed fixes before merge.
Business context UX guidance. Use when bootstrapping Lamina for a project; answering business questions UX work needs; updating context after a pivot or scope change.
| name | lamina-controls-and-menus |
| description | Actions and reversibility in contracts — primary/destructive actions, undo policy, confirmations. Use when destructive ops lack scenarios. |
| metadata | {"lamina":{"id":"controls-and-menus","problems":["destructive action UX","undo and reversible actions","command placement"],"related":["lamina-forms","lamina-error-handling","lamina-platform-posture","lamina-progressive-disclosure"],"tags":["interaction"]}} |
Specify action semantics in screen and workflow contracts — destructive, reversible, confirmation policy — not menu widget styling.
Per action on surfaces[]:
id, label, destructive: true|falsereversible: true|false → if true, confirmation usually unnecessaryconfirmation_required only when undo impossible + scenario documentsundo_scope: step | session | noneWorking-set actions on primary toolbar area in screen spec; full catalog in nav/menus.
scenarios[] + recovery or undo policy.implement.md (web vs desktop) — Lamina stays unopinionated on library.