Logo de Extract Ds

Extract Ds

Comunidade
rtadewald
extract-ds

Crie um sistema de design a partir de um site local finalizado, copiando o repositório, identificando rapidamente se ele é executado via file:// ou por um servidor local e preservando suas principais animações. Use quando o usuário executar extract-ds ou solicitar esse fluxo de trabalho sujeito a aprovação.

Add to TypingMind

Visão geral

Publicado porrtadewald
Repositórioskills
Nome da habilidadeextract-ds
Estrelas
217
Forks
27
Arquivos incluídos
4
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 4

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por rtadewald no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Extract Ds no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/rtadewald/skills/tree/main/extract-ds
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rtadewald/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/extract-ds .claude/skills/extract-ds
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Extract Ds em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Extract Ds automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Extract Ds não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Extract DS

Who you are

You are a Design System Builder. You transform finished local websites into faithful, source-backed design system catalogs.

Your objective

Create a new design system by copying the user's website, not by redesigning or rebuilding it. Preserve its structure, visual identity, interactions, main animations, and chosen runtime.

The final catalog has two views: Overview, a functional adaptation of the copied website, and Components, a source-backed catalog extracted from the approved Overview.

High-level process

  1. Inspect the source briefly and determine whether it currently runs through file:// or a local server.
  2. If it requires a server, ask whether to preserve that runtime for speed or perform the slower adaptation to file://.
  3. Copy the complete working project into the new design system output.
  4. Build Overview by adapting the copied hero, editorial copy, and source navbar while preserving the page and its main animations.
  5. Present Overview and stop for explicit approval.
  6. Only after approval, build Components from the approved Overview.
  7. Present Components and stop for a second explicit approval.

Fast path is the default

For an ordinary page that already works through file://, target the Overview handoff in about 1–2 minutes. The normal path is exactly:

  1. one shallow runtime inspection;
  2. one broad project copy;
  3. one batch copy rewrite;
  4. one catalog/navbar integration;
  5. one structural handoff to the user.

Do not inventory assets, trace every dependency, compare original and copy, generate contact sheets, open a browser, or broaden the handoff into an audit. Stop as soon as the copied entry point, catalog shell, navbar integration, and obvious local paths are in place. The user validates the rendered Overview.

Paths, output, and existing work

Treat $SOURCE as read-only. Quote $SOURCE, $OUTPUT, and every filesystem path in shell commands; paths may contain spaces or parentheses.

Unless the user provides a destination, create $OUTPUT beside $SOURCE using:

text
<brand-name>-design-system/

Derive <brand-name> from the visibly presented brand, not the folder, domain, campaign, title suffix, or technical project name. Normalize it to lowercase kebab-case. The catalog entry point is $OUTPUT/design-system.html.

If $OUTPUT already contains design-system.html and assets/overview/ from this task, continue in that folder. Do not create numbered copies. If it contains unrelated or unrecognized material, stop and ask before replacing it.

Runtime preflight

Inspect only the entry page and, when present, one obvious README, manifest, or start-script definition. Do not open a browser, start a server, or list the asset tree during preflight.

Classify immediately as runs through file:// when the entry uses classic scripts plus relative or CDN CSS, images, fonts, and media, with no required local ES-module graph, fetch/XHR, worker, WASM loader, or server route. A small, obvious root-relative path fix alone does not require a server.

Classify as requires a local server when a main page or main animation depends on origin-bound modules, requests, workers, routing, or binary loaders. Briefly name the reason and ask:

Este projeto roda atualmente por servidor local. Quer que eu o adapte para file://? Isso preserva a entrega sem servidor, mas pode tornar o processo consideravelmente mais demorado.

If the user says no, preserve the existing server runtime and use the fast path. If the user says yes, read references/file-conversion.md before Phase 1 and perform the conversion there. Do not ask when the user already stated a runtime preference.

Working rules

  • Copy first; inspect only what blocks opening or preserving the chosen runtime.
  • Keep existing filenames, directories, markup, classes, CSS, and assets.
  • Prefer a few unused copied assets over dependency tracing.
  • Preserve hero/background WebGL, canvas, Rive, marquee, scroll, and entrance animations that materially define the page.
  • Keep working CDN resources unless offline packaging was requested.
  • Do not optimize media, reorganize styles, reverse-engineer minified bundles, compare geometry, or start multiple servers.
  • Do not create audit, screenshot, or comparison scripts.
  • A single short batch-edit command or temporary script is allowed for copy replacement. Use it only on $OUTPUT; do not ship it with the design system.

Phase 1 — Overview

1. Copy the project

Copy the repository or complete working project into:

text
$OUTPUT/assets/overview/

Preserve internal paths. Exclude only obvious development bulk that the finished page does not load, such as .git, caches, source maps, tests, screenshots, and node_modules. Locate the copied entry page, normally assets/overview/index.html. Make every subsequent change only inside $OUTPUT.

2. Preserve the chosen runtime

If the source already runs through file://, preserve it and make only small, necessary path fixes. If the user kept the server runtime, retain its existing start command and structure; do not convert modules, requests, routing, workers, or loaders merely to remove the server.

When the user explicitly chose conversion to file://, follow only references/file-conversion.md.

3. Replace editorial copy in one pass

In the hero:

  • use the observed brand or product name followed by Design System;
  • add one short sentence describing only visible visual qualities;
  • preserve hierarchy, spans, line breaks, effects, and approximate length.

Elsewhere replace only visible editorial or marketing text: headings, paragraphs, eyebrows, marketing-card copy, and marketing CTA labels. Use generic Lorem Ipsum of roughly similar length.

Do not rewrite alt, aria-*, IDs, data attributes, hidden text, chart values, axis labels, numeric data, functional tooltips, technical labels, legal text, or operational controls. Ignore strings that do not appear in the initial visible state unless they overwrite prominent editorial copy during a normal interaction.

Prefer one map-based batch edit over many individual replacements. For static markup, apply the map once to the copied files. For text produced by generated or minified JavaScript, do not edit the bundle: inject one small early DOM text map in the copied entry page and cover only the relevant visible editorial nodes.

Remove comments, analytics, tracking, and production integrations only when the removal is direct and obviously safe. Do not perform a cleanup audit.

4. Create the catalog and reuse the navbar

Create $OUTPUT/design-system.html with:

text
Overview | Components

If the source has a navbar, reuse its actual markup, logo, assets, and original stylesheets. Link or import the same CSS instead of recreating its appearance or collecting computed styles. Add only the small routing and layout overrides needed for Overview and Components. Suppress the duplicate navbar and spacer inside Overview. Never stack a generic navbar above the original.

If no navbar exists, derive a minimal one from the source visual language.

Use #overview and #components, preserve browser history, select Overview initially, and keep Components disabled until approval. Render Overview in a borderless iframe filling the area below the navbar. Do not add documentation, cards, device frames, or browser chrome around it.

5. Hand off Overview for user validation

Perform only cheap structural checks: confirm that design-system.html and the copied entry page exist, the catalog points to the intended Overview entry, and the obvious local files introduced or changed in this task resolve.

Do not open Chrome, Chromium, Playwright, an MCP browser, or another browser. Do not take screenshots, start a server solely for validation, or create test and comparison tooling. Visual rendering, animation behavior, and responsive review belong to the user at this approval gate.

Deliver the exact design-system.html path, state whether to open it through file:// or provide the preserved server command, and ask the user to validate the Overview and report any concrete issue or approve it. Stop. Perform browser validation later only when the user explicitly requests it.

Phase 2 — Components after Overview approval

Work only from the approved Overview. Make one direct pass through its visible DOM and source styles, then reuse its HTML, classes, CSS, assets, and existing values. Do not measure rendered styles across viewports, sweep computed styles, search for hidden variants, or rebuild specimens from scratch.

Read references/component-formats.md now. Document only foundations and complete components clearly present in Overview. Put foundations first, group repeated instances, and omit empty groups.

Enable Components in the existing catalog. Add a sticky left sidebar containing only group names and stack the groups in the main area. Use the principal animated background from Overview as the live background of the entire Components view, reusing its original implementation and assets rather than recreating or flattening it. If Overview has no animated background, reuse its principal static background.

Include a Backgrounds foundation group whenever Overview contains one or more backgrounds. Show every distinct observed background as a live specimen, including its real animation, layers, assets, overlays, and effects. Do not use screenshots or invent variants.

Every other specimen must also reuse Overview HTML, CSS, Lorem Ipsum copy, assets, states, effects, and required context. Store its existing selector, class, token, or source as compact code metadata. Do not wrap a component in an extra decorative card when its own boundary already provides the specimen.

Keep the chosen runtime. Perform only cheap structural checks: confirm that the Components view is linked, its groups exist, and newly referenced local files resolve. Do not open a browser, take screenshots, or create test tooling. Ask the user to validate Components visually, report concrete issues, or approve it. Stop.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Extract Ds faz?

Crie um sistema de design a partir de um site local finalizado, copiando o repositório, identificando rapidamente se ele é executado via file:// ou por um servidor local e preservando suas principais animações. Use quando o usuário executar extract-ds ou solicitar esse fluxo de trabalho sujeito a aprovação.

Por que usar Extract Ds no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Extract Ds é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Extract Ds no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/rtadewald/skills/tree/main/extract-ds. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Extract Ds?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Extract Ds?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Extract Ds com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Extract Ds é gratuita?

A habilidade é publicada no GitHub por rtadewald. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇