Design System Doc logo

Design System Doc

Community
qa-aman
design-system-doc

Document a design system component. Use when the user says "design system docs", "document this for the design system", "add this to the design system", "design token", "component library docs", "style guide", "design system entry", or wants to formally document a pattern, component, or token for team-wide use - even if they don't explicitly say "design system".

Overview

Publisherqa-aman
Repositoryclaude-skills
Skill namedesign-system-doc
Stars
26
Forks
4
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by qa-aman on GitHub. Read the source before you install it.

Installation

Install the Design System Doc 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/qa-aman/claude-skills/tree/main/skills/by-role/designer/design-system-doc
  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/qa-aman/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/by-role/designer/design-system-doc .claude/skills/design-system-doc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design System Doc 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 Doc 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 Doc 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.

Overview

Based on "Atomic Design" by Brad Frost. A design system is not a component library - it's a shared language. Frost's insight: components without documentation are just code. Documentation is what transforms a component library into a system that a whole team can use consistently without needing to ask the original designer.

Design system documentation has two audiences: designers who need to use the pattern correctly, and engineers who need to implement it accurately. Write for both.

Workflow

Step 1: Establish the entry structure

Every design system entry should follow the same structure so team members can predict where to find information:

1. Overview (what this is, one paragraph)
2. When to use / when not to use
3. Anatomy (labeled diagram of all parts)
4. Variants
5. States
6. Design tokens used
7. Usage examples (correct and incorrect)
8. Accessibility
9. Related components
10. Changelog

Step 2: Write the overview

One paragraph: what is this component/pattern? What job does it do in the UI?

Include a simple visual (or Figma embed) showing the component in its default state.

Step 3: When to use / when not to use

This is the most important section. Design systems fail when components are used outside their intended context.

Use when:
- [specific context 1]
- [specific context 2]

Don't use when:
- [anti-context 1] - use [alternative] instead
- [anti-context 2] - use [alternative] instead

Step 4: Document the anatomy

Label every part of the component. Each part should have:

  • A name (used consistently in code and design)
  • Whether it's required or optional
  • Constraints (max length, image dimensions, etc.)

Step 5: Document design tokens

List every token the component uses:

TokenValueRole
color.interactive.primary#0066CCBackground color
spacing.md16pxInternal padding
radius.sm4pxBorder radius
typography.body.md16px / 24pxLabel text

Using tokens (not hardcoded values) ensures the component responds correctly to theme changes in [your design system].

Step 6: Add usage examples

Show correct and incorrect usage with visual examples:

Correct: [example with explanation of why it's correct] Incorrect: [example with explanation of why it's wrong and what to do instead]

At least 2-3 of each. Real examples beat abstract rules.

Step 7: Document accessibility

  • Keyboard interactions
  • Screen reader behavior
  • Required ARIA attributes
  • Color contrast compliance (WCAG AA)
  • Touch target size compliance

Step 8: Add a changelog

Every time the component changes, log it:

v1.2 - [date] - Added loading state. [your team]
v1.1 - [date] - Updated border radius to match new tokens. [your team]
v1.0 - [date] - Initial release. [your team]

Anti-Patterns

1. Documentation written only for designers Bad: Docs describe visual design but no tokens, props, or accessibility. Good: Document at both design and implementation level. Engineers should be able to build from the doc alone.

2. No "when not to use" section Bad: Only positive usage guidance. Good: "When not to use" prevents misuse and is often more valuable than "when to use."

3. Hardcoded values instead of tokens Bad: Component documented with hex codes and pixel values. Good: Everything references a named token. Tokens are the vocabulary of [your design system].

4. No changelog Bad: Component updated silently. Good: Every change logged with version, date, and author. [Your team] can see what changed and when.

Quality Checklist

  • Standard entry structure followed (overview through changelog)
  • When to use AND when not to use documented
  • Anatomy labeled with names used in both design and code
  • All design tokens documented (not hardcoded values)
  • Correct and incorrect usage examples included
  • Accessibility: keyboard, screen reader, ARIA, contrast
  • Changelog entry added for this version
  • Related components cross-referenced

Frequently asked questions

What does the Design System Doc AI skill do?

Document a design system component. Use when the user says "design system docs", "document this for the design system", "add this to the design system", "design token", "component library docs", "style guide", "design system entry", or wants to formally document a pattern, component, or token for team-wide use - even if they don't explicitly say "design system".

Why use Design System Doc on TypingMind?

Because you install it once and use it with any model. Design System Doc 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 Doc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/qa-aman/claude-skills/tree/main/skills/by-role/designer/design-system-doc. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Design System Doc?

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 Doc?

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

Is the Design System Doc AI skill free?

Yes. It is published on GitHub by qa-aman 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 👇