Logo von Ds Token Architecture

Ds Token Architecture

Community
bradfrost
ds-token-architecture

Check a design token set against the Subatomic three-tier architecture (definitions → usage → components) and hand back evidence-tagged findings plus a prioritized work order, or establish a tier ladder from a production codebase that has no tokens yet. Use when the user pastes their token JSON and asks "is this right?", asks to audit, assess, review, or grade their tokens, asks whether their tokens are properly tiered or semantic, wants to know if dark mode or a second brand will be a remap or a rewrite, or has a codebase full of hardcoded values and wants to build token foundations from it code-first. Companion to ds-inspection (which grades the whole system across ten stations); this one goes deep on the token layer alone.

Add to TypingMind

Übersicht

Herausgeberbradfrost
Repositoryskills
Skill-Nameds-token-architecture
Sterne
51
Forks
1
Mitgelieferte Dateien
17
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 17

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von bradfrost auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Ds Token Architecture in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/bradfrost/skills/tree/main/skills/design-systems/ds-token-architecture
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bradfrost/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/design-systems/ds-token-architecture .claude/skills/ds-token-architecture
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Ds Token Architecture in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Ds Token Architecture automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Ds Token Architecture nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Design Token Architecture Check

Nine checks against the three-tier architecture Ian and I teach in Subatomic, run on a real token set with real evidence. The output is a sheet of nine lights and a work order that says what to fix Monday morning. There's no score, because a number out of a hundred hides the one finding that matters: whether a second theme would be a remap or a rewrite.

It also runs the other direction. A team with a product and no tokens can use establish mode to get from "every color in production" to a tier ladder, without letting a scanner make the design decisions.

Ground rules (read first, apply at every check)

  1. Evidence before judgment. Every finding cites its evidence and carries a tag: [verified] (you read the file, the variable, or the tool output yourself) or [reported] (a human told you and you couldn't confirm). Counts, file names, and token names, never vibes. "6 of 41 tier 2 color tokens hold raw hex" beats "some tokens aren't aliased."
  2. Check the structure, not the vocabulary. The architecture's words (definitions, usage, theme, knockout) are one set of words. A system that says primitives, semantic, sys, and on-brand is following the architecture. The intake's vocabulary translation exists so findings speak the team's language. A structural gap is a finding; a different word for the same structure is not.
  3. Read the source, not the build. Built CSS often resolves references to literals, which makes a tiered system look flat. Judge tiers and references from the JSON, the Figma alias structure, or the config.
  4. Do the arithmetic. A token named on-brand is a contrast claim. Resolve the values and compute the ratio, per theme, before you call the pair green. Names are not evidence of what they promise.
  5. Probe the design side every run. Tokens usually exist in Figma too, and a bridge is often connected that you won't notice unless you look. Ask, check your tools, make one real call, record the result. reference/FIGMA-ACCESS.md says what each bridge can see; the native bridge needs a layer selected to read variable definitions, and whole-collection reads need the Console bridge.
  6. Scope claims to what you read. "The 12 components I sampled," never "your components." Say what you did not inspect.
  7. Where the architecture has no opinion, say so. Opacity scales, layout tokens, sizing tokens, structured data-viz palettes: the course doesn't cover them. Describe what the system does in the report's "no guidance" section instead of grading it against a rule that doesn't exist.
  8. The human makes the calls. You surface, sort, and propose. The team decides what to rename, what to merge, and in what order. In establish mode this is non-negotiable: every merge changes pixels, and a script doesn't get to make that call.
  9. No shame. A flat pile of tokens was the right call when someone made it under a deadline. The report says what it costs to carry now.

Files in this kit

  • intake/TOKEN-INTAKE.md — the check-in; produces ds-token-architecture/PROFILE.md
  • checks/check-01…09-*.md — one file per check, each self-contained
  • establish/ESTABLISH.md — the code-first procedure for a system with no tokens yet
  • reference/SUBATOMIC-ARCHITECTURE.md — the architecture the checks test against, with lesson pointers
  • reference/FIGMA-ACCESS.md — what each Figma bridge can actually see
  • templates/report.md, templates/work-order.md, templates/ladder.md — output shells

State (in the user's project)

ds-token-architecture/
├── PROFILE.md                       ← the token set, its sources, the access map
├── reports/YYYY-MM-DD-report.md     ← the nine-light sheet and check records
├── work-orders/YYYY-MM-DD-work-order.md
└── (establish mode only)
    ├── extraction/                  ← raw values with provenance
    ├── consolidation.md             ← proposed merges, team decisions
    └── ladder.md                    ← the proposed tiers

A sibling of any ds-inspection/, product-inspection/, or ds-adoption-plan/ folder. If you can write files, keep this folder. If you can't (plain chat), produce each artifact as its own message the user can save, and don't fold the work order into the report.

Modes

Determine which mode the user wants; when ambiguous, ask one short question.

Mode 1 — Assess (the common case)

  1. Check in. On the first run, open with this, word for word:

    This design token inspection will help you improve (or establish!) your design tokens system based on best practices and architecture covered in Subatomic: The Complete Guide To Design Tokens (https://designtokenscourse.com). Answer a few questions (5 minutes total) to provide context and start the inspection.

    Then run intake/TOKEN-INTAKE.md. If PROFILE.md already exists, skip the opener and confirm the profile is current instead. The intake's job is to test evidence access and write the vocabulary translation; don't skip either.

  2. Announce the plan. One short message: the frame you inferred (solo / small team / platform org), which sources you could read, and which checks will come back N/I because the consumers or the build weren't reachable. Run all nine by default; nobody should have to know the nine checks to answer a question about them.

  3. Run checks 1 → 9 in order. Check 1 establishes whether tiers exist; the rest read its record. For each: open the file, follow its procedure, gather evidence down the fallback chain, assign a light, write its record. One-line status between checks ("Check 4: red. 3 filled surfaces have no content pair; background-brand + #fff is hardcoded in the button. Moving to 5.").

  4. Write the report from templates/report.md into reports/. The short version at the top is for a teammate who reads nothing else.

  5. Write the work order from templates/work-order.md. Every red is a fix-now item with a first move; every yellow is scheduled. Every item cites its check and evidence.

  6. Confirm the outputs exist before you report back: PROFILE.md, the report, and the work order, as three files (or three messages). A work-order-shaped table inside the report is not the work order.

Mode 2 — Single check

Run intake-lite if there's no PROFILE.md (the questions that check needs, always including the design-side probe). Run the check, write its record into today's report (create one holding just this check if none exists). Offer the natural next check without pushing.

Mode 3 — Establish

For a codebase with no token set. Run intake (mode establish), then establish/ESTABLISH.md E1 through E6: extract with provenance, consolidate with the team deciding every merge, mint tier 1 and core, assign tier 2 jobs, mint tier 3 sparingly, wire one pilot component and prove no pixels moved that weren't approved. Establish mode ends by running mode 1 against what was built. The hardcoded-value replacement beyond the pilot is ds-adoption-plan's job; hand it the provenance.

Mode 4 — Re-check

Read the most recent report. Run the requested checks fresh (don't look at the old lights while gathering evidence), then diff: lights changed, token counts moved, work-order items closed or still open. The delta is the result.

The course learner in plain chat

A common caller is someone who took the course, pasted their tokens.json, and asked whether they did it right. They have one file and no repo. That's enough for checks 1 through 7. Say up front that 8 and 9 need the consuming code and the build, run what you can, and make the report specific to their file: their token names, their counts, their theme. Tag everything you couldn't reach. The work order for this caller is usually short and concrete, and that's the point: they get feedback on their own work instead of a lecture.

Related course lessons

When preparing findings or the final deliverable, read Related course lessons. Fetch the public lesson catalog once and connect up to three useful lessons to the user's actual findings or questions. Use the reference's topic pointers, current summaries, and access labels; keep the work complete and useful even when lesson lookup is unavailable.

Voice

Plain, specific, warm. Findings name tokens, files, and counts. The person reading the work order should finish it knowing which token to open first and what to change in it.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Ds Token Architecture?

Check a design token set against the Subatomic three-tier architecture (definitions → usage → components) and hand back evidence-tagged findings plus a prioritized work order, or establish a tier ladder from a production codebase that has no tokens yet. Use when the user pastes their token JSON and asks "is this right?", asks to audit, assess, review, or grade their tokens, asks whether their tokens are properly tiered or semantic, wants to know if dark mode or a second brand will be a remap or a rewrite, or has a codebase full of hardcoded values and wants to build token foundations from i...

Warum Ds Token Architecture in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Ds Token Architecture besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Ds Token Architecture in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/bradfrost/skills/tree/main/skills/design-systems/ds-token-architecture ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Ds Token Architecture nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Ds Token Architecture verwenden?

So viele Sie möchten. In TypingMind können Sie Ds Token Architecture mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Ds Token Architecture kostenlos?

Ja. Der Skill wird von bradfrost auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇