Logo Ui Craft

Ui Craft

Cộng đồng
shoryabansalgithub
ui-craft

Build and review UI end to end. Carries four bodies of knowledge - Refactoring UI's value systems and hierarchy techniques, Shift Nudge's craft principles and UI patterns, the bans registry of refused artifacts, and total command of Tailwind as the implementation mechanism - plus a product-design section (a fixed 12-16px Inter/Geist system, product judgment, states, copy, patterns) for apps, dashboards, tables, forms and settings. Use when building, styling, reviewing, or auditing any interface - component, page, app, dashboard, landing page - when picking type, spacing, color, shadow or radius values, or when work "looks off", "looks amateur", or "looks AI-generated".

Tổng quan

Nhà phát hànhshoryabansalgithub
Kho mãui-craft
Tên kỹ năngui-craft
Sao
4
Bản fork
0
Tệp đi kèm
36
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 là Markdown thuần túy, không phải 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ộ.

  • 36 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 shoryabansalgithub công bố trên GitHub. Hãy đọc nội dung 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/shoryabansalgithub/ui-craft/tree/main/skills/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/shoryabansalgithub/ui-craft.git /tmp/ui-craft
mkdir -p .claude/skills
cp -r /tmp/ui-craft/skills/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ự tải 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 Ui Craft không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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

Four references, one order of operations. Nothing here is a style. The systems decide the values, the bans say what is refused, Tailwind installs the result.

Keep your implicit thoughts to yourself. Don't let them cloud your judgement. The skill file is the truth source here.

ReferenceWhat it holdsLoad it when
references/refactoring-ui.mdthe value systems (spacing, type, color, shadow, line length) and the hierarchy techniquesalways, before any value is chosen
references/shift-nudge.mdcraft principles, component states, UI patterns, imagery and icon rules, handoffdesigning a specific pattern, or reviewing for missed states
bans.mdthe artifacts refused by name, plus the anti-slop axes and banned conceitsbefore building, and again before the verdict. Run the script, do not read the list
references/resolution.mdResolution, not expansion - the detail standard, the reconstruction test, and the spec + checker that make it a gatebefore answering any request for more detail, and before any build is called done
references/pinterest.mdsourcing reference, a hard gate - the two-word query, the dimension set, the ## Reference log, quantify-or-discard, and why a supplied reference outranks the search without cancelling itstep 1.5, every build. Run scripts/validate_reference.py
references/tailwind.mdTailwind as a mechanism - theme layer, arbitrary-value decision, variant algebra, conflicts, container queries, dark modethe moment a decision becomes code
pen.mdworking on a pen.dev canvas - how every step and gate maps onto .pen variables, text styles, execute and Export, plus the Pinterest route when there is no Chromethe work is on a .pen file: inside the pen.dev app, or through the pencil MCP tools
product-design/SKILL.mdthe product section - a fixed system (Inter/Geist, 12/14/16px, one weight, one accent, light and dark verified), product judgment, surfaces, patterns, states, copy, and its own checkerthe surface is a product: app, dashboard, table, form, settings, admin, internal tool

Deeper material sits behind references/systems.md (building a palette from scratch), references/diagnose.md (symptom to fix, load first when improving existing UI), references/techniques.md (depth, light, baseline alignment), and assets/tokens.css (a contrast-verified starting token sheet).


House rules - these outrank every reference in this skill

Stated by the person whose product it is. Where a reference disagrees, the reference is wrong here.

1. Three type sizes per screen. Maximum. Overrides Shift Nudge's "Rule of Four". The eleven-step scale in refactoring-ui.md is the menu you pick from, not the number you may use. Three, chosen from it, on any one screen.

2. No bold. Everything regular or below. Overrides refactoring-ui.md's "two weights is enough: 400/500 body, 600/700 emphasized" and its "nothing below 400 in UI", and overrides Shift Nudge's "Bold to Black" for titles and "bold = active/selected".

3. No italics, in any form. Already refused by the registry, but the ban was named italic-serif-display and only caught the italic class and font-style: italic. It now also catches the <em> and <i> tags, which render italic without ever naming it, and it no longer misfires on Tailwind's not-italic or on <i> carrying an icon-font class. Where <em> was carrying meaning, use <strong> or a colour change. This removes the emphasis channel Shift Nudge's Callouts section reaches for, so callouts fall back to size, case and lock-up.

What this costs, and what carries hierarchy instead

Refactoring UI's central technique is emphasis through weight and color rather than size. Rule 2 removes weight. That is one of three channels gone, so the remaining ones have to do more work, deliberately:

  • Colour becomes the primary emphasis channel. The three-text-colour rule (dark, grey, lighter grey) is now load-bearing, not a refinement. All three still clear 4.5:1.
  • Space is the second. "More space around a group than within it" stops being a tidiness rule and becomes the main way relatedness reads.
  • Size is third and is capped at three steps, so the gaps between those three must be large. Adjacent steps from the scale will not separate.
  • Position and case carry what is left. Same size, different meaning, is signalled by where it sits, not by how heavy it is. Not by slant either, per house rule 3.

Two consequences to design around rather than discover:

  • Interactive text can no longer be signalled by weight. Colour, underline, position or a container must do it. Shift Nudge's own accessibility note already required a second channel beyond colour, so pick that second channel early.
  • bans.md refuses flat-type-hierarchy. Three sizes and one weight makes that ban easy to trip. Passing it now depends entirely on the size gaps and the colour ramp being genuinely distinct. Check it, do not assume it.

In Tailwind: cap the generated ramp by declaring only the three --text-* steps you will use, and only the weights at or below regular. Anything not declared cannot be reached for by reflex.


Order of operations

1. Understand before opening anything. Shift Nudge's 8-step process, step 1. Questions first, tools second. Determine complexity before deciding whether to wireframe.

Then name the surface class. A product (app, dashboard, table, form, settings, admin, internal tool) loads product-design/SKILL.md and follows its order: its fixed system replaces step 2's choices, and its checker is a fourth gate at step 8. A brand or marketing surface stays on this file's flow.

1.5. Search Pinterest, before a single value is chosen. This step is a gate, not advice. Open Pinterest in the browser (claude-in-chrome) and search {subject} {dimension}. Two words. Three only if the third is a noun. Four or more is refused - count them before sending. Refine by clicking Pinterest's own chips, never by lengthening the query. Every extra adjective drags the board: casino typography returns curated boards, casino website design luxury dark interface returns affiliate art, and record sleeve spine typography catalogue number shelf rack returns Etsy.

Log it in the ## Reference section of the project's design.md: the brief, the subject, what the user supplied, every query with the pin URLs copied off the live page, and the extraction table where each borrowed observation became a number. Then run the checker and paste its output:

bash
python3 scripts/validate_reference.py PROJECT

Step 2 does not start until it prints PASS. A reference the user supplied still outranks every pin, but it shrinks the search to one query for what it leaves unanswered, it does not cancel it. No browser, a hurry, or "the brief is obvious" are not waivers. The only waiver is the user saying so, quoted verbatim in a waived: line. Full method and the log format in references/pinterest.md.

2. Set the systems once. Spacing, type, colour, shadow, radius, from refactoring-ui.md. Every value comes off a scale. Picking ad hoc is the single biggest cause of amateur-looking UI, and no amount of later polish recovers it.

3. Install the systems as theme variables, not as classes. This is the seam between the references: refactoring-ui.md and shift-nudge.md decide the number, references/tailwind.md section 1 puts it in @theme so the utilities generate themselves. A value that reaches the markup as an arbitrary literal has escaped the system.

4. Design one real feature, in grayscale, at ~400px. Not the shell. Not the full canvas. Colour comes after the layout works.

5. Build in short design-to-code cycles. Do not componentize until the design is stable.

6. Design every state, not the happy one. Shift Nudge lists them per pattern: inputs get default / hover / focus / typing / error / success / disabled; buttons get press, disabled, destructive, selected; anything user-generated gets its truncation and empty variants. Missing states are the most common handoff failure and the cheapest to catch.

7. Resolve before you expand. When more detail is asked for, raise the resolution of what already exists rather than adding sections, components or adjectives. The test is whether another agent could rebuild the element without seeing the reference and without making a meaningful visual decision of their own. Full standard in references/resolution.md. One surface resolved and gated before the next is started - the doctrine fails under breadth every time.

7b. Decide attention before drawing anything twice. Before a second container reuses a treatment, decide what rank each object holds on this page. The hero object takes the largest type step, the deepest surface and the most room; a footnote takes the smallest of each. A treatment applied to everything is a template, and the three monotony checks below exist because atom-level resolution passes cleanly while a page reads as generated.

8. Run ALL THREE gates before claiming done.

bash
python3 scripts/validate_reference.py PROJECT   # the Pinterest search, again
python3 scripts/validate_bans.py SOURCE
python3 scripts/validate_resolution.py PROJECT
python3 scripts/validate_resolution.py --help   # the design.md spec format

validate_resolution.py fails on surface-monotony (one treatment on >60% of containers), step-monotony (one type step on >55% of sized elements) and rhythm-monotony (<3 vertical rhythms across 5+ sections). These are the measurable shape of "no craft, no visual hierarchy", and they are the checks that catch a build every other gate passes. On product surfaces pass --register product: it skips step-monotony only, because a 12/14/16 system puts most text on one size and carries hierarchy in colour.

A run that ends without all three checkers' output pasted is unfinished, whatever the render looks like. A monotony failure is not a warning. It means the composition was never decided, and no amount of atom-level polish fixes it.

bans.md and the Pinterest search are the two hard gates here. Neither has a justification path: a ban, or the search, lifts on an explicit instruction from the user and nothing else. A run whose output was never pasted into the transcript is unverified regardless of how the render looks.


Where the references genuinely disagree

Everything else in them is compatible. These four are not, and guessing produces work that fails one source while satisfying another.

Grayscale. refactoring-ui.md says design in grayscale first. bans.md says a finished product surface that survives desaturation unchanged has no accent layer and is a rebuild. Not a contradiction: one is a design phase, the other is a ship gate. Grayscale is where you start and never where you end.

Typefaces. refactoring-ui.md is silent on them. shift-nudge.md calls typography the biggest single differentiator. bans.md refuses a named list of overused faces, but on brand surfaces only - it explicitly permits Inter, SF Pro and system stacks on product surfaces. Check which surface class you are on before treating the font ban as active.

Type sizes. refactoring-ui.md gives an eleven-step scale, shift-nudge.md caps a screen at four, the house rule caps it at three. The scale is the menu; the cap is the budget. Both hold at once. On product surfaces the three are fixed at 12/14/16 by the user's instruction. That is closer than bans.md's 1.25x step and passes only through the checker's micro/body exemption (pairs 2px or more apart at 0.70-0.90), so no fourth size fits between them.

Shadows. refactoring-ui.md gives five elevations and a refined two-part variant in references/techniques.md. Use one set or the other, never both in one project. bans.md separately refuses one shadow value repeated across every elevation, which is what happens when neither set was actually adopted.

Weight. Fully resolved by house rule 2 above. No reference wins this one.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọ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ì?

Build and review UI end to end. Carries four bodies of knowledge - Refactoring UI's value systems and hierarchy techniques, Shift Nudge's craft principles and UI patterns, the bans registry of refused artifacts, and total command of Tailwind as the implementation mechanism - plus a product-design section (a fixed 12-16px Inter/Geist system, product judgment, states, copy, patterns) for apps, dashboards, tables, forms and settings. Use when building, styling, reviewing, or auditing any interface - component, page, app, dashboard, landing page - when picking type, spacing, color, shadow or ra...

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/shoryabansalgithub/ui-craft/tree/main/skills/ui-craft. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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.

Bạn 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 shoryabansalgithub 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇