DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

ssheleg /

ssheleg/sheleg-design-skill

Topic repository only

Define the visual language of an interface, from typography and layout to motion, tokens and implementation checks.

★ 4 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@6c6a4e18

SHELEG Design — design taste as an agent skill

npm version CI license: MIT site skills.sh

Give coding agents a deliberate visual system: style packs, tokens, motion doctrine and a clean Figma seam.

npx skills add ssheleg/sheleg-design-skill

Ask: Design a calm dark dashboard and map its tokens into the component layer.

Detailed docs →

Docs, and every skill → · this skill's page · follow @sshlg93 on X

Loads in DeepSeek Harness (dsh) with no plugin to write: it reads the Agent Skills standard directly, scanning ~/.agents/skills — where npx skills add puts this pack — at rank 500.

Browse every style pack → — every card rendered in its own token layer, plus the collection audit. The site each pack was measured from stays in the pack; the published pages name none of them.

An agent can generate a landing page in under a minute, and it will look like every other generated landing page: three cards, a gradient, a hero that does nothing. Ask it for a dashboard and you get a different flavor of the same problem — invented colors, six accent hues, dark mode retrofitted later.

This skill is the taste layer. It gives a coding agent one motion methodology for cinematic, scroll-driven pages, a motion doctrine that decides whether to animate before it decides how, and thirty-nine locked style packs with ready-made design tokens, so what it builds reads as one system instead of a pile of effects.

npx sheleg-design-skill

That drops the bundle — SKILL.md, the SHELEG_DESIGN.md reference, the style packs and their token CSS — into .cursor/skills/ or .claude/skills/, where your agent discovers it on its own.


The two halves

Motion — for landings, heroes, scroll narratives. A page feels alive not from many animations but from a single source of truth (measured scroll position) driving many cheap, layered responses that are individually quiet and collectively cinematic. One scroll "clock" feeds a WebGL particle field, a 2D fallback, attention dimming, parallax, scrubbed instruments and a progress rail — each an independent, degrade-to-calm layer. Nothing crossfades; things redeploy.

Style packs — the visual identity, pluggable per project. Three of them are meant to be used standalone: workbench (quiet light/dark product UI for dashboards, admin panels, internal and dev tools) and briefing-room (a dark 16:9 presentation deck, where the presenter's voice is the timeline and slides therefore never animate) take none of the motion layer at all; field-notes is standalone by default — its reference carries no motion library — but may opt into the cinematic layer, and says so in its own Motion flavor section.

Pack Look Choose for
instrument-console near-black aerospace console, one electric-blue signal, mono telemetry technical / systems / infra
editorial-luxury warm cream + espresso ink, sage accent, Fraunces/Newsreader, dossier motifs editorial / research / premium B2B
workbench neutral grays, borders as elevation, one blue accent, mono data, light + dark twins dashboards, admin, internal & dev tools
briefing-room dark 16:9 deck: one blue hue top to bottom (OKLCH), mono slide furniture, 1-bit dithered art, claims as titles investor & board decks, technical briefings, talks published as a page
atrium warm cream daylight field with no dark bands, one terracotta accent, light serif with italic asides, fluted-glass hero over photography consumer health, longevity & diagnostics, wellness, premium care, high-trust DTC
babylove white with one orange in six steps and nothing else declared — seven tokens over Tailwind's defaults, two card levels nested at 16 and 8px, no shadow and no dark theme SEO and AI-visibility SaaS with a long time-to-value — the minimal-system answer to the same brief outrank answers maximally
patchbay near-black under a faint 40px grid, one mint-cyan doing every functional job, elevation made of 8% hairlines with no shadow anywhere, and a live architecture diagram whose cords carry SMIL particles engines, message buses, pipelines, schedulers and open-source front doors — anything whose argument is an architecture rather than a promise
nameplate a cool near-white slab under a page that is square on 87% of its elements — 1,091 of 1,251 measured — where the one round shape is reserved for a white 1px-bordered pill carrying somebody else's publication name as type rather than as a logo, one family with the body at weight 500, and two uppercase registers tracked 0.06em and 0.175em pages whose argument is that named third parties will vouch for you — press and media placement, PR distribution, trust marks and badges, certification, review aggregation and "as featured in" surfaces (standalone)
rimlight a white field with a cool grey act separator and one near-black act, a grotesque for every sentence and a monospace for every piece of chrome, square on 84% of its elements, tracked negative at every size and with no bold anywhere — and an elevation made of coloured light: a sixteen-layer rig, six layers lit and ten held at alpha 0, thrown from below-left onto one control per viewport a studio's own front door and the pages that sell what it makes — design and engineering agencies, product studios, service and case-study pages (standalone)
onionskin a white technical sheet at 96.5% zero radius — the squarest page in the library — where two bases do all the work and everything quiet is one of them at an alpha: text dims through the ink, structure through a navy that is never a word, so there is no grey ramp at all. A dot grid, dashed hairlines, three faces with one job each, and an 11px working size developer and AI infrastructure whose front page is a working document — memory and context engines, retrieval services, agent runtimes, evaluation and observability surfaces (standalone)
deskmate a warm beige working day lit from one source above the top edge — every gradient origin in the reference sits at or above y=0 — where a single four-stop ramp (peach, lilac, violet, deep navy) washes the field, fills a panel and fills one word of a heading, and everything a hand touches is a 56px pill against 32px slabs products sold as a colleague rather than a tool — AI employees and chat-native agents, assistants living in Slack or Teams, delegation and approval surfaces (standalone)
test-drive warm paper and white cards where the live product runs inside drawn browser chrome — traffic-light dots, a real address, the engine on — one coral in two tokens (the brand hue lights, fills and blinks; a darker step carries every body-size word), every control lit by a four-layer shadow in its own hue, a handwritten face and a yellow marker annotating from the margin self-serve SaaS sold by handing over the running product — analytics, dashboards, developer tools with a visible console, indie SaaS (standalone)
surveyor peach paper where an unseen terrain is mapped — fine contour lines as the one texture, flat white and tinted cards with no shadow anywhere, a teal whose text-bearing steps are the reference's own hover ladder, a pink that answers but may not speak, and the product appearing only as flat portraits visibility, monitoring and benchmark tools — AI-search and SEO trackers, share-of-voice and brand-listening platforms sold to marketing teams (standalone)
chorus warm off-white paper under a construction grid that never switches off — two 1px verticals crossed by horizontals with a small plus at every intersection, continued across the dark band — where the set piece is somebody else's question in a cut-corner bubble, 24px on three corners and 0 on the top right, set in the display face; white cards with a hairline and no shadow, near-black slabs cut 30px into the sheet, one coral that fills but may never be a word AI-search visibility, brand monitoring and community marketing — answer-engine and share-of-voice trackers, social listening, review and reputation tools whose proof is other people's conversations (standalone)
outrank white field with one violet that carries text in both directions, a 5px light ring standing in for a button shadow, and two type families split by how long a thing is read SEO and growth SaaS, agent-run back-office — the pack for a product that ships a landing and a dashboard at once
orchard warm oat field of rounded slabs, sage brand + one candy-orange action, rounded geometric display, soft-3D pills built from inset light friendly consumer biotech, DTC wellness, testing kits & supplements
field-notes warm green-cast paper ruled by hairlines, one rust accent, a hero that dissolves into the page instead of ending, numbered mono eyebrows, crop marks, colour that encodes how a claim is known open-source & developer tools sold on auditability — code intelligence, provenance, evals, agent memory
showroom white gallery, near-black ink, one blue that works as link and as fill, Inter Display + Inter + JetBrains Mono, a seven-layer shadow framing one real product surface product-led companies whose best argument is the application on screen
blueprint white drawing stock, 32px grid, ruled column edges, corner registration marks, one electric blue, zero radius anywhere infrastructure sold on precision — vector databases, search, storage and query engines
prism one static iridescent wash with a hard bottom edge, heavy grotesque display over mono body copy, cyan as a fill only an open-source project's front door, where the first action is a command
maquette near-black table, cream ink and cream axonometric models, mono block labels, pale aqua that works as text, one offset shadow enterprise data infrastructure sold to an architecture buyer
scoreboard warm paper and warm near-black ink, 2–3px radii, an ink primary button, one hot orange that only ever marks, and a dark ledger of dotted-leader rows whose numbers are set in an aliased pixel face products whose argument is an accumulating number — ads and SEO operators, growth tools, revenue dashboards sold on results
cyclorama a pale field cycling through six pastel stops on a 32s loop under near-black ink that never moves with it, a monospaced typewriter serif over mono, one orange used only as a fill, a particle organ that holds then redeploys, no shadows anywhere enterprise AI transformation, applied-AI services, technical consultancies — where what is sold is a change of state and there is no screenshot worth showing
datasheet an off-white spec sheet ruled with dashed page guides, a live instrument built from hairline cells at radius zero, one vivid orange, Inter over JetBrains Mono, concentric radii from 16 to 2, and a dark alarm state the instrument enters when it detects the reader is hiding B2B SaaS whose product is a verdict about the visitor, the request or the device — fraud and bot detection, device intelligence, identity and verification, API products sold on their payload
manpage cream paper under the reader's own system monospace — zero webfont bytes for the display face — a 48px display that never grows louder, a 576px argument column, coral label chips that are real <h2>s, └ tree glyphs in their own grid column, and one dark code frame as the focal point developer products whose buyer reads code — APIs, SDKs, CLIs, MCP servers, developer infrastructure, where the honest hero is the call itself
pigeonhole a white field ruled by hairlines, a display face that never passes weight 400 with exactly one italic word, and nine categories in which a hue is the category, drawn from an eleven-ramp pastel system — each rendered as a two-layer chip, 8px outside and 7px inside, whose label word is mandatory because the hue cannot carry the meaning alone products whose job is to sort the reader's incoming mess into named categories — email triage, ticket routing, notification digests, file organisers, CRM inboxes
roster a white field in a faint grid of squares, hairlines instead of shadows, a display set in the body face while the section heads take another, and one orange that may never carry a word products whose argument is who already carries them — AI-search and GEO visibility, SEO and content platforms, agencies, marketplaces, integration-led tooling
ora a warm coal field with cream ink and no third hue — the accent is the inverted field, so the one solid object on a page is the one meant to be pressed — a serif doing the sans job over a monospace that carries every machine fact, a terminal surface cut below the page plane, a six-step verdict ramp, and dark as the default theme rather than the option products whose output is a machine's verdict about the reader — agent-readiness and crawlability scores, SEO and answer-engine audits, agent-run traces, MCP and protocol surfaces, bot observability
tenor warm paper with zero radius and zero shadow anywhere, a single hairline weight assembling every lattice, and one orange that exists only on hover and on focus — so the page screenshots with no colour in it at all — a sans held at weight 400 and tracked negative against a mono tracked positive, display at a line-height below one in an eight-to-twelve-character measure, and proof delivered as silent looping video in a 1px rectangle products arguing a management thesis — that a new kind of thing has to be run like an existing organisation: AI-workforce and agent-operations platforms, autonomous back-office, revenue and sales operations, sold to the director who will have to manage it
paperclip neutral coal with no functional colour at all — every control monochrome, elevation made of hairlines, and the whole chromatic budget spent on a curtain of 96 gradient capsules and twelve gradient section badges that cannot be clicked — a tight grotesque over a plain one over a monospace, and the capsule as the shape of everything from a button to a 10 × 20 schedule tick products that ask a person to run something that runs itself — agent teams and orchestrators, autonomous back-office, schedulers, job runners, budget-governed compute
awning white forecourt where the accent is black and no hue reaches the chrome at all; a pill whose radius is a declared component token, one variable grotesque at 420 / 550 with no 700, two rule weights and a single three-layer shadow commerce and platform front doors — the surface that sells a system other businesses will run their storefront, payroll, billing or logistics on
router a near-white field with a trace of blue and white cards standing on that tint, hairline seams instead of shadows anywhere — one lift exists and it is a menu — body at 14px and weight 450, one royal blue at 97% saturation doing every accent job and none of the chart work, and a status triplet in which the colour you paint with is not the colour you write with product consoles and the pages that have to look like them — dashboards, admin and developer platforms, billing and usage surfaces, and a landing page whose argument is an inventory rather than a promise (standalone)
daylight a cool near-white portal field with generous radii and one very large soft shadow spent on a single object per screen, Inter Tight 700 tracked negative over Manrope 400, and a four-step blue tile ramp for stacked bands client-facing portals and the pages that sell them — onboarding, workspaces a customer logs into, service dashboards, scheduling and billing (standalone)
notation a near-white page drawn entirely in hairlines instead of cards, radii of 2 and 4px, a slab serif held at weight 300 against a monospace, no bold anywhere, an ink primary that leaves the accent free to mark what can be read, and one chamfered corner per page developer and technical products sold on restraint — open source front pages, workspaces for people who dislike being sold to, documentation homes (standalone)
almanac oatmeal paper rather than white, seams at 2px and 4px with no 1px anywhere, a 104px display at weight 500 with a line-height below one that locks its lines into a block, uppercase mono tags notched through the edges of drawn boxes, and one object per page floating on four stacked shadow stops pages that assert a category — a manifesto, a company saying what this kind of thing is, a product whose argument is editorial rather than functional (standalone)
vitrine a white field drawn entirely in hairlines, a serif display over a sans body, an ink primary so the accent stays free to mark what can be read, a grey panel that groups without lifting, and one framed record with a 1px inset highlight carrying the page's evidence the front door of a product sold on trust — B2B software under evaluation, security and compliance surfaces, specification and comparison pages (standalone)
proscenium a white field carrying two cool acts and one deep indigo act at the middle, ink that is an indigo rather than a grey, an electric violet that fills a control staying nearly square at 4px against cards at 16, one family at nine weights, and a framed product panel the fold cuts off product-led marketing front doors whose argument is a demonstration — SaaS home pages, launch and tour pages, any page with six or more acts that needs a repeated beat (standalone)
bulletin warm cream paper cut by flat pastel bands, every card and control a 1px ink outline standing on a hard zero-blur ink offset it travels into when pressed — 185 of them against 50 blurred shadows in the reference — a display face at 800 inside controls above the headline's 700, and no tracking at any size front doors whose argument is breadth — a tool doing many things across many channels for many clients, sold cheerfully to a small team or an agency: social and content platforms, scheduling and inbox products, all-in-one SMB SaaS (standalone)
ledger warm cream paper where elevation is a 1px hairline at 12% ink and no card casts a shadow, radii of 7.5/10/15/20 nested concentrically, an ink primary button, and a terracotta accent forbidden from filling any control — it labels, as a 10px monospace uppercase kicker — over 32px data rows, with a seal on every card stating how its number is known the console of a product that answers questions about data — AI analysts, BI surfaces, query workspaces, agents that read a warehouse and write back a figure

Each pack locks palette, type, texture, motion tokens, signature motifs and bans — and ships a tokens/<pack>.css to copy verbatim, so the agent never invents a hex. Where a pack sets its own ease and durations, the pack wins; the motion layer never hard-codes a palette.

The five principles

  1. One clock. All motion derives from one measured scroll state.
  2. Read per frame, notify rarely. Hot consumers read imperatively; only coarse changes hit the framework's render path.
  3. Hold, then redeploy. Hold a formation ~80% of a section, then morph in a short, phase-staggered, arc-curved wave. No crossfades.
  4. Earned motion. Scrub is for instruments that narrate state over time; hover and press stay inside the doctrine's bands, an entrance may run past them when measured, and neither gates content.
  5. Degrade to calm. Reduced-motion / coarse pointer / no-WebGL collapse to a static, fully-legible page.

The method was reverse-engineered from a production landing page — a 14-scene particle narrative that morphs through formations and ends in a brand glyph that charges and bursts — then generalized so an agent can rebuild that level anywhere.

Install

Requires Node ≥ 16 for the installer. Nothing is added to your dependencies: the skill is documentation an agent reads. The React reference kits are the one thing that is code, and they are deliberately not installed — they ship in the npm package and only appear when you ask for one by name (see Claude Design, below).

# Auto-detect (.cursor/ or .claude/), default .cursor/skills/sheleg-design/
npx sheleg-design-skill

# Pick the target explicitly
npx sheleg-design-skill --cursor
npx sheleg-design-skill --claude
npx sheleg-design-skill --dir docs/skills/sheleg-design

# Overwrite an existing install / see all options
npx sheleg-design-skill --force
npx sheleg-design-skill --help

Other channels:

# Claude Code plugin — adds the /sheleg-design command too
/plugin marketplace add ssheleg/sheleg-design-skill
/plugin install sheleg-design@sheleg-design-skill

# vercel-labs skills CLI
npx skills add ssheleg/sheleg-design-skill

# POSIX fallback, no Node
curl -fsSL https://raw.githubusercontent.com/ssheleg/sheleg-design-skill/main/install.sh | sh

Cursor rules users: cursor/rules/sheleg-design.mdc is a self-contained condensed version — copy it into .cursor/rules/ if you prefer rules over skills.

What gets installed

File Purpose
SKILL.md The agent-facing skill: discovery triggers, the principles, how to apply them, quick-reference rules, common mistakes
SHELEG_DESIGN.md The full reference: architecture, layer-by-layer mechanics with code, the exact morph math, the DOM↔WebGL projection bridge, a build-from-scratch recipe, and why each piece works
SURFACE_COMPOSITION.md Two decisions the pack layer does not make: the six depth layers of a scene, read before writing CSS for a cinematic page; and the handoff to dataviz, read before drawing a chart in any pack — token names are not uniform across the thirteen and an undefined custom property fails silently
SLOP_MARKERS.md The visual floor: 49 markers of generated design (purple gradients, emoji as icons, default faces, the side stripe, the three default looks, banned motion forms…), each with severity, reason, what to do instead and the exception under which it is not slop. Holds with or without a pack; twenty of them are checked by --lint
ADA_RUBRIC.md 25 binary checks derived from the Apple Design Awards categories (Apple publishes no rubric; the file says so and cites the pages it read), each typed as a deterministic gate, a judged item or a human one, with profiles for flagship, product and ad surfaces and the rules that keep a model judge honest
templates/director-record.md The director record: one ## <Field> per decision — brief, taste, references, fork and rubric, critique, markers, signature moment, ADA verdict, what is left open — filled before the first render and checked by --check-record
MOTION_DOCTRINE.md Whether to animate at all, before how: the frequency table that kills motion on high-repetition paths, the easing tree and the ease-in ban, the duration ceiling, the forbidden forms, and the reduced-motion contract. SKILL.md marks it required before any animation
MOTION_PRODUCTION.md What changes when motion leaves the page as a file: the four things a rendered asset gives up, the two programmatic-video tools measured side by side with the licence threshold and the pre-1.0 risk stated, which one this library recommends and the three conditions that reverse it, how a pack's token layer crosses the render seam, and where the reduced-motion obligation lands once there is no user to read a media query
DESIGN_SYNC_BRIDGE.md The Claude Design contract: what a pack sends to claude.ai/design and in what shape, the rule for each of the four reference types, and the border motion does not cross
FIGMA_BRIDGE.md The design↔code contract: the family's token-tier model, how a pack's tokens map onto Figma variables (collections, modes, code syntax, scopes), how to implement a design without importing raw values, what cannot cross the border, and where it overrides Figma's own guidance
AI_PRODUCT_PATTERNS.md The surfaces a model drives: the five states of a call, streaming instead of spinners, latency, provenance and uncertainty, agent confirmations, and the bans that keep it honest
styles/*.md The thirty-nine style packs — palette, type, texture, motion tokens, motifs, bans, and the traps each one carries
styles/tokens/*.css The ready-made token layer per pack, copied verbatim instead of transcribed (workbench and field-notes each ship a light :root plus a data-theme="dark" twin)
styles/STYLE_PACK_TEMPLATE.md The pack contract as a skeleton, so a new style is authored against the same headings rather than improvised

Check a project against the floor

npx sheleg-design-skill --lint ./src            # human report, exit 1 on any S1
npx sheleg-design-skill --lint ./src --json     # [{id, rule, severity, file, line, snippet}]
npx sheleg-design-skill --lint ./src --ratchet sloplint-budget.json   # per-file budgets that only fall

The linter reads html, css, scss, js, jsx, ts, tsx, vue, svelte and astro, skips dependencies, build output, hidden directories and tests (--include-tests reads them), and checks the lint: rows of SLOP_MARKERS.md: emoji used as icons (in markup and in data such as icon: "📊"), purple gradients, gradient text, a default face with no declared reason, decorative glass, the side stripe, glows, grid backgrounds, grey on colour, transition: all, layout-property animation, scale(0), ease-in, overshoot curves and a missing prefers-reduced-motion path. Exit 0 means no S1 finding, 1 an S1 finding or a file over its budget, 2 a usage error; S2 and S3 print and never block. A recorded exception is a comment, sheleg-lint-allow: V015 <reason>, and the reason is required. --self-test plants a defect for every rule. It is a pattern reader, not a renderer: the catalogue's review rows stay with the render critique.

Check a director record

npx sheleg-design-skill --check-record docs/design/pricing/director-record.md
npx sheleg-design-skill --check-record docs/design/pricing/director-record.md --json

A design's decisions live in a record before the first pixel: a header with surface_class (flagship, product, internal or ad) and one ## <Field> per decision, from the template in the installed skill. The class decides which fields are owed — a flagship all sixteen, a product screen Brief, Mode, References, Markers and Open — and each owed field is held to its rule, not just its presence: a taste profile of "modern, clean" is empty, five references on placeholder hosts are none, Fork: yes with no rubric compared nothing, Markers must cite a --lint run with its revision and counts, and a flagship's ADA verdict fails on any G item. A refusal is a record too: Mode: declined with its reason passes. Exit 0 valid, 1 with each violation as <Field>: <problem>, 2 a usage error.

What you get out of it

  • A motion methodology, not a component dump. Scroll-linked animation, particle and WebGL backgrounds, parallax layers that stay in phase instead of drifting apart as the page grows.
  • Product UI with the boring parts already decided — tokens, light/dark, elevation, state colors, data typography — up front rather than retrofitted.
  • A diagnosis for pages that feel busy or janky, naming which layer to cut instead of telling you to "simplify".
  • Stack-agnostic and dependency-free. The reference implementation happens to use Next.js + React + three / react-three-fiber + GSAP ScrollTrigger + Lenis, but the method applies to any stack that can render to a canvas and read scroll. It is a way of building, not a framework you now depend on.

AI product surfaces

Chat, agent runs, streaming output and generated content are the surfaces most design systems were written before — and the ones everyone is now building. AI_PRODUCT_PATTERNS.md covers them with one organizing rule, honest state: a model's output is slow, uncertain, occasionally refused and sometimes wrong, and an interface that hides any of that is not calmer, it is lying.

Concretely: five states per call, not two (idle · working · complete · refused · failed — a refusal is not an error and a rate limit is not a crash); streaming instead of spinners, with a stop control from the first frame and no reflow; the context the model actually used, because most "wrong answer" reports are wrong-context reports; an agent's action shown in the shape it will take before it runs; and no confidence number with nothing behind it.

This is where the skill's positioning is externally measured rather than asserted: in Figma's State of the Designer 2026 (NewtonX, 906 designers, Sept–Oct 2025), designing AI-driven products is the third most in-demand skill (37%) — ahead of motion design and information architecture — while visual polish tops the list at 58%, and craft is named the differentiator now that anyone can prompt their way to a prototype.

Figma, in both directions

Design files and design tokens are two encodings of one system, and the usual outcome is that they drift until nobody trusts either. The skill's rule is that the pack is the source of truth on both sides: publishing writes a pack's values into Figma variables — hidden primitives under semantic aliases, each alias carrying its CSS custom property as code syntax and a scope set per token family, so the code Figma hands back names var(--accent) instead of a hex; implementing a design maps the file's values onto the pack's tokens instead of inlining hexes. A redesign starts by capturing the shipped UI into the surface's file, where every value the capture cannot bind to a variable is a raw value in the code.

The bridge is specific because the traps are: workbench's light and dark are two modes of one collection, while editorial-luxury's espresso sections are surfaces and not a mode at all; Figma colors are 0..1 floats, not hex; and motion crosses only in part — durations and curves publish as Figma's TIMING and EASING variables, but the scroll clock, scrubbed motion and the reduced-motion branch stay code-only, and motion read back from a file is held to the doctrine — and shadows are effect styles whose parts bind to variables. A value in a file with no matching token is either a gap in the pack or drift in the file — the one thing it is never is a literal in a component.

Claude Design, in one direction

claude.ai/design is a design agent that builds working UI from real React. Out of the box it builds with generic components — three cards, a gradient, a hero that does nothing — which is the failure this skill exists to prevent. Push a pack and it builds from that pack's real parts instead.

npx sheleg-design-skill --kit workbench --out ./ds-workbench
cd ./ds-workbench && npm install && npm run build

then /design-sync in that directory, from Claude Code. Three layers cross: the pack's bans as the design system's own README, styles.css built from tokens/<pack>.css verbatim, and the components — a six-name spine that is identical in all thirty-nine kits, so switching packs swaps identity rather than API, plus each pack's signature parts. Motion does not cross, exactly as it does not cross into Figma: a kit is the static half of a pack, and saying so is what stops an agent inventing motion to fill the silence.

The kits are not part of the install. --kit fetches one on demand, which is how the skill stays documentation while still having real components to hand.

Reference sweeps (Refero, Lazyweb, Mobbin)

A style pack locks how it looks. It says nothing about what a good version of the screen you're about to build actually contains. For a new design or a redesign of a brand or flagship surface the sweep is not optional: through whichever reference servers are connected — Refero, Lazyweb, Mobbin where the account is authorized — the skill looks at five or more shipped products for the target screen (signup, onboarding, paywall, pricing, checkout, dashboard, settings) before laying anything out, and records what it takes from each. An empty sweep is recorded as none found with where it looked.

The division of labor keeps the result one system: references inform layout, hierarchy and content order; palette, type and motion stay the pack's. Setup is a Streamable HTTP MCP server plus a per-user token — keep it out of your repo. Without any reference server the sweep runs on the open web, and the record says the servers were absent.

Development

These run in a clone of this repository. The published npm package ships no test/ directory, so from an install they are names, not commands.

python3 test/validate.py   # or: npm test

Marked dark-palette tables resolve their values from the shipped CSS graph. python3 scripts/sync-dark-palettes.py --check reports drift; --write refreshes the marked canonical tables and their Cursor mirror. The palette gate also requires every full theme twin to have a populated dark table and refuses unbound multi-pair disclosure figures. These are source checks, not render tests.

npm test is several gates, not one, and validate.py alone is about a third of the contract:

Gate What it decides
test/validate.py manifests and five-way version sync (the fifth is the bundle's own metadata.version) · skill/command/rule front-matter and the description canon · the pack section contract (nine always, the widened four all-or-nothing) and each pack's Contract: declaration · the core role vocabulary (--bg, --ink, and a resolvable accent) in every token layer · every counted claim (packs, kits, scenarios, headings) · exhaustive pack enumerations in the manifests, the command, the CLI, the README and the rule · one name for the pack contract · fork reciprocity · the eleven kit checks · install.sh's file list, both directions · the whole .cursor/ mirror · every relative link
test/validate_palette.py contrast floors and semantic separation per theme, including three simulated dichromacies · AI-default-cluster provenance · every contrast ratio the docs state, recomputed from the token layer
test/sloplint.py the bundle obeying its own bans, in token layers, fenced examples and the inline CSS the packs prescribe in prose · doctrine completeness · pack origin addressability
node --check bin/cli.js the installer parses
node test/installer_test.js both installers against throwaway HOMEs, above all the refusal to shadow an installed plugin
node test/lint_test.js the project linter end to end: every S1 rule blocks on its plant, every quiet case stays quiet, the ratchet and the exit contract; --self-test checks the catalogue against the rules
node test/record_test.js the director-record validator end to end: a valid record for every surface class and a declined one pass; one planted defect per rule fails, each on its own field
node test/render_eval_test.js the render eval runner (evals/render/) on the committed hand-written sample: every count it must report
node bin/cli.js --lint kits the reference kits obey the floor they ship with: no S1 marker in any kit

Each gate ships a --self-test that plants a defect it must catch (npm run selftest), rejects an unknown argument instead of silently running the normal pass, and enforces a ratchet floor from test/floors.json — a check count that falls means a requirement stopped being required, which is how stripping a pack's four widened sections used to make two gates quieter and still green.

One honest limit: the npx installer is checked by asserting its runtime bundle walker exists, not by reading a file list — it has none by design. What proves it ships the right files is CI, which installs the bundle through both installers and diff -rs the result against the source, then builds all thirty-nine kits.

test/scenarios.md (T1–T34) is the behavioral harness: fresh subagents given a task, checking that the skill is discovered, applied and quoted correctly. Re-run the affected scenarios after any edit to SKILL.md, a pack or the reference.

Adding a style pack, or anything else: see CONTRIBUTING.md and the Code of Conduct. To report a vulnerability, see SECURITY.md.

Author

Built by ssheleg — sshlg.me

  • X / Twitter — @sshlg93
  • Telegram — @sshlg

Part of the ssheleg skill family: super-ux, task-pipeline, agent-sync, make-skill, sheleg-design, seo-aeo-audit. The family installs and updates as one package, for every agent you use — a bundle with one member current and the rest stale is a combination nobody tested:

npx sshlg-skills install              # nothing installed yet — the whole family, any agent
npx sshlg-skills update               # installed but behind — updates everything
npx --yes sshlg-skills@latest list    # what the current release of each member is

Restart your agent afterwards: skills and hooks load at session start, so the session that updates is not the session that gets the new ones.

License

MIT © ssheleg

—/ 5

No ratings yet

Manifest verification required

Commit 6c6a4e1851fd

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout