Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 12, 2026·2 min de lecture

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.

Prêt pour agents

Installation avec revue préalable

Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.

Needs Confirmation · 66/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Asset
Commande avec revue préalable
npx -y tokrepo@latest install d8367e80-8917-505e-9821-dd5467a3bd33 --target codex

Dry-run d'abord, confirmez les écritures, puis lancez cette commande.

Introduction

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 et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires