AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Design Tokens

skill-sukirman1901-frontend-expert-design-tokens · by sukirman1901

>-

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-sukirman1901-frontend-expert-design-tokens

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sukirman1901-frontend-expert-design-tokens)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
12d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Design Tokens? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Design Tokens

Overview

Enforce token-based styling. Use CSS custom properties from tokens/ presets, or the project's existing design system — never invent raw hex or off-scale spacing.

When to Use

  • Starting UI work that needs a visual system
  • Applying colors, spacing, radius, or typography
  • /ui --token or /ui --custom

Decision tree

Canonical tree + scoring math: references/token-preset-scoring.md (follow that file; first matching branch wins).

--custom / existing theme / keep palette?
  YES → CUSTOM: style-infer → project vars (no score)
  NO  ↓
--token  / user named a preset?
  YES → EXPLICIT: that file (no score)
  NO  ↓
Explicit Plasma brand?
  YES → HARD-GATE: plasma-landing.css
  NO  ↓
SCORE PATH: signals → score all presets → penalties → #1 (+ runner-up ≤2)
         → emit Token score → apply

Workflow

  1. Walk the decision tree (above) — do not skip to affinity-hint vibes.
  2. Custom branch — style inference before inventing visuals:
  • Read Tailwind theme / :root CSS variables / theme provider
  • Skim 2–3 existing buttons, cards, forms (padding, radius, shadow, type)
  • Reuse those patterns; store nothing exotic outside the project language
  1. Score branch — mandatory when tree lands on SCORE PATH:
  • Extract signals: Surface · Density · Expression · Warmth · Radius · Accent · Inspiration
  • Weighted score per preset (max 24); apply purple/Plasma penalties
  • Choose #1; runner-up if within 2 points
  • Emit Token score; Conventions: Tokens: … (score n/24)
  • Top < 8 + thin signals → one clarifying Q, then rescore once
  1. Explicit / hard-gate — apply that file; Conventions note (explicit) or (hard-gate)
  2. Apply rules (after source chosen)
  • HSL presets (stone-emerald, etc.): hsl(var(--primary)), hsl(var(--muted)), …
  • OKLCH / hex presets (neutral-oklch*.css, stone-oklch.css, plasma-landing.css): var(--primary) — do not wrap in hsl()
  • Plasma landing also exposes native names: var(--bg-main), var(--primary-color), …
  • Never invent raw hex like #7c3aed
  • Spacing: 0.25rem increments only
  • Radius: match --radius from the token file
  • Type: h1 → h2 → h3 → body → small; one h1 per page

Preset index (scoring hints only — not a picker)

| File | Base | Primary | Radius | Affinity hint (not a picker) | |------|------|---------|--------|-----------------| | neutral-oklch.css | neutral | mono (OKLCH) | 0 | Modern minimal / sharp UI | | neutral-oklch-rounded.css | neutral | mono (OKLCH) | 0.625rem | Mono OKLCH + soft radius | | stone-oklch.css | warm stone | mono warm (OKLCH) | 0 | Editorial / warm minimal | | plasma-landing.css | zinc-950 | purple #6C5CE7 | 14px | Plasma marketing landing | | stone-emerald.css | stone | emerald | 0 | Clean, minimal | | zinc-blue.css | zinc | blue | 0.5 | Professional dashboards | | neutral-purple.css | neutral | violet | 0.75 | Creative portfolios (brand cue required) | | slate-cyan.css | slate | cyan | 1 | Data-heavy interfaces | | rose-amber.css | rose | amber | 1.5 | Warm, friendly products |

Checklist

  • [ ] Decision tree walked (custom / explicit / hard-gate / score)
  • [ ] If score path: signals + ranked scores emitted
  • [ ] Style inferred from existing components when custom
  • [ ] No raw hex / RGB outside token definitions
  • [ ] Spacing on 0.25rem scale
  • [ ] Border radius matches token file
  • [ ] Light/dark variables respected if present

Depth

Decision tree + scoring rubric: references/token-preset-scoring.md. Token CSS files + import notes: tokens/README.md. Style inference: references/design-axes.md. Color theory + neutrals/accent/semantic recipe: references/ux-foundations.md. Component usage: references/component-patterns.md.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.