SkillsMay 12, 2026·2 min read

designlang — Extract Live Design Systems

designlang reads a live URL and emits 17+ outputs (DTCG tokens, Tailwind/shadcn themes, prompts) plus an MCP server for Cursor/Claude Code.

Agent ready

Review-first install path

This asset needs a review step. The copied prompt tells the agent to dry-run, show the writes, then proceed only after confirmation.

Needs Confirmation · 66/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Review-first command
npx -y tokrepo@latest install d8367e80-8917-505e-9821-dd5467a3bd33 --target codex

Dry-run first, confirm the writes, then run this command.

Intro

designlang reads a live URL and emits 17+ outputs (DTCG tokens, Tailwind/shadcn themes, prompts) plus an MCP server for Cursor/Claude Code.

  • Best for: frontend teams who need tokens/themes/UX patterns captured from a real deployed site
  • Works with: Node.js; headless browser; outputs for Tailwind, shadcn/ui, and prompt packs; MCP clients
  • Setup time: 5–20 minutes

Practical Notes

  • Quant: one run writes 17+ files into ./design-extract-output/ (tokens, themes, prompts, reports).
  • Quant: it reports responsive behavior across 4 breakpoints and includes WCAG contrast scoring.

Main

A reliable “agent-ready” pattern is:

  1. Extract from the deployed URL, not design mockups, so tokens match reality.
  2. Feed the design language (*-design-language.md) into your UI builder (v0/Lovable/Cursor/Claude Artifacts) as a hard constraint.
  3. Use the grade report as a QA gate: rerun designlang grade after design changes.
  4. Run the MCP server when you want an agent to query tokens/components on demand instead of pasting giant JSON blobs.

Watchouts

  • Treat scraping as production traffic; throttle and respect site terms.
  • Always review generated tokens/themes before committing them to a design system repo.

FAQ

Q: Do I need to install anything? A: No—npx designlang <url> works; npm i -g designlang is optional.

Q: What do I commit? A: Commit the design tokens/theme outputs you want to standardize; keep reports as CI artifacts if preferred.

Q: How do I use it with agents? A: Start the MCP server (npx designlang mcp) or paste the design-language markdown as context.

🙏

Source & Thanks

Source: https://github.com/Manavarya09/design-extract > License: MIT > GitHub stars: 2,497 · forks: 228

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets