Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)101k · #1067

od-figma-migration

Skill này làm gì

Công cụ này giúp chuyển thiết kế từ một tệp Figma sang một website. Nó lấy thông tin thiết kế từ Figma và biến thành mã cho website.

Khi nào nên dùng

  • ✓Khi bạn muốn biến một thiết kế Figma thành website.
  • ✓Khi bạn chuyển một dự án thiết kế từ Figma sang web.
  • ✓Khi bạn muốn tạo bản mẫu website từ một thiết kế Figma.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-figma-migration/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-figma-migration/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Biến thiết kế Figma này thành một website.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ trước tiên trích xuất chi tiết từ thiết kế Figma của bạn. Sau đó, nó sắp xếp thông tin này và dùng để tạo mã cho website.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

od-figma-migration (scenario)

Spec §1 / §10.1 / §21.3.1 / §23.3.3: the canonical figma-migration flow. The pipeline is sequenced so each stage's output is the next stage's input — figma-extract writes figma/tree.json, token-map writes token-map/colors.json (etc.), and generate reads both before producing the HTML artifact.

Default pipeline

{
  "stages": [
    { "id": "extract",  "atoms": ["figma-extract"] },
    { "id": "tokens",   "atoms": ["token-map"] },
    { "id": "generate", "atoms": ["file-write", "live-artifact"] },
    {
      "id": "critique", "atoms": ["critique-theater"],
      "repeat": true,
      "until": "critique.score>=4 || iterations>=3"
    }
  ]
}

Required GenUI surfaces

The scenario expects two oauth-prompt / form surfaces from the plugin layer:

  • figma-oauth — oauth.route='connector', connectorId='figma', persists at the project tier so multi-conversation work doesn't re-prompt.
  • file-pick — kind='form', captures the Figma file URL on the first turn so figma-extract knows where to read.

The daemon auto-derives the figma-oauth surface when od.connectors.required[].id='figma' is declared and the connector isn't yet authorised (spec §10.3.1 implicit oauth-prompt rule).

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

“Pipeline” là gì?

Đó là chuỗi các bước công cụ thực hiện để hoàn thành công việc, giống như một dây chuyền lắp ráp.

“Stages” là gì?

Đó là các bước chính trong pipeline, mỗi bước thực hiện một phần công việc.

Vì sao công cụ yêu cầu kết nối với Figma?

Nó cần truy cập tệp Figma của bạn để lấy thông tin thiết kế.

Chi tiết

Mô tả gốc của tác giả

Default reference pipeline for the figma-migration taskKind — figma-extract → token-map → generate → critique.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1067
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự