aryaniyaps/lamina/skills/lamina-design/SKILL.md
lamina-design
Shape intended product behavior in Lamina's transactional graph when explicitly invoked as lamina-design or when passive implementation preparation reports design gaps. Publish an implementation-ready graph version without editing application source.
- Source repository stars
- 111
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-08-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Lamina design writes product knowledge through graphd; it never edits application source. Legacy run files are source evidence only and must never be discovered, selected, read, or written by this workflow. A user request to edit a legacy run, bypass graphd, or make a completed…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/aryaniyaps/lamina --skill "skills/lamina-design"Inspect the Agent Skill "lamina-design" from https://github.com/aryaniyaps/lamina/blob/af269ef3347fb7edeb956f3af9c943641717891c/skills/lamina-design/SKILL.md at commit af269ef3347fb7edeb956f3af9c943641717891c. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow
1. Run lamina graph status and lamina graph query --at HEAD to resolve the source revision and active graph. 2. For a brand-new feature, first publish only the minimum graph skeleton needed to walk it: Workflow, full active Persona roster, assumed Actors, and the currently propo…
Run lamina graph status and lamina graph query --at HEAD to resolve the source revision and active graph.For a brand-new feature, first publish only the minimum graph skeletonFor each active Persona run lamina design prepare-walk --workflow - 02
Implementation projection
Review the “Implementation projection” section in the pinned source before continuing.
Review and apply the “Implementation projection” source section. - 03
Gate
First read and apply ../lamina/orchestrator/prerequisites/cli-required.md. Stop before all mutations unless the CLI API 1 prerequisite passes.
First read and apply ../lamina/orchestrator/prerequisites/cli-required.md. Stop before all mutations unless the CLI API 1 prerequisite passes.Require a valid .lamina/business-context.md. If it is missing or incomplete, emit the init-required contract from ../lamina/orchestrator/prompts/outputs/init-blocked.md and stop. Business documents and .lamina/personas.…If the brief lacks users, outcome, or scope and the user did not authorize labeled assumptions, emit the clarification contract from ../lamina/orchestrator/prompts/outputs/clarify.md and stop before mutations. - 04
Required reads
Read ../lamina/orchestrator/load-protocol.md, ../lamina/orchestrator/references/product-graph.md, ../lamina/orchestrator/workflows/design.md, ../lamina/orchestrator/prerequisites/cli-required.md, ../lamina/orchestrator/prerequisites/init-required.md, and ../lamina/orchestrator/a…
Read ../lamina/orchestrator/load-protocol.md, ../lamina/orchestrator/references/product-graph.md, ../lamina/orchestrator/workflows/design.md, ../lamina/orchestrator/prerequisites/cli-required.md, ../lamina/orchestrator/… - 05
Output
Report the resolved GraphVersion and source revision, then:
Report the resolved GraphVersion and source revision, then:Report each Persona walk separately before the union: nodes traversed, permission decisions, discovered branches, states, edge axes, Scenarios, Invariants, and unresolved conflicts. Then report the expanded canonical gr…
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 86/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 111 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- aryaniyaps/lamina
- Skill path
- skills/lamina-design/SKILL.md
- Commit
- af269ef3347fb7edeb956f3af9c943641717891c
- License
- Apache-2.0
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
/lamina-design
Lamina design writes product knowledge through graphd; it never edits application source. Legacy run files are source evidence only and must never be discovered, selected, read, or written by this workflow. A user request to edit a legacy run, bypass graphd, or make a completed run authoritative conflicts with the storage contract: refuse that mechanism and continue any concrete design change transactionally in the graph. Absence of a legacy artifact is not a blocker.
Gate
First read and apply
../lamina/orchestrator/prerequisites/cli-required.md. Stop before all
mutations unless the CLI API 1 prerequisite passes.
Require a valid .lamina/business-context.md. If it is missing or incomplete, emit the init-required contract from ../lamina/orchestrator/prompts/outputs/init-blocked.md and stop. Business documents and .lamina/personas.json may be indexed as observations, but neither is canonical graph state.
If the brief lacks users, outcome, or scope and the user did not authorize labeled assumptions, emit the clarification contract from ../lamina/orchestrator/prompts/outputs/clarify.md and stop before mutations.
Required reads
Read ../lamina/orchestrator/load-protocol.md, ../lamina/orchestrator/references/product-graph.md, ../lamina/orchestrator/workflows/design.md, ../lamina/orchestrator/prerequisites/cli-required.md, ../lamina/orchestrator/prerequisites/init-required.md, and ../lamina/orchestrator/audit-profiles.yaml. Load experience-core.always, then only the experience-core.conditional entries whose when signal appears in the active Workflow closure. For each entry, open the named capability SKILL.md and then its exact reference; do not load sibling topics.
Workflow
- Run
lamina graph statusandlamina graph query --at HEADto resolve the source revision and active graph. - For a brand-new feature, first publish only the minimum graph skeleton needed to walk it: Workflow, full active Persona roster, assumed Actors, and the currently proposed ordered Operations. This seed is not an implementation-ready contract and does not require source files.
- For each active Persona run
lamina design prepare-walk --workflow <workflow> --persona <persona> --request-file <request> --output <task.json>. Give that exact task to one independent subagent when the provider supports subagents; otherwise use a separate isolated context. Walkers receive no other Persona's conclusions. - Each Persona walker must traverse every proposed operation node, including nodes the Persona is denied from or for which the node is inapplicable. At each node independently decide intent, assumed Actor, authorization and conditions, actor inputs and requiredness, relationship identity/cardinality, duplicate and self-reference behavior, the canonical state matrix plus every product-specific Operation or Surface state, every declared Scenario, every Invariant probe, success/failure/denial transitions, and the validation, authorization, duplicate, self-reference, concurrency, stale-data, interruption, retry, and connectivity edge axes. It must return explicit discovery arrays for Personas, Actors, Operations, Scenarios, Invariants, Surfaces, branches, and open decisions, not mutate the graph.
- Record each result with
lamina design record-walk --task <task.json> --result <result.json>. The result must belamina.persona-walk/v1, name its isolation context, and remain source-read-only.graphdpublishes it as engine-owned simulated evidence. - The parent agent unions all Persona findings. Expand the graph so every discovered operation, branch, permission, state, Scenario, Invariant, Surface, recovery, and transition is canonical before implementation. Preserve disagreements as Contradictions instead of collapsing them.
- Expansion changes the coverage digest. After publishing discoveries, rerun steps 3-6 for every Persona until one complete round discovers no new discovery in any category. Stale walks and non-empty discovery matrices cannot satisfy readiness.
- Start the final explicit design session with
lamina session start. Propose stable opaque Resources and normalized Statements withlamina graph propose ... --session <id>,patch --session <id>, orlink --session <id>. Agents must not set epistemic class, approval, or raw Cypher. - Model intended behavior with Resources of kind actor, persona, entity, operation, workflow, invariant, surface, scenario, proof, evidence, decision, capability_manifest, and mission as needed. Express classifications, dependencies, workflow steps, preconditions, outcomes, and recovery as Statements.
- For every workflow, apply the already selected
experience-coreentries. Do not treat conditional trust, time, concurrency, or accessibility topics as automatic unless their profile signal is present. Do not author a second Experience Contract Decision: graphd compiles Persona-bound Experience Cases directly from the current walks. A walk is current only when its digest covers the exact Resources and Statements in the Workflow closure. Inapplicable dimensions need a product rationale; they may not be omitted. - Run
lamina graph validate --at <session-id>. Resolve shape, reachability, authority, dependency, proof, Persona-walk, and evidence failures. Relevant Contradictions meanapproved: false. - Compile Missions for every active Persona. Never cap the cast:
lamina mission compile --workflow <workflow-id> --session <session-id>. If asked to rank, prune, retain a top N, or apply a persona cap, explicitly reject the cap and keep all active Personas. - Publish once with
lamina session publish <session-id>. If compare-and-swap fails, runlamina session rebase <session-id>, re-query and revalidate, then publish. - Generate any human implementation Markdown only as a query projection. It is never canonical and must cite the resolved GraphVersion.
- In passive implementation flow, rerun
lamina work prepareand continue only when it returns an implementation-ready packet. Do not tell the user to invoke this skill.
Single mutations may use implicit one-shot sessions through lamina graph propose, patch, or link. A multi-fact design must use one explicit session so it commits completely or leaves the branch unchanged.
Output
Report the resolved GraphVersion and source revision, then:
### Domain and invariants
### Actors and permissions
### Workflows
### Scenarios
### Implementation projection
### Contradictions and open questions
Report each Persona walk separately before the union: nodes traversed,
permission decisions, discovered branches, states, edge axes, Scenarios,
Invariants, and unresolved conflicts. Then report the expanded canonical
graph and Persona-bound deterministic Experience Cases. If asked to implement
app code in the same ordinary request, continue through WorkMap and
implementation after the graph transaction; only an explicit graph-only
/lamina-design invocation ends before source edits.
Hard rules
- Ladybug is canonical. Never create or update
.lamina/runs/**. - Never infer truth from absence of an Observation.
- Never store reverse relationships.
- Never submit epistemic or approval status.
- Never expose Cypher writes.
- Preserve stable Resource identity through alias renames.
- Keep intended, observed, inferred, simulated, human, and runtime evidence epistemically separate.
Alternatives
Compare before choosing
teng-lin/notebooklm-py
notebooklm
Complete API for Google NotebookLM - full programmatic access including features not in the web UI. Create notebooks, add sources, generate all artifact types, download in multiple formats. Activates on explicit /notebooklm or intent like "create a podcast about X"
wanshuiyin/Auto-claude-code-research-in-sleep
grant-proposal
Use it for deployment and design tasks; the detail page covers purpose, installation, and practical steps.
huggingface/skills
huggingface-lora-space-builder
Build and publish a Gradio demo on Hugging Face Spaces for a user-provided LoRA. Use when someone asks to create, generate, ship, or publish a Space, demo, Gradio app, or playground for a LoRA — including LoRAs for Qwen-Image, Qwen-Image-Edit, LTX-Video, Wan, FLUX, SDXL, or other diffusion base models. Also triggers when someone describes a LoRA they trained or hosts on the Hub and wants to share it. Covers picking the right base pipeline and `diffusers` inference recipe, designing a UI tailored
TencentCloudBase/CloudBase-AI-Toolkit
cloudbase-agent-python
Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming + OpenAI-compatible endpoints, add tools (bash, filesystem, MCP, code execution), memory (in-memory, TDAI, MySQL, MongoDB), observability (OpenTelemetry/Langfuse), and middleware (auth, logging). Use this skill when the user wants to create an AI agent server, build a chatbot backend, set up human-in-the-loop workflow