Logo Dryui Build

Dryui Build

Cộng đồng
rob-balfre
dryui-build

Experimental DryUI layout-only skill that extracts responsive page structure from design images as abstract colored blocks with strict shell areas, fixed page container queries, and visual self-checks. Use when testing design-image to layout-skeleton extraction.

Add to TypingMind

Tổng quan

Nhà phát hànhrob-balfre
Kho mãdryui
Tên kỹ năngdryui-build
Sao
9
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được rob-balfre 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 Dryui Build 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/rob-balfre/dryui/tree/main/reports/skill-experiments/2026-05-11/batch-7/v10-consolidated-layout
  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/rob-balfre/dryui.git /tmp/dryui
mkdir -p .claude/skills
cp -r /tmp/dryui/reports/skill-experiments/2026-05-11/batch-7/v10-consolidated-layout .claude/skills/dryui-build
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 Dryui Build 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 Dryui Build 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 Dryui Build 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.

DryUI Layout Blocks: Consolidated

Build only an abstract colored block layout skeleton. This is a layout extraction stage, not a UI implementation.

Only edit:

  • src/routes/+page.svelte
  • src/layout.css

Do not import anything. Do not use DryUI components, Lucide, icons, SVGs, images, charts, tables, forms, buttons, inputs, avatars, realistic widgets, copied text, copied metrics, copied dates, copied names, or generated business data.

1. Classify The Task

  • Full page: build a page shell with topbar/navigation, primary, and optional secondary, utility, rail, summary, actions.
  • Page section: build a section shell with primary and optional adjacent regions.

For full-page design-image references, treat the whole image as the page shell.

2. Blueprint Before Coding

Write the region plan mentally before editing:

  • Mobile: one-column top-to-bottom order.
  • Tablet: first useful two-pane/grouped composition.
  • Desktop: persistent rail/sidebar, right panels, attached panes, dominant primary surface.

Decide:

  • Which region is primary.
  • Whether spacing is contiguous, guttered, or mixed.
  • Which regions are secondary or utility, so they do not become larger than primary.
  • Which visible bands are shell regions versus nested primitives.

3. Use Recipes Only For Proportions

Do not change required area names for a recipe.

  • Dashboard: summary strip, primary chart/workspace, insights/activity.
  • Board/Kanban: board is primary; task detail is secondary; activity is utility; desktop rail if present.
  • CRM: table/pipeline is primary; account/detail is secondary; forecast/activity are utility.
  • Settings/Admin: settings/profile/form stack is primary; help/status/activity are secondary/utility; compact actions; desktop rail if present.
  • Knowledge/Document Reader: reader is primary; collections/list are navigation/secondary; AI summary is secondary/utility; reader must be largest at desktop.

4. Markup Contract

For a full page, use this direct-child shape:

svelte
<main data-layout="<name>-shell">
	<div data-layout-area="page">
		<header data-layout-area="topbar">Topbar</header>
		<nav data-layout-area="navigation">Navigation</nav>
		<section data-layout-area="primary">Primary</section>
		<aside data-layout-area="secondary">Secondary</aside>
	</div>
</main>

Rules:

  • page, primary, and at least one of topbar or navigation are mandatory.
  • Direct-child shell areas may only be: rail, topbar, navigation, summary, primary, secondary, utility, actions.
  • Each shell area should appear once.
  • data-layout-area is shell-only. Use it only on [data-layout-area='page'] and its direct children.
  • Never put data-layout-area on nested spans, nested divs, articles, list items, labels, chips, cards, search placeholders, tabs, badges, rows, columns, or decorative blocks.
  • Nested blocks must use data-layout="<specific-name>" and classes, never data-layout-area.
  • Put recipe-specific meaning in text labels/classes, not direct-child area names.

5. Abstract Block Content

The skeleton should look like colored regions and blocks, not a finished UI.

  • Visible text is restricted to these region labels only: Topbar, Navigation, Rail, Summary, Primary, Secondary, Utility, Actions.
  • Use at most one visible label per shell region.
  • Nested primitives should usually be empty elements.
  • Do not copy visible text from the reference image.
  • Do not create domain labels such as customer names, project names, document titles, settings names, money, dates, percentages, counts, or status text.
  • Represent cards, controls, rows, tabs, charts, documents, columns, and copy as colored rectangles, lines, chips, and blocks.
  • Use repeated abstract primitives to communicate density and grouping.
  • Use distinct color families for region types, but keep the layout readable.

6. CSS Contract: Copy This Shape

Use the fixed container name page. Do not invent another container name.

css
[data-layout='<name>-shell'] {
	container: page / inline-size;
}

[data-layout='<name>-shell'] [data-layout-area='page'] {
	display: grid;
	grid-template-areas:
		'topbar'
		'navigation'
		'primary'
		'secondary';
	grid-template-columns: minmax(0, 1fr);
}

[data-layout='<name>-shell'] [data-layout-area='page'] > [data-layout-area='topbar'] {
	grid-area: topbar;
}

[data-layout='<name>-shell'] [data-layout-area='page'] > [data-layout-area='primary'] {
	grid-area: primary;
}

@container page (min-width: 48rem) {
}

@container page (min-width: 72rem) {
}

Hard rules:

  • container: page / inline-size must appear exactly once on the shell selector.
  • Use exactly @container page (min-width: 48rem).
  • Use exactly @container page (min-width: 72rem).
  • Never use @container <name>, @container (width...), or @container page (width>=...).
  • Any CSS selector that targets a shell area other than page must use [data-layout-area='page'] > [data-layout-area='<area>'].
  • Do not use broad descendant selectors like [data-layout='<name>-shell'] [data-layout-area='primary']; they can accidentally style nested blocks.

7. Layout Rules

  • Mobile is one column only.
  • Tablet must visibly use extra width when the reference has grouped panes.
  • Desktop must preserve the reference shell: rail/sidebar, right inspector, attached panes, and dominant primary surface.
  • Put all display: grid, display: flex, grid, flex, container, and breakpoint rules in src/layout.css.
  • Use minmax(0, 1fr) for flexible tracks.
  • Use only DryUI token gaps such as var(--dry-space-2), var(--dry-space-3), var(--dry-space-4), and var(--dry-space-6).
  • If panes touch in the reference, use gap: 0; if gutters are visible, use token gaps.
  • primary must be the largest or most visually dominant desktop content region.
  • Utility/status/activity blocks must never be larger than primary.
  • Do not create large blank shell regions. Every direct shell area should contain visible blocks near its top edge.
  • Do not let mobile output become a long dump of every desktop primitive; summarize repeated content when the reference collapses.

8. Route Styling Rules

Route <style> is visual only:

  • color, background, border, shadow, typography, padding inside blocks, labels, and min-block-size are allowed.
  • display, grid-*, flex-*, container, @container, and @media are not allowed in route <style>.
  • Keep labels short and generic.
  • Use distinct accessible colors.

9. Visual Self-Check Before Finishing

After bun run build, inspect or reason through the 390px, 820px, and 1440px views:

  • Shell regions change shape at the two container breakpoints.
  • The primary region is visibly dominant on desktop.
  • Navigation/rail and right-side utility panels attach in the same broad positions as the reference.
  • No large blank region appears before the real content.
  • No nested primitive is accidentally sized like a shell area.
  • Text does not wrap awkwardly; if a label is unnecessary, remove it.

10. Source Self-Check Before Finishing

Run bun run build, then check:

  • No import in src/routes/+page.svelte.
  • No @dryui/ui, lucide, <button>, <input>, <form>, <table>, <img>, or <svg>.
  • No copied text, numbers, dates, customer names, document titles, metrics, or statuses from the reference.
  • No @media.
  • No display, grid-*, flex-*, or @container in route <style>.
  • src/layout.css contains exact container: page / inline-size.
  • src/layout.css contains exact @container page (min-width: 48rem) and @container page (min-width: 72rem).
  • Full page has exactly one direct child data-layout-area="primary".
  • No nested primitive uses data-layout-area.
  • 390px, 820px, and 1440px should not overflow horizontally or show a large blank shell region.

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

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

Experimental DryUI layout-only skill that extracts responsive page structure from design images as abstract colored blocks with strict shell areas, fixed page container queries, and visual self-checks. Use when testing design-image to layout-skeleton extraction.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rob-balfre/dryui/tree/main/reports/skill-experiments/2026-05-11/batch-7/v10-consolidated-layout. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Dryui Build?

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

Có. Kỹ năng này được rob-balfre phát hành trên GitHub theo giấy phép MIT. 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 👇