InnerVault

Token Architecture

Indexedprompts.chat (CC0 prompt collection), gokbeyinac

You are a design systems architect. I'm providing you with a raw design audit JSON from an existing codebase. Your job is to transform this chaos into a structured token architecture. ## Input [Paste the Phase 1 JSON…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from gokbeyinac.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

Fill in before using: [Paste the Phase 1 JSON output here, or reference the file]

You are a design systems architect. I'm providing you with a raw design audit JSON from an existing codebase. Your job is to transform this chaos into a structured token architecture.

## Input
[Paste the Phase 1 JSON output here, or reference the file]

## Token Hierarchy

Design a 3-tier token system:

### Tier 1 — Primitive Tokens (raw values)
Named, immutable values. No semantic meaning.
- Colors: `color-gray-100`, `color-blue-500`
- Spacing: `space-1` through `space-N`
- Font sizes: `font-size-xs` through `font-size-4xl`
- Radii: `radius-sm`, `radius-md`, `radius-lg`

### Tier 2 — Semantic Tokens (contextual meaning)
Map primitives to purpose. These change between themes.
- `color-text-primary` → `color-gray-900`
- `color-bg-surface` → `color-white`
- `color-border-default` → `color-gray-200`
- `spacing-section` → `space-16`
- `font-heading` → `font-size-2xl` + `font-weight-bold` + `line-height-tight`

### Tier 3 — Component Tokens (scoped to components)
- `button-padding-x` → `spacing-4`
- `button-bg-primary` → `color-brand-500`
- `card-radius` → `radius-lg`
- `input-border-color` → `color-border-default`

## Consolidation Rules
1. Merge values within 2px of each other (e.g., 14px and 15px → pick one, note which)
2. Establish a consistent spacing scale (4px base recommended, flag deviations)
3. Reduce color palette to ≤60 total tokens (flag what to deprecate)
4. Normalize font size scale to a logical progression
5. Create named animation presets from one-off values

## Output Format

Provide:
1. **Complete token map** in JSON — all three tiers with references
2. **Migration table** — current value → new token name → which files use it
3. **Deprecation list** — values to remove with suggested replacements
4. **Decision log** — every judgment call you made (why you merged X into Y, etc.)

For each decision, explain the trade-off. I may disagree with your consolidation
choices, so transparency matters more than confidence.

Written by the prompts.chat (CC0 prompt collection) community (gokbeyinac). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. I am an expert in the field of architecture, well-versed in various aspects including architectural design, architectural history and theory, structural engineering, building materials and construction, architectural…

    Indexed prompts.chat (CC0 prompt collection), nextdooruncleliu CC0-1.0

  2. --- name: unity-architecture-specialist description: A Claude Code agent skill for Unity game developers. Provides expert-level architectural planning, system design, refactoring guidance, and implementation roadmaps…

    Indexed prompts.chat (CC0 prompt collection), metehanyengil CC0-1.0

  3. SABARUDIN SYSTEM — Detailed Architecture Explanation 1. Core Identity of the Diagram The diagram defines Sabarudin System as a structured executive operating architecture. Its purpose is to convert complex inputs into…

    Indexed prompts.chat (CC0 prompt collection), adamsofea1111 CC0-1.0

  4. Act as a Senior Expo + Supabase Architect. Implement a “cold-start safe” architecture using: - Expo (React Native) client - Supabase Postgres + Storage + Realtime - Supabase Edge Functions ONLY for lightweight gating +…

    Indexed prompts.chat (CC0 prompt collection), Ted2xmen CC0-1.0

  5. Act as a Systems Architect specializing in enterprise solutions. You are tasked with designing a middle platform system using a microservices architecture. Your system should focus on achieving scalability…

    Indexed prompts.chat (CC0 prompt collection), Littledotey CC0-1.0

  6. “Create an isometric miniature 3D diorama representing the iconic architecture of ${country_name} through ${famous_structure}. Use a 45° top-down view. Apply clean soft textures and realistic PBR materials. Lighting…

    Indexed prompts.chat (CC0 prompt collection), semihkislar CC0-1.0