Skip to content
Back to skills

Preview Design

ASecurity

Render a real artifact through this branch's local MERIDIAN design code (not the published npm package) so the team can test the new Design Convention on the document / handoff / platform surfaces before it ships. Use for `/preview-design`, "preview the design convention", "render this with the new design", or Design Convention round-1 testing.

  • 292 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgobashnodetestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add egregore-labs/egregore --skill preview-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preview Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Preview Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/egregore-labs-preview-design/badge)](https://www.skillsdirectory.com/skills/egregore-labs-preview-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Render a real artifact through this branch's local MERIDIAN design code (not the published npm package) so the team can test the new Design Convention on the document / handoff / platform surfaces before it ships. Use for `/preview-design`, "preview the design convention", "render this with the new design", or Design Convention round-1 testing.
---

Topic: $ARGUMENTS

# Preview the Design Convention

Renders a real Egregore artifact through **this branch's** MERIDIAN render path
(`packages/egregore-artifacts` local code) — deliberately **not** `npx egregore-artifacts`,
which pulls the published npm `0.10.2` (the OLD design). This is the test vector for
Design Convention **Round 1**: testers see the new design on real output before it merges.

Full protocol: `memory/feedback/design-convention-r1/GUIDE.md`.

## When to invoke

User says: "/preview-design", "preview the design convention", "render <X> with the new
design", "let me test the new design on a document / handoff / board", or is running the
design-convention round-1 test.

## What it does

Run the bundled script — it handles dependency install and routes to the local CLI:

```bash
bash skills/preview-design/render.sh <surface> [file]
```

| Surface | Command | Input |
|---|---|---|
| `document` | `render.sh document [file.md]` | any markdown — defaults to a bundled sample |
| `handoff`  | `render.sh handoff [file.json]` | a handoff-v1 JSON — defaults to a bundled sample |
| `platform` | `render.sh platform` | reads `memory/board/board.json` (the board view) |
| `emissary` | `render.sh emissary` | **harness-only this round** — prints the harness URL and stops |

The CLI opens the rendered HTML in the browser. After looking it over, the tester runs the
Socratic feedback protocol (`"Run the Design Convention feedback protocol"`).

## Why it's built this way

- **Local, never `npx`.** It runs `node packages/egregore-artifacts/bin/cli.js`, so you
  always get THIS branch's MERIDIAN design — npm's `egregore-artifacts` is the old look.
- **Lives in top-level `skills/`, not `.claude/skills/`.** `/update` replaces
  `.claude/skills/` wholesale from upstream (`git checkout upstream -- .claude/skills/`),
  which would delete an org-local preview command. Top-level `skills/` survives.
- **Emissary is excluded on purpose.** Its renderer (`api/main.py`) is server-side and not
  yet design-system-wired — wiring it is the #1 Round-2 task. For now it's reviewed via the
  published harness.

## Lifecycle

Retire this skill once the Design Convention merges to production and a new
`egregore-artifacts` is published (at which point plain `/view` shows MERIDIAN and the
local-vs-npm distinction disappears).

Files in this skill

  • SKILL.md2.7 KB
  • render.sh2.2 KB
  • samples/document.md2.5 KB
  • samples/handoff.json3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.