Skip to content
Design
Command

/gallery

Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone.

BOOST
From plugin
designlang
4.2k14 skills14 commands
Install
> /plugin marketplace add manavarya09/design-extract
> /plugin install designlang@designlang

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/gallery

Context preview

What this command does when you run it.

Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone.

Command definition

gallery.md
description: Build a static, shareable gallery from your fidelity reports — an index of score cards plus a permalink page (with an OG card) per clone.
argument-hint: [dir] [--out <dir>] [--title <title>] [--base-url <url>]

Run **designlang gallery** to turn the fidelity reports you've generated into a deployable static site. It scans a directory for `fidelity.json` files (one per clone), then writes an index grid of score cards plus a permalink page for each clone — every page embeds the SVG score card and OG/Twitter tags, so a shared link unfurls the measured number.

npx designlang gallery $ARGUMENTS

If no directory is given it scans `./design-extract-output`. Generate the reports first with `/fidelity <original> --clone <clone>`.

Outputs (under `--out`, default `./gallery`):

| Path | What it is | |---|---| | `index.html` | the gallery grid, best-score first, with summary stats | | `<slug>/index.html` | a clone's permalink page (card + motion table + correction plan) | | `<slug>/card.svg` | the shareable score card |

Useful flags via `$ARGUMENTS`:

| Flag | Effect | |---|---| | `--out <dir>` | where to write the static site | | `--title <title>` | gallery heading | | `--base-url <url>` | absolute base URL so OG image links resolve when deployed |

Deploy the output folder to any static host (Vercel, Netlify, GitHub Pages). Pair with `/fidelity` to keep the gallery fresh.

Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference

Read more
Ships withdesignlang

Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.

Get the whole plugin
Stats
4,182
Stars
353
Forks
Active
Maintenance
HTML
Language
MIT
License
9d ago
Last commit
5mo ago
Created
19h ago
Added

Repo: manavarya09/design-extract

Other commands on designlang.