Logo Craft Setup

Craft Setup

Cộng đồng
diego3g
craft-setup

Use when a request to design or create a page, screen or element starts in a project with no DESIGN.md at its root, when the person asks to set up, define or start the design, style, brand or guidelines of a product, or runs /craft-setup (/craft:craft-setup in the Claude Code plugin).

Tổng quan

Nhà phát hànhdiego3g
Kho mãcraft
Tên kỹ năngcraft-setup
Sao
546
Bản fork
29
Tệp đi kèm
7
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ộ.

  • 7 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 diego3g 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 Craft Setup 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/diego3g/craft/tree/main/skills/craft-setup
  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/diego3g/craft.git /tmp/craft
mkdir -p .claude/skills
cp -r /tmp/craft/skills/craft-setup .claude/skills/craft-setup
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 Craft Setup 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 Craft Setup 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 Craft Setup 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.

Design setup

Overview

Before the first screen, agree on what the product is, who it's for, how it should feel and what it should never look like. Write that down in DESIGN.md, the brief every later design decision reads first. Ask, don't invent: a brand made up by the agent is a guess the person will have to undo. Read what exists, interview the person one question at a time, write the brief, stop for approval, then build the foundations.

When to use

  • A design task and no DESIGN.md at the project root.
  • "Set up the design", "define our style / brand / guidelines", /craft-setup (/craft:craft-setup in the Claude Code plugin).

When NOT to use

  • DESIGN.md exists and the task is a design: use craft.
  • Changing one token or one guideline: use craft-system.

Steps

  1. Read first. README, docs, existing CSS or tokens, the design file, brand folders, any old DESIGN.md draft. Write down what they already answer. If the code already has a design system (a UI package, token files, a component library), say so with counts, and write "Design system source: <path>" into the brief's Brand section. In step 6, offer to import it into the design tool instead of creating foundations; the brand questions it answers are skipped. Two UI packages → ask which is the source before skipping any brand question. Never ask a question these files answer. Confirm it in one line instead ("Your README says pt-BR only and members over 60, so I'll design for 18px text and 48px taps").
  2. Interview, one question per message. Follow the interview in its order: product, audience and voice, mood, brand, references, constraints.
    • Offer 3–5 options plus "something else" whenever you can.
    • If your agent has a question tool (one that asks with choices), a question with options goes through it, one per call: the options become its choices.
    • Skip any question already answered.
    • Stop when the answers are enough to design the first screen. Six good answers beat fifteen.
  3. References are required. Ask for 2–5 products, sites or images they like. For each one, ask what to take and what to avoid. If it's a link or an image you can open, look at it and say what you see before asking.
  4. Write DESIGN.md at the project root from the template, with all eight sections: Product, Audience and voice, Mood, Brand, References, Constraints, Decisions log, Open questions.
    • Use their words where you can.
    • Anything you inferred and they didn't confirm goes under Open questions, not into the brief as fact.
  5. Stop and show the person DESIGN.md. Change it until they approve it.
  6. Foundations.
    • Design system already in code: offer the import. On yes, REQUIRED SUB-SKILL: craft-sync (import). It shows an inventory and asks which components to draw. On no, log " — Import into declined" in the Decisions log. Offer it even after "skip": it's about the design tool, not the brief.
    • No system in code: REQUIRED SUB-SKILL: craft-system in create mode for the foundations (tokens, type, spacing, interaction rules). It has its own approval stop.
    • Existing tokens and styles are the starting point: extend them, don't rename or move them without asking.

If the person says "skip" or "just design it"

Don't keep asking. Write a minimal DESIGN.md from what you read and what they said:

  • every gap becomes an Open question;
  • every assumption is marked "(assumed)".

Say in one line which assumptions matter most. "Skip" waives the interview and the brief's approval stop, never step 6:

  • design system in code → still ask the one import question ("Import it into now? I'll show what's there and you pick the components"), then continue;
  • no tokens yet → the foundations step and its stop still run, because craft can only draw with system pieces.

Then continue with the task they asked for.

Before you start

  • If no adapter in references/adapters/ matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (html.md). If an image is all you have, say that values read from it are estimates.
  • DESIGN.md is a plain Markdown file in the repo in every tool. Only the optional references board lives in the design tool.

Rules

RuleWhy
One question per message, with optionsA wall of questions gets skimmed and half-answered
Read before asking; never ask what the files sayAsking what's in the README tells them you didn't look
No invented brand: colours, fonts and mood come from them or are marked "(assumed)"An invented brand is a guess they have to undo screen by screen
References always come with take/avoid"I like Stripe" is useless; "take the calm spacing, avoid the gradients" is a rule
"Never like" is asked explicitlyWhat to avoid narrows the design faster than what to aim for
Don't redesign existing files during setupSetup records decisions; changing their CSS is a design task they didn't ask for yet
No screens during setupScreens come from craft, after the brief and foundations are approved

Done when

DESIGN.md is approved with its eight sections, and the foundations are settled: created and approved through craft-system, or (with a system in code) imported through craft-sync or the import declined and logged. After a "skip": DESIGN.md is written with its assumptions marked, the foundations exist (approved, or already in the project), and the original task has continued.

Common mistakes

ThoughtReality
"I'll pick a nice palette and fonts, they can change it"They can't change what they didn't know was decided. Ask, or mark it "(assumed)".
"While I'm here I'll mock the main screens"That's craft's job, after approval. Setup ends at the brief and foundations.
"Let me ask all six questions at once to save time"One per message, with options. It's faster for them to answer.
"Their tokens are messy, I'll restructure them"Extend them. Restructuring is a separate, approved change.
"No references given, I'll skip that section"Ask for them. If they have none, offer three that fit the mood and ask what to take and avoid from each.

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 Craft Setup làm được gì?

Use when a request to design or create a page, screen or element starts in a project with no DESIGN.md at its root, when the person asks to set up, define or start the design, style, brand or guidelines of a product, or runs /craft-setup (/craft:craft-setup in the Claude Code plugin).

Vì sao nên dùng Craft Setup 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. Craft Setup 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 Craft Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/diego3g/craft/tree/main/skills/craft-setup. 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 Craft Setup?

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 Craft Setup 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 Craft Setup 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 Craft Setup có miễn phí không?

Kỹ năng này được diego3g 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 👇