Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMay 12, 2026·2 min de lectura

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.

Listo para agents

Instalación con revisión previa

Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.

Needs Confirmation · 66/100Política: confirmar
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Asset
Comando con revisión previa
npx -y tokrepo@latest install d8367e80-8917-505e-9821-dd5467a3bd33 --target codex

Primero dry-run, confirma las escrituras y luego ejecuta este comando.

Introducción

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.

🙏

Fuente y agradecimientos

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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados