lamina-product-behavior

在参与方与视图之间定义权威的运行时产品真相。用于建模领域行为、设定产品密度、指定副作用、保护不变量、选择一致性保证、处理重试或并发、定义时间语义与先决条件、划定所有权边界或保持视图一致性。因果循环及随时间变化的场景请用 lamina-systems;交互表达请用 lamina-ux。

仓库最近推送
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-product-behavior":https://skillpi.com/zh/skills/deepskill-4aff6f6f4cdc38e89d4791257c63fe7ae9a0dc349685776b1581a017adf11f1b。安装前核对上游来源和版本:https://github.com/aryaniyaps/lamina。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

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

安装实测待补充

在参与方与视图之间定义权威的运行时产品真相。用于建模领域行为、设定产品密度、指定副作用、保护不变量、选择一致性保证、处理重试或并发、定义时间语义与先决条件、划定所有权边界或保持视图一致性。因果循环及随时间变化的场景请用 lamina-systems;交互表达请用 lamina-ux。

0 下载

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

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: lamina-product-behavior
description: "Define authoritative runtime product truth across actors and views. Use when modeling domain behavior, setting product density, specifying side effects, protecting invariants, choosing consistency guarantees, handling retries or concurrent actions, defining time semantics and prerequisites, drawing ownership boundaries, or keeping views coherent. Use lamina-systems for causal loops and change over time, and lamina-ux for interaction expression."

Lamina Product Behavior

Reference-loading protocol

  1. Match the request's primary runtime-truth decision to one row below.
  2. Open that linked reference before answering. Add another only when a second decision materially changes the answer; do not preload the directory.
  3. Start the response with Using lamina-product-behavior: <topic path(s)> so the selected behavior lens is auditable.

Topic index

Runtime signal Read Adds
Need the represented domain model to match how actors understand the task Product Behavior entities, permissions, workflows, surfaces, and illegal states
Need to choose how much power or complexity each actor sees Product Density actor- and surface-specific complexity budgets
One mutation must update, notify, invalidate, audit, or retry elsewhere Side Effects primary effect, downstream effects, delivery lifecycle, and failure recovery
Need a rule that must hold in every valid state Invariants explicit predicates and violation probes
Views may lag or disagree after a state change Consistency Guarantees strong, eventual, and read-your-writes product promises
An operation may repeat, race, conflict, or arrive after state changed Idempotency and Concurrency duplicate safety, conflict policy, and fencing
Behavior depends on zones, dates, recurrence, duration, deadline, or correction Time Semantics explicit temporal meaning and boundary behavior
A workflow requires prior setup, ownership, state, or another workflow Dependencies prerequisite edges and unmet behavior
Need to decide which domain owns a rule or what data crosses a boundary Modularity Boundaries information hiding and cohesive ownership
Several roles or surfaces must agree on the same entity and lifecycle Multi-View Integrity handoffs, visibility, and cross-view truth

Working rule

Use the smallest sufficient reference set. Common pairs are invariants + idempotency for consequential writes, consistency + multi-view integrity for role-based products, and side effects + time semantics for scheduled delivery. Keep behavior in product language; do not prescribe implementation machinery unless the user asks for it.

版本历史

  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

亮点

  • 提供权威运行时产品真相的完整框架,涵盖领域行为建模、一致性保证、幂等性等核心架构关注点
  • 适用于复杂产品系统的设计和治理,具有高频刚需特性
触发精准78/100

待提升项

  • 触发描述可更简洁 原报告严重程度:轻微

    触发条件列表较长,部分术语边界可进一步明确

    改进建议:考虑将触发条件分组或使用更简洁的语言表达,提高触发精准度

亮点

  • 触发条件覆盖全面,包含领域行为、副作用、不变量保护等多个具体场景
结构规范75/100

待提升项

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

    缺乏完整的执行流程示例来展示如何应用该Skill解决实际问题

    改进建议:添加一个完整的端到端示例,展示从触发到解决的完整流程

  • 未定义明确退出条件 原报告严重程度:轻微

    参考加载协议缺少明确的完成条件和退出机制

    改进建议:在协议中增加明确的完成标准和退出条件说明

亮点

  • 结构清晰,包含参考加载协议、主题索引和工作规则三个主要部分
  • 要求审计追踪('Using lamina-product-behavior: <topic path(s)>')增强了可追踪性
执行可靠45/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    主题索引中列出的所有参考文件(references/目录下的.md文件)均未包含在Skill包中

    改进建议:必须包含所有引用的参考文件,或提供替代的内置决策内容

证据可验 (前四项均值)73/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

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

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

安全评级与访问范围

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

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