lamina-product-behavior

Define the authoritative runtime product truth between actors and views. Used to model domain behavior, set product density, specify side effects, protect invariants, choose consistency guarantees, handle retries or concurrency, define time semantics and prerequisites, delineate ownership boundaries, or maintain view consistency. For causal loops and time-varying cases use lamina-systems; for interaction expression use lamina-ux.

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-product-behavior" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4aff6f6f4cdc38e89d4791257c63fe7ae9a0dc349685776b1581a017adf11f1b. 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

Define the authoritative runtime product truth between actors and views. Used to model domain behavior, set product density, specify side effects, protect invariants, choose consistency guarantees, handle retries or concurrency, define time semantics and prerequisites, delineate ownership boundaries, or maintain view consistency. For causal loops and time-varying cases use lamina-systems; for interaction expression use lamina-ux.

0 Downloads

Introduction source: third_party · aryaniyaps · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

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

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

Areas to improve

  • 触发描述可更简洁 Reported severity: Minor

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

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

Highlights

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

Areas to improve

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

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

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

  • 未定义明确退出条件 Reported severity: Minor

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

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

Highlights

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

Areas to improve

  • 引用文件缺失 Reported severity: Major

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

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

Evidence Verifiability (mean of the first four)73/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.

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.