maiconlara

Design System Extraction — Design skill for Claude Code

Design community

Extract design tokens (colors, typography, spacing, border radius, shadows, component states, motion) from any public website by reading its real CSS.

How to install Design System Extraction

This entry records only its repository, not the path inside it, so there is no exact command to give. Open maiconlara/design-system-extraction and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Design System Extraction does

Extract design tokens (colors, typography, spacing, border radius, shadows, component states, motion) from any public website by reading its real CSS. WCAG-validates every contrast pair and outputs an implementation guide for coding agents. Agent skill for Claude Code, Cursor and claude.ai, plus a standalone contrast CLI.

Alternatives in Design

  • Pair — Fuse two extracted designs into a single hybrid identity 3.6k ★
  • Heuristic — Produce a scored heuristic critique of the UI using Nielsen's 10 + 6 design laws + optional persona walkthroug 418 ★
  • Light Mode Theming — Add a light mode to contrast the default dark mode, and build the design system so that 143 ★

README

design-system-extraction

Reverse-engineer a site's design system from its real CSS, not from a screenshot.

[![MIT License](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![Agent Skills compatible](https://img.shields.io/badge/agent%20skills-compatible-black)](https://github.com/vercel-labs/skills) [![Claude Code](https://img.shields.io/badge/Claude%20Code-skill-d97757)](https://code.claude.com/docs/en/skills)

An [agent skill](https://code.claude.com/docs/en/skills) for Claude Code, claude.ai and any agent that reads `SKILL.md`.

It extracts the design system of an existing site by reading the CSS the browser actually resolved, validates every contrast pair against WCAG, and returns an implementation guide ready to drop into a coding-agent session.

Instead of squinting at a screenshot and guessing, you get the declared tokens, the type scale with its responsive overrides, the container, the breakpoints, the radii, the component states and the transitions. With the numbers that are in the CSS.

Installation

**Via CLI, recommended.** Works with Claude Code, Cursor, opencode and the other agents supported by [skills.sh](https://www.skills.sh).

npx skills add maiconlara/design-system-extraction

With no flag it installs into the current project only. With `-g` it applies across all of your projects:

npx skills add -g maiconlara/design-system-extraction

To update later:

npx skills update design-system-extraction

**Via git, personal scope.** If you would rather version the skill yourself.

git clone https://github.com/maiconlara/design-system-extraction.git \
  ~/.claude/skills/design-system-extraction

Update with `git pull` inside the folder.

**Via git, project scope.** Useful when the whole team should have the skill.

git clone https://github.com/maiconlara/design-system-extraction.git \
  .claude/skills/design-system-extraction

In that case, commit the folder along with the project