Design System logo

Design System

Community
albertzhangz10
design-system

Generate a complete design system (design.md, design-guidelines.md, design-components.md) from any reference materials — images, PDFs, links, or descriptions.

Overview

Publisheralbertzhangz10
Repositorydesign-system-skill
Skill namedesign-system
Stars
41
Forks
0
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by albertzhangz10 on GitHub. Read the source before you install it.

Installation

Install the Design System AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/albertzhangz10/design-system-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/albertzhangz10/design-system-skill.git \
  .claude/skills/design-system
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design System in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Design System on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Design System is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Design System Generator

Analyze the user's provided design references (images, screenshots, PDFs, links, text descriptions, or existing code) and generate a comprehensive 3-file design system documentation.

Inputs

Accept ANY combination of:

  • Images: Screenshots of UIs, mockups, design tool exports
  • PDFs: Brand guidelines, style guides, design specs
  • Links: URLs to design system documentation, component libraries, or live websites
  • Text descriptions: Written descriptions of the design language
  • Existing code: CSS files, theme configs, Tailwind configs, design tokens

If the user provides a link, use WebFetch to retrieve the content. If they provide a file path, read the file.

Output

Generate exactly 3 markdown files in the user's working directory (or a specified path):

  1. design.md — Token Reference
  2. design-guidelines.md — Accessibility & Do's/Don'ts
  3. design-components.md — Component Specs

File Specifications

design.md — Token Reference

markdown
# [System Name] Design System — Token Reference

> Always read this file first. For component specs see [design-components.md](design-components.md). For accessibility and do's/don'ts see [design-guidelines.md](design-guidelines.md).

[1-2 sentence intro: design language, core architecture, primary typeface, base spacing unit, platform coverage]

Required sections:

Colors

Group by semantic role using H3 subsections (e.g., ### Accent — Primary, ### Surface & Neutral, ### Semantic/Status).

RoleHexUsage
primary#6442d6High-emphasis fills, text, icons
on-primary#ffffffText/icons on primary

Include light/dark hex where detectable.

Typography

Default font family + fallback chain.

StyleSizeWeightLine HeightSpacing
Display Large57sp40064sp-0.25sp
Body Medium14sp40020sp0.25sp

List all scale levels (Display, Headline, Title, Body, Label or equivalent).

Shape
TokenRadiusComponents
Small8dpChips, snackbars
Medium12dpCards
Full50%Buttons, search bars
Elevation
LeveldpCSS ShadowUsage
00noneBase surface
110 1px 2px rgb(0 0 0/.3), 0 1px 3px 1px rgb(0 0 0/.15)Cards
Interaction States
StateLayer OpacityNotes
Enabled0%Resting
Hover8%Cursor over
Focus10%Keyboard focus
Pressed10%Tap/click
Disabled38% content, 12% containerInoperable
Layout
ClassWidthPanesNavigation
Compact< 600dp1Nav bar
Medium600–839dp1–2Nav rail or bar
Expanded840–1199dp1–2Nav rail or drawer
Motion

Easing curves (CSS cubic-bezier values), duration tokens (short/medium/long), transition types.

Icons

Icon system specs: style, sizes, grid, stroke weight. Omit if not detectable.

Design Tokens

Naming convention format (e.g., md.sys.color.primary).


design-guidelines.md — Accessibility & Do's/Don'ts

markdown
# [System Name] Guidelines — Accessibility & Do's/Don'ts

> See [design.md](design.md) for token values. See [design-components.md](design-components.md) for component specs.

Required sections:

Accessibility
  • Contrast Requirements: Table with Requirement | Ratio, then Component | 3:1 Against
  • Touch Targets: Minimum sizes, spacing rules, density constraints
  • Keyboard Navigation: Table with Key | Action
  • Assistive Technology: Screen reader rules, labels, roles
Gestures

Table with Gesture | Use (Tap, Double tap, Long press, Scroll, Swipe, Drag, Pinch).

Content Design

Writing rules: tone, capitalization, line length, label constraints.

Do's and Don'ts

Organize by category with H3 subsections: Color, Shape, Elevation, Interaction, Layout, Typography, Motion, Components.

Format:

  • Do use primary for the single most important action
  • Don't apply primary fill to multiple buttons in a group

design-components.md — Component Specs

markdown
# [System Name] Components

> Full specifications for all [N] components. Grouped by workflow.
> For tokens see [design.md](design.md). For rules & accessibility see [design-guidelines.md](design-guidelines.md).

Find ALL components detectable from the provided references. Do not limit to a fixed list.

Organize by workflow category using H2 headings:

  • Actions

  • Input

  • Navigation

  • Containment

  • Data Display

  • Feedback

Each component as an H3 section:

markdown
### Button

**Types:** Filled (primary) > Tonal (secondary) > Elevated > Outlined > Text.
Height 40dp. Target 48dp. Label: 14sp/500. Sentence case.

| Property | Value |
|---|---|
| Contrast | 4.5:1 text, 3:1 icons/borders |
| States | Rest, Hover, Pressed, Focus, Disabled |
| Touch target | 48x48dp min |

**Do:** Use sentence case; keep labels concise (1-3 words).
**Don't:** Use "Click here"; end with punctuation.

---

Typical components to cover:

  • Actions: Button, Icon Button, FAB, Toolbar, Link
  • Input: Text Field, Checkbox, Radio, Switch, Slider, Dropdown/Select, Combobox, Picker, Textarea
  • Navigation: Navigation Bar/Rail/Drawer, Tabs, Breadcrumb, Menu, Search, App Bar
  • Containment: Card, Dialog, Bottom Sheet, Drawer, Popover, Accordion, Divider
  • Data Display: Avatar, Badge, List, Carousel, Icon, Image, Tag/Chip, Skeleton, Tooltip
  • Feedback: Progress Indicator, Spinner, Snackbar/Toast, Message Bar

General Rules

  • Be specific: measurements in dp/sp/px, hex colors, CSS box-shadow values
  • If a value cannot be determined from references, make a reasonable inference based on the design language and note it with "(inferred)"
  • Use tables over prose — keep scannable
  • Aim for 150–400 lines per file
  • Each file must cross-reference the other two in its opening blockquote
  • Separate components with horizontal rules (---)
  • Use consistent markdown formatting throughout

Workflow

  1. Gather all reference materials from the user (read files, fetch URLs)
  2. Analyze the design language: identify colors, typography, spacing patterns, component inventory
  3. Generate all 3 files
  4. Write each file to the specified directory
  5. Summarize what was generated: system name, token count, component count

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Design System AI skill do?

Generate a complete design system (design.md, design-guidelines.md, design-components.md) from any reference materials — images, PDFs, links, or descriptions.

Why use Design System on TypingMind?

Because you install it once and use it with any model. Design System is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Design System in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/albertzhangz10/design-system-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Design System?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Design System?

As many as you like. As long as a model supports skills, you can use Design System with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Design System AI skill free?

Yes. It is published on GitHub by albertzhangz10 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇