Logo Extract Ds

Extract Ds

Cộng đồng
rtadewald
extract-ds

Xây dựng hệ thống thiết kế từ một website hoàn chỉnh trên máy bằng cách sao chép repository, nhanh chóng xác định website chạy qua file:// hay máy chủ cục bộ, đồng thời giữ nguyên các hoạt ảnh chính. Dùng khi người dùng gọi extract-ds hoặc yêu cầu quy trình này có bước phê duyệt.

Add to TypingMind

Tổng quan

Nhà phát hànhrtadewald
Kho mãskills
Tên kỹ năngextract-ds
Sao
217
Bản fork
27
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được rtadewald công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Extract Ds trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/rtadewald/skills/tree/main/extract-ds
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Extract Ds trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Extract Ds ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Extract Ds với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Extract Ds làm được gì?

Xây dựng hệ thống thiết kế từ một website hoàn chỉnh trên máy bằng cách sao chép repository, nhanh chóng xác định website chạy qua file:// hay máy chủ cục bộ, đồng thời giữ nguyên các hoạt ảnh chính. Dùng khi người dùng gọi extract-ds hoặc yêu cầu quy trình này có bước phê duyệt.

Vì sao nên dùng Extract Ds trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Extract Ds là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Extract Ds trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rtadewald/skills/tree/main/extract-ds. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Extract Ds?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Extract Ds với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Extract Ds với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Extract Ds có miễn phí không?

Kỹ năng này được rtadewald phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇