Skip to content
Development
Skill

/design-stylecards

Catalog of named aesthetic recipes: shadow stacks, glass, gradients, type scales as copy-paste values. Use for polished elevation, glassmorphism, mesh backgrounds or any make-it-look-like-X ask.

From plugin
orchestkit
301122 skills36 agents

Claude Code

$ npx -y skills add yonatangross/orchestkit --skill design-stylecards --agent claude-code

SKILL.md

design-stylecards.SKILL.md
name: design-stylecards
license: MIT
compatibility: "Claude Code 2.1.277+"
description: "Catalog of named aesthetic recipes: shadow stacks, glass, gradients, type scales as copy-paste values. Use for polished elevation, glassmorphism, mesh backgrounds or any make-it-look-like-X ask."
argument-hint: "[list | <recipe-name> | apply <recipe> to <file>]"
context: fork
# user-typed commands stay interactive; CC >= 2.1.218 backgrounds forks by default (#3093)
background: false
user-invocable: true
model: sonnet
allowed-tools: "Read Grep Glob Edit Write"
skills:
  - design-system-tokens
metadata:
  category: document-asset-creation
  version: "1.0.0"
  author: "OrchestKit"
  complexity: "low"
  tags: "design, stylecards, shadows, glass, gradients, typography, tailwind, css, aesthetics"
triggers:
  keywords: ["stylecard", "beautiful shadows", "glassmorphism", "glass card", "border gradient", "mesh gradient", "elevation recipe", "make it look polished"]
  examples:
    - "give the cards a polished layered shadow"
    - "apply a glass surface treatment to this panel"
    - "add a subtle border gradient like Linear"
  anti-triggers: [extract, screenshot, audit, tokens-from-source]

Design Stylecards

Specs beat vibes. A stylecard is a named aesthetic recipe with **exact values** — the difference between "add a nice shadow" (reinvented differently every session) and `elevation/md` (identical every time, reviewed once, versioned forever).

design-stylecards list                      # Catalog index
design-stylecards elevation/md              # Show one recipe
design-stylecards apply glass/dark to src/components/Panel.tsx

Why declarative recipes

Pipeline skills (`design-to-code`, `design-context-extract`) answer *how to produce* design output. Stylecards answer *what good looks like* — as literal values an agent pastes, not adjectives it interprets. Inspired by MengTo/Skills' stylecard micro-skills (MIT), consolidated into one catalog to avoid manifest sprawl.

Workflow

1. Resolve the request to a recipe

Read("references/stylecards.md")   # The catalog — always read before choosing
# Match the user's intent to ONE recipe by its Use-When line.
# No match → say so and offer the closest two; never freehand values.

2. Show or apply

  • **Show**: print the recipe verbatim — values, Use-When, Avoid. No paraphrasing values.
  • **Apply**: edit the target file using the recipe's exact values. Adapt only the syntax

(Tailwind arbitrary class ↔ plain CSS ↔ CSS custom property), never the numbers.

3. Respect the recipe's Avoid block

Every recipe ends with falsifiable Avoid rules (e.g. "never stack two elevation recipes on one element"). Violating an Avoid rule to satisfy a user request requires saying so explicitly.

Catalog index

Full recipes with exact values: `references/stylecards.md`.

| Recipe | Use when | |--------|----------| | `elevation/sm` `md` `lg` | Layered neutral shadows — compact controls / cards / hero surfaces | | `glass/dark` | Frosted glass panel on a dark backdrop | | `border/gradient` | 1px gradient border without a wrapper hack | | `background/mesh` | 2–3 hue radial mesh page background | | `type/editorial` | Display + body + mono role split with tracking values | | `motion/budget` | The four allowed durations + the one-signature-moment rule |

Authoring a new stylecard

Add to `references/stylecards.md` following the contract — a recipe without all three parts is not shippable:

1. **Use when** — one line, concrete surfaces ("cards, panels, popovers"), not adjectives. 2. **Values** — copy-paste-ready code. Numbers, not descriptions. 3. **Avoid** — falsifiable don'ts observed from real misuse.

Source recipes from shipped, reviewed UI (this repo's playground standard, production apps you've extracted with `design-context-extract`) — never from imagination.

Anti-Patterns

  • **NEVER** freehand shadow/gradient/blur values when a recipe exists — that defeats the catalog
  • **NEVER** paraphrase a recipe's values ("roughly 6% black") — paste them exactly
  • **NEVER** mix two recipes of the same category (two elevations, two glass treatments) on one element

Quality Bar

Done means all of these hold:

  • The chosen recipe's Use-When line actually matches the user's surface (quote both if challenged)
  • Applied values are byte-identical to the catalog entry — only syntax adapted, never numbers
  • No Avoid rule of the applied recipe is violated in the final diff
  • New recipes carry all three contract parts: Use-When, exact values, Avoid

Related Skills

  • `ork:design-context-extract` — mines new recipe candidates from real apps
  • `ork:design-system-tokens` — where recipes graduate into project token architecture
  • `ork:design-to-code` — pipeline that consumes stylecards during generation
Read more
@yonatangross
Ships withorchestkit

The Complete AI Development Toolkit for Claude Code. 115 skills, 36 agents, 163 hooks. Install `ork` for stable (v10.x).

301122 skills36 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
301
Star history of yonatangross/orchestkit on GitHub, a chart by star-history.com

Other skills on orchestkit.

ork-assess

ork-assess

Assess a code change, design, architecture, workflow, or competing options against explicit criteria and evidence. Use when a…

ork-brainstorm

ork-brainstorm

Compare plausible implementation, architecture, product, or operational approaches before committing to one. Use when a request…

ork-explore

ork-explore

Map an unfamiliar codebase, feature, architecture, data flow, or operational path with file-backed evidence. Use when a request…

ork-glyph

ork-glyph

Render an answer inline as compact ASCII or box-drawing art with semantic status icons. Use for status, inventories, budgets,…

ork-implement

ork-implement

Make an approved, scoped change and prove the affected behavior. Use when a request asks to implement, build, add, or land a…

ork-review-pr

ork-review-pr

Review a pull request or branch for correctness, regressions, security, operational risk, and missing evidence. Use when a…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about design-stylecards.

Which coding agents can use design-stylecards?
design-stylecards installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.