Agent skill

Lamina Design

by aryaniyaps in aryaniyaps/lamina

Shape intended product behavior in Lamina's transactional graph when explicitly invoked as lamina-design or when passive implementation preparation reports design gaps.

Apache-2.0Auto-check: warningsFrontend & Design

Install Lamina Design

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add aryaniyaps/lamina --skill lamina-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aryaniyaps/lamina lamina-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aryaniyaps/lamina.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lamina-design .claude/skills/lamina-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lamina-design
GitHub stars
116
Token cost
~2k tokens
SKILL.md length
936 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Shape intended product behavior in Lamina's transactional graph when explicitly invoked as lamina-design or when passive implementation preparation reports design gaps.

  • Works in 12 steps: Run lamina graph status and lamina graph… → For a brand-new feature, first publish… → For each active Persona run `lamina… → …
  • Frontend & Design work in your project
  • SKILL.md covers Gate, Required reads, Workflow and Output, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Lamina Design is an agent skill from aryaniyaps/lamina. 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.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. The repository describes itself as: Headless product design for AI coding agents, backed by a transactional product graph | Design how it works, verify what you ship. The licence is Apache-2.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/lamina-design”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  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
  3. For each active Persona run `lamina design prepare-walk --workflow
  4. Each Persona walker must traverse every proposed operation node, including
  5. Record each result with `lamina design record-walk --task
  6. The parent agent unions all Persona findings. Expand the graph so every
  7. Expansion changes the coverage digest. After publishing discoveries, rerun
  8. Start the final explicit design session with lamina session start. Propose
  9. Model intended behavior with Resources of kind actor, persona, entity, operation, workflow, invariant, surface, scenario, proof, evidence…
  10. For every workflow, apply the already selected experience-core entries.
  11. Run lamina graph validate --at . Resolve shape, reachability, authority, dependency, proof, Persona-walk, and evidence failures. Relevant…
  12. Compile Missions for every active Persona. Never cap the cast

What it can do on your machine

Read from SKILL.md and the folder at commit af269ef. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lamina Design loads about 2k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 936 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningContains instruction-override wording (e.g. “without asking the user”)SKILL.md:79
    returns an implementation-ready packet. Do not tell the user

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aryaniyaps/lamina at commit af269ef, republished under its Apache-2.0 licence (© aryaniyaps). 936 words, ~1,972 tokens.

Download SKILL.mdSave it as .claude/skills/lamina-design/SKILL.md (or your agent's skills folder).
name
lamina-design
description
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.

/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

  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 proposed ordered Operations. This seed is not an implementation-ready contract and does not require source files.
  3. 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.
  4. 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.
  5. Record each result with lamina design record-walk --task <task.json> --result <result.json>. The result must be lamina.persona-walk/v1, name its isolation context, and remain source-read-only. graphd publishes it as engine-owned simulated evidence.
  6. 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.
  7. 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.
  8. Start the final explicit design session with lamina session start. Propose stable opaque Resources and normalized Statements with lamina graph propose ... --session <id>, patch --session <id>, or link --session <id>. Agents must not set epistemic class, approval, or raw Cypher.
  9. 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.
  10. For every workflow, apply the already selected experience-core entries. 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.
  11. Run lamina graph validate --at <session-id>. Resolve shape, reachability, authority, dependency, proof, Persona-walk, and evidence failures. Relevant Contradictions mean approved: false.
  12. 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.
  13. Publish once with lamina session publish <session-id>. If compare-and-swap fails, run lamina session rebase <session-id>, re-query and revalidate, then publish.
  14. Generate any human implementation Markdown only as a query projection. It is never canonical and must cite the resolved GraphVersion.
  15. In passive implementation flow, rerun lamina work prepare and continue only when it returns an implementation-ready packet. Do not tell the user to invoke this skill.
Show full SKILL.md (153 more words)Show less

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:

markdown
### 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.

© aryaniyaps, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/lamina-design of aryaniyaps/lamina.

Open the folder on GitHubat commit af269ef

Compare with similar skills

Lamina Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lamina Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lamina Design this skillaryaniyaps/lamina116—~2kAutomated safety check: WarnApache-2.0
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
Impeccablebestofjs/bestofjs3.1k26 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Web Interface Guidelines Reviewervercel-labs/openreview1.7k97 repos~308Automated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 26 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 97 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed

More from aryaniyaps/lamina

All 10 skills in this repo
  • Lamina Product Behavior

    aryaniyaps/lamina

    Define authoritative runtime product truth across actors and views.

    116 GitHub stars~775 tokensUpdated 9 days ago
    Auto-check passed
  • Lamina Product Discovery

    aryaniyaps/lamina

    Frame product problems and decide what to build. An agent skill from aryaniyaps/lamina.

    116 GitHub stars~688 tokensUpdated 9 days ago
    Auto-check passed
  • Lamina Research

    aryaniyaps/lamina

    Plan and synthesize evidence-grounded product research. An agent skill from aryaniyaps/lamina.

    116 GitHub stars~768 tokensUpdated 9 days ago
    Auto-check passed
  • Lamina Systems

    aryaniyaps/lamina

    Reason about causal product systems and change over time. An agent skill from aryaniyaps/lamina.

    116 GitHub stars~514 tokensUpdated 9 days ago
    Auto-check passed
  • Lamina UX

    aryaniyaps/lamina

    Design understandable and accessible product interactions. An agent skill from aryaniyaps/lamina.

    116 GitHub stars~1k tokensUpdated 9 days ago
    Auto-check passed
  • Lamina Evaluation

    aryaniyaps/lamina

    Judge product usability and evidence quality. An agent skill from aryaniyaps/lamina.

    116 GitHub stars~432 tokensUpdated 9 days ago
    Auto-check passed

Questions about Lamina Design

What does Lamina Design do?

Shape intended product behavior in Lamina's transactional graph when explicitly invoked as lamina-design or when passive implementation preparation reports design gaps. Lamina Design is an agent skill from aryaniyaps/lamina. Shape intended product behavior in Lamina's transactional graph when explicitly invoked as lamina-design or when passive implementation preparation reports design gaps.

When should I use Lamina Design?

Lamina Design fits situations like: frontend & Design work in your project.

How do I install Lamina Design in Claude Code?

Run `npx skills add aryaniyaps/lamina --skill lamina-design -a claude-code`. Or copy the skill folder (skills/lamina-design in aryaniyaps/lamina) into .claude/skills/lamina-design in your project. Claude Code loads it when a task matches its description.

How do I install Lamina Design in Codex?

Run `npx skills add aryaniyaps/lamina --skill lamina-design -a codex`. Or copy the skill folder (skills/lamina-design in aryaniyaps/lamina) into .agents/skills/lamina-design in your project. Codex loads it when a task matches its description.

Can I use Lamina Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aryaniyaps/lamina --skill lamina-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lamina-design, .gemini/skills/lamina-design, .github/skills/lamina-design and .opencode/skills/lamina-design in your project.

What does Lamina Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Lamina Design is instructions for the agent only.

Does Lamina Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lamina Design safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): contains instruction-override wording (e.g. “without asking the user”). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Lamina Design use?

Lamina Design is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lamina Design use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lamina Design?

Skills that share tags, products or a category with Lamina Design: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lamina Design?

aryaniyaps (a GitHub user) maintains it in aryaniyaps/lamina, which has 116 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 1, 2026.

Source: aryaniyaps/lamina on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.