Logo van Design System From Scratch

Design System From Scratch

Community
nnikochann
design-system-from-scratch

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

Overzicht

Uitgevernnikochann
Repositorydesign-system-skills
Skillnaamdesign-system-from-scratch
Sterren
3
Forks
0
Meegeleverde bestanden
3
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 3

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door nnikochann op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Design System From Scratch in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/nnikochann/design-system-skills/tree/main/skills/design-system-from-scratch
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nnikochann/design-system-skills.git /tmp/design-system-skills
mkdir -p .claude/skills
cp -r /tmp/design-system-skills/skills/design-system-from-scratch .claude/skills/design-system-from-scratch
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Design System From Scratch in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Design System From Scratch automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Design System From Scratch niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Design System From Scratch

Purpose

Create a design system when there is no reliable existing UI to extract from. The process starts with product intent and references, not implementation. The output is a usable system: tokens, component foundations, layout rules, accessibility rules, visual principles, and a manifest that future UI work can follow.

This pipeline differs from $design-system-research: do not pretend to extract a mature system from an empty repo. First build design direction from brief and references, then author the system deliberately.

Core Rule

Do not generate polished UI immediately. First clarify the product, gather or request references, synthesize visual direction, define tokens/components, and write docs/design-system/manifest.json.

If the repo already has a real product UI, component library, or design tokens that should constrain the work, use $design-system-research first.

Workflow

  1. Intake the product.

    • Capture product name, category, audience, primary workflows, business goal, platform targets, technical stack, brand constraints, accessibility expectations, and required deliverables.
    • Ask for references only when missing information would materially change the design direction. Prefer 3-7 strong references over a large unfocused dump.
    • When the user provides sparse input, proceed with stated assumptions and record open questions.
  2. Build a reference board.

    • Read references/reference-intake.md for reference categories and evaluation prompts.
    • Use provided Figma links, screenshots, public sites, brand books, product docs, competitor URLs, and moodboard images.
    • Separate references by role: aspirational mood, direct competitor, layout, typography, color/material, interaction/motion, imagery, and anti-reference.
    • Save the source list and observations in docs/design-system/reference-board.md.
  3. Synthesize direction.

    • Define 1-3 design territories when the brief is exploratory. Each territory should include mood, typography direction, color/material approach, layout density, motion attitude, and risks.
    • If the user has already chosen a direction, skip territories and document the chosen direction.
    • Avoid generic style words unless they are converted into concrete rules. "Premium" is not a rule; "low-chroma surfaces, restrained accent color, dense editorial type scale, no glass cards" is a rule.
  4. Author tokens.

    • Create semantic colors, typography roles, spacing scale, radius scale, elevation/shadow policy, breakpoints, grid rules, and motion tokens.
    • Define why each major token exists and where it should be used.
    • Keep values implementation-ready for the project's stack when known: CSS variables, Tailwind theme, design tokens JSON, or component props.
  5. Define component foundations.

    • Start with primitives: Button, Link, Input, Select, Checkbox, Toggle, Tabs, Tooltip, Modal/Dialog, Toast, Card/Panel, Table/List, Nav, Badge, Avatar, Empty State, Loading, Error.
    • For each component, define variants, states, anatomy, spacing, typography, accessibility, and usage limits.
    • Design for reuse before adding expressive one-off sections.
  6. Define layout and visual principles.

    • Specify page shells, grid, max widths, responsive behavior, section rhythm, density, hierarchy, content rules, iconography, imagery, data visualization, and motion.
    • Include anti-patterns so future UI work has guardrails.
  7. Write artifacts.

    • Read references/manifest-schema.md before writing manifest.json.
    • Create or update:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/reference-board.md
      • docs/design-system/component-map.md
    • Optional when useful:
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
  8. Protect the project instructions.

    • After the design-system artifacts are written, search the repository root for an existing agent instruction file in this order: AGENTS.md, agents.md, AGENT.md, agent.md.
    • If one exists, update it. If none exists, create AGENTS.md at the repository root.
    • Add a short "Design System Guard" section explaining that the project's visual layer is protected by the design system: the design system is the source of truth for visual decisions, and UI work must follow it before introducing new styles, tokens, or components.
    • List the design-system files that own the contract. Include required files and any optional files that were actually created, for example:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/reference-board.md
      • docs/design-system/component-map.md
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
    • Keep this instruction block concise. Do not duplicate the full design-system documentation inside the agent instruction file.
    • Use this shape, adapted to the project's language and actual file list:
      md
      ## Design System Guard
      
      The visual layer of this project is protected by the design system. The design system is the source of truth for UI decisions: colors, typography, spacing, components, layout, motion, and visual QA. Before changing UI, read and follow these files:
      
      - `docs/design-system/manifest.json`
      - `docs/design-system/design-system.md`
      - `docs/design-system/reference-board.md`
      - `docs/design-system/component-map.md`
      
      Do not introduce new visual tokens, component variants, or layout patterns unless they are added to the design-system contract first.
  9. Prototype only after the system exists.

    • If the user requested screens in the same run, implement a small representative slice first: one page shell plus core components and states.
    • Run visual QA across mobile, tablet, and desktop.
    • Summarize design-system deviations and whether they should become new rules or be removed.

Reference Expectations

Good reference input includes:

  • 2-3 products the user wants to feel adjacent to.
  • 1-2 anti-references showing what to avoid.
  • Audience and product category.
  • Desired brand traits with concrete examples.
  • Screens or flows the system must support first.

Do not copy references literally. Extract principles: hierarchy, density, rhythm, material, interaction, contrast, and tone.

Output Standard

The design system is ready when another Codex run can build UI from the artifacts without re-asking basic visual questions. The final response should include created files, the updated or created project agent instruction file, chosen direction, open questions, verification performed, and the recommended next UI slice.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Design System From Scratch?

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

Waarom Design System From Scratch gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Design System From Scratch bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Design System From Scratch in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/nnikochann/design-system-skills/tree/main/skills/design-system-from-scratch. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Design System From Scratch gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Design System From Scratch gebruiken?

Zoveel als je wilt. Je kunt Design System From Scratch gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Design System From Scratch gratis?

Ja. Deze skill is door nnikochann op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇