Logo Ui Craft

Ui Craft

Cộng đồng
ConnorGriffin
ui-craft

Design and verify user-facing surfaces — settle structure first, lock a one-page design in the repo, then build or revise against it in a separate ticket, and review rendered UI. Use for any request to design, redesign, review, or verify screens, dashboards, flows, or components. Not for backend-only work or module/API design ("interface" in the code sense — use codebase-design for that).

Tổng quan

Nhà phát hànhConnorGriffin
Kho mãskills
Tên kỹ năngui-craft
Sao
21
Bản fork
6
Tệp đi kèm
12
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ộ.

  • 12 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 ConnorGriffin 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 Ui Craft 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/ConnorGriffin/skills/tree/main/skills/drivers/ui-craft
  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/ConnorGriffin/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/drivers/ui-craft .claude/skills/ui-craft
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 Ui Craft 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 Ui Craft 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 Ui Craft 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.

UI craft

A design session settles structure before pixels, then reviews at component grain through eight gates. Each screen ends at the operator's "locked" in a one-page lock doc that lives in the repo. The stage list lives only in reference/lock.md. Building screens is a separate ticket, checked against that page and nothing else. Parts are derived from impeccable (Apache-2.0, by Paul Bakaus — see the repo NOTICE).

Vocabulary guard: in the engineering charter, interface means a module's API. This skill owns surfaces, meaning rendered UI. If the request is about a class, function signature, or module boundary, this is the wrong skill.

Modes

Route on the first word or obvious intent, then read that mode's reference before acting. Never auto-run a mode.

ModeJobReference
lock [surface]The design lifecycle's eight gates, from structure to "locked" per screen; at most three rounds per gatereference/lock.md
library [component]lock's library gate, run as its own ticket: the approved inventory built and reviewed one component at a timereference/library.md
build [surface]Build ticket for a greenfield surface: assemble locked screens from the library, verified against the locked canvasreference/build.md
revise [surface]Build ticket for a shipped surface: change the running app on a branch, keeping its must-survive behaviorsreference/revise.md
review [target]Critique and technical audit of rendered UI, against the lock when one existsreference/review.md

Routing, in prose:

  • Designing or redesigning anything, shipped or not, goes to lock. A design session never builds screens. The library ticket is the only code written before a screen locks.
  • A project that declines a component library takes lock's plain-DOM path, which says what that path loses.
  • After "locked", the build ticket runs build for a greenfield surface or revise for one the app already ships (ADR 48: a shipped surface is never rebuilt from a from-scratch mock).
  • A fix inside an existing lock goes straight to build or revise: spacing, a bug, or a state the lock already lists. A change that adds or renames a screen, state, navigation item, gesture, or user-facing term reopens lock.
  • With no argument, read mockups/INDEX.md and recommend one or two modes, then list the table.

reference/tools.md says how to use the harness's own design tooling for these jobs: the Design and Design System artifact types, /design-sync when the repo has a component library, artifact comments, Claude in Chrome or the built-in browser, and the cold-critique subagent. Read it before the first canvas, artifact, or browser step.

Setup (every mode)

  1. Read the repo's CLAUDE.md/AGENTS.md for these four things: personas, a declared real-data protocol, the safe dev-server entrypoint and its data source, and the design doc location.
  2. Read mockups/INDEX.md and the surface's lock doc if one exists.
  3. Read reference/design-rules.md. Then read one register reference: reference/brand.md when the design is the product (marketing, landing, portfolio), or reference/product.md when it serves the product (app UI, dashboards, tools).
  4. For library, build, revise, and any change to CSS or JavaScript/TypeScript, read reference/web-implementation.md first. It governs web mechanics. This skill keeps ownership of the lock and the rendered evidence.

The lock is the contract

  • One page, in the repo. It lives in the project's DESIGN.md, or in docs/design/<surface>.md when the project has several surfaces. It never lives in a scratchpad, a temp folder, or a canvas. The format is in reference/lock.md.

  • Checked against the page and nothing else. Prechecks, the cold critique, review, and the build's verification all read the lock doc. Anything the page does not say is not a requirement, and anything it bans is a failure.

  • No arbitration in private. Stop and ask when one of these happens:

    • the lock contradicts the app's design system;
    • a build needs something the lock does not list;
    • a shipped behavior on the must-survive list would be lost.

    A changed term is a dated line under the lock's Amendments, carrying the operator's words, made in the same change. It is never a quiet edit.

  • Evidence over green gates. A surface is done when its rendered screens match the lock at every frame and state the lock lists. A passing suite alone never finishes a surface.

Surface ledger

mockups/INDEX.md holds one line per surface:

text
- <surface> · <draft | locked | shipped> · <issue> · <lock doc path> · <canvas or artifact URL>

Every mode that changes a surface's status updates its line in the same change.

Personas

lock's cold critique and review walk the primary task as personas. Repo personas win: if the repo defines its own (canonically .claude/qa/personas/*.md, or a location its CLAUDE.md/AGENTS.md names), use those instead of inventing equivalents. When the repo has its own sweep protocol, follow it. Built-in archetypes fill only the roles the repo's set lacks.

Grounding rules (every mode)

  • Ground everything in the app's real tokens, its shipping UI and chart library at the shipping version, and the real data shape from a safe, manufactured fixture. Never use production, personal, health, credential, or customer data. This default does not bend for convenience.
  • Never put real personal, health, or customer data on a canvas or artifact. Both are published pages on claude.ai, however private their sharing setting.
  • Real-data inversion is repo-scoped and opt-in. Some repos require build evidence grounded in the owner's own real data, because a fixture cannot show what the surface does at real scale. That inversion applies only where the repo's own CLAUDE.md/AGENTS.md declares an operator-sanctioned real-data protocol, and only within that protocol's bounds. Without that declaration, the manufactured default governs, and no exception is inferred from context or precedent. Where the inversion applies, real-data renders stay local: they are never published to a canvas or artifact, never committed, and never attached to a PR. Committed and published evidence uses labeled synthetic fixtures.
  • Vary the concept, not the decoration. Three directions that differ only in color are one design.
  • Judge a visual artifact by its rendered output in a real browser. Source review alone never validates one.
  • Sibling exactness: an element with a sibling on a shipped surface uses the shipped values exactly. Prove it with computed styles read in the browser, never by eye.

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

Design and verify user-facing surfaces — settle structure first, lock a one-page design in the repo, then build or revise against it in a separate ticket, and review rendered UI. Use for any request to design, redesign, review, or verify screens, dashboards, flows, or components. Not for backend-only work or module/API design ("interface" in the code sense — use codebase-design for that).

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

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

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

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