full-stack-design-skills: Skill for Claude Code

.claude/skills/design-tokens-system/SKILL.md

design-tokens-system is a skill for Claude Code from plugin87/full-stack-design-skills. It costs 55 tokens per session (1,627 once invoked), scanned A, original, MIT.

A system for defining shared design values such as colors, spacing, and fonts, then applying them consistently across interfaces and platforms.

In plain words
What is it for?
Creating design tokens, organizing them into layers, generating platform files, syncing Figma Variables, and using the values in web, mobile, and documentation projects.
Why use it?
It reduces inconsistent styling and makes design changes easier to distribute across products.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is plugin87/full-stack-design-skills's own configuration. It tells Claude Code how to work on full-stack-design-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything full-stack-design-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to plugin87/full-stack-design-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/plugin87/full-stack-design-skills/main/.claude/skills/design-tokens-system/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/plugin87/full-stack-design-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-tokens-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/design-tokens-system/github.svg)](https://agentmods.dev/skills/plugin87/full-stack-design-skills/design-tokens-system)
Your own site
<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/design-tokens-system"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/design-tokens-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-tokens-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/design-tokens-system"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/design-tokens-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01627
Opus 5.5 $0.00022 $0.00651
Sonnet 5.5 $0.00011 $0.00325
Haiku 4.5 $0.00006 $0.00163

Measured 2mo ago against content hash c21834711ec1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-tokens-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/design-tokens-system/SKILL.md · 337 lines

How it starts

The opening of the file, as written. The whole thing — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Tokens System

Comprehensive design token architecture for consistent design systems.

Design tokens are the atomic units of design (colors, spacing, typography). A robust token system ensures consistency across all platforms.


Token Architecture

Four-Layer Token Structure

Base Tokens (Primitives)
  ↓
Semantic Tokens (Context-aware)
  ↓
Component Tokens (Component-specific)
  ↓
Application (Usage)

Layer 1: Base Tokens (Primitives)

{
  "color": {
    "gray-50": "#f9fafb",
    "gray-100": "#f3f4f6",
    "gray-900": "#111827"
  },
  "spacing": {
    "4": "4px",
    "8": "8px",
    "16": "16px"
  }
}

Layer 2: Semantic Tokens (Context-Aware)

{
  "color": {
    "text-primary": "{color.gray-900}",
    "text-secondary": "{color.gray-600}",
    "background-primary": "{color.gray-50}",
    "border": "{color.gray-200}",
    "interactive-primary": "#2563eb",
    "interactive-hover": "#1d4ed8"
  }
}

Layer 3: Component Tokens

{
  "button": {
    "primary": {
      "background": "{color.interactive-primary}",
      "text": "#ffffff",
      "padding": "{spacing.12} {spacing.16}",
      "border-radius": "4px"
    }
  }
}

Token Definition Formats

W3C Design Tokens Format

{
  "colors": {
    "primary": {
      "$value": "#2563eb",
      "$description": "Primary brand color",
      "$type": "color"
    }
  },
  "spacing": {
    "md": {
      "$value": "16px",
      "$type": "dimension"
    }
  }
}

Figma Variables Setup

In Figma:

Collections/
  Colors/
    Primary/
      50, 100, 500, 900
  Spacing/
    xs, sm, md, lg, xl
  Typography/
    fontSize, lineHeight, letterSpacing

Token Export & Transformation

Export Formats

TypeScript:

export const tokens = {
  color: {
    primary: '#2563eb',
  },
  spacing: {
    md: '16px',
  },
};

CSS Variables:

:root {
  --color-primary: #2563eb;
  --spacing-md: 16px;
}

Tailwind Config:

module.exports = {
  theme: {
    extend: {
      colors: { primary: '#2563eb' },
      spacing: { md: '16px' },
    },
  },
};

Read the full file on GitHub · 337 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 337 lines · 55 tokens per session scan A c21834711ec1

Subscribe to this mod's changes

design-tokens-system is a skill published in the GitHub repository plugin87/full-stack-design-skills (11 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 1,627 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

design-tokens-system compared with skills from other repositories

design-tokens-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-tokens-systemplugin87/full-stack-design-skillsSkill113mo agoMITA55Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.2kyesterdayMITA48Claude Code
open-design-setupcompozy/compozySkill2.8kyesterdayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex