Logo Dryui Build

Dryui Build

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

Experimental DryUI page-layout skill that builds colored block page prototypes with mobile-first container queries. Use when testing page layout, responsive regions, dashboards, shells, or full-page structure before detailed UI styling.

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-5/page-layout-blocks
  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-5/page-layout-blocks .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 Page Layout Blocks

This experimental skill only proves page structure. Build labelled colored blocks that represent page regions. Do not build a polished UI, charts, product cards, photos, or final component styling unless the user explicitly asks after the layout passes.

Output

Edit only:

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

The page must communicate structure through block labels such as Header, Navigation, KPI Strip, Primary Workspace, Secondary Panel, Activity List, and Footer.

Do not import anything for this prototype. No @dryui/ui, no Lucide icons, no app icons, no chart/table widgets, and no component libraries. Use only native semantic HTML elements and CSS.

Construction Order

  1. Decide whether the request is a full page or a section.
  2. If a design, screenshot, mockup, or reference image is supplied, decide the section spacing mode before markup: contiguous or guttered.
  3. For a full page, create exactly one page shell: <main data-layout="<name>-shell">.
  4. Put one direct child inside the shell: <div data-layout-area="page">.
  5. Add semantic child regions with data-layout-area, not generic wrappers.
  6. Put all grid/flex/container rules in src/layout.css.
  7. Put only block color, borders, text color, and typography in the route <style> block.

Section Spacing Decision

Before writing layout CSS, inspect the handed design:

  • If adjacent page sections touch edge-to-edge, use spacing=contiguous.
  • If the design shows visible gutters, page padding, or white space between regions, use spacing=guttered.
  • If no design is supplied, default to spacing=guttered for readability.

For spacing=contiguous:

  • Do not add visible white gaps between grid sections.
  • Set the page grid gap: 0.
  • Set page padding to 0 unless the reference shows an outer margin.
  • Do not let the shell/body background show between colored regions.
  • Use borders or internal block color contrast only when the reference shows seams or dividers.

For spacing=guttered:

  • Use tokenized gaps such as gap: var(--dry-space-4).
  • Use tokenized page padding when the reference shows an outer margin.

Preserve the chosen spacing mode across mobile, tablet, and desktop unless the supplied design clearly changes spacing at a breakpoint.

Required Container Pattern

Every full page must use this pattern in src/layout.css:

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

[data-layout='<name>-shell'] [data-layout-area='page'] {
	display: grid;
	grid-template-areas:
		'header'
		'navigation'
		'summary'
		'primary'
		'secondary'
		'list'
		'footer';
	gap: 0; /* contiguous designs */
	padding: 0; /* use tokenized padding only when the design shows outer gutters */
}

@container <name> (min-width: 48rem) {
	/* tablet changes */
}

@container <name> (min-width: 72rem) {
	/* desktop changes */
}

Use the actual page name instead of <name>. Rename areas when the task needs different regions, but keep the same mobile-first pattern.

If spacing=guttered, replace the example gap and padding with tokenized spacing that matches the reference design. If spacing=contiguous, keep gap: 0 and avoid padding that creates unintended background strips.

Mobile Rules

  • The base layout is mobile.
  • The base grid-template-areas must be one column only.
  • Do not put a sidebar beside content in the base layout.
  • Do not use grid-template-columns with multiple columns in the base page rule.
  • Navigation is a stacked/top region on mobile. It may become a sidebar only inside the desktop @container.
  • Use minmax(0, 1fr) in tablet/desktop grid tracks that hold content.

Tablet Rules

Inside @container <name> (min-width: 48rem):

  • Use the extra width deliberately.
  • Summary/KPI blocks may become two columns.
  • Primary and secondary regions may sit side by side if both remain readable.
  • Do not introduce a permanent sidebar yet unless the page is explicitly navigation-heavy.

Desktop Rules

Inside @container <name> (min-width: 72rem):

  • Use named grid areas to create the desktop composition.
  • A navigation/sidebar column is allowed here, not before.
  • Keep the primary work region visually dominant.
  • Avoid full-width KPI bands that push the primary work surface too low.

Block Styling Rules

In the route <style> block:

  • Use distinct fixed block colors so visual screenshots reveal the layout immediately.
  • Keep labels readable on every block.
  • Use simple native elements only: section, header, nav, aside, footer, p, strong.
  • Do not use icons, SVGs, images, component imports, or decorative UI details.
  • Do not use raw hex values that are too close in lightness for adjacent blocks.
  • Do not rely on dark mode. This prototype may be light-only.

Failure Gates

Before finishing, inspect your own files. Treat any item below as a failure to fix:

  • src/layout.css has container: but no @container.
  • src/layout.css has fewer than two @container blocks for a full page.
  • The base page grid has more than one area name in any row.
  • A sidebar/content two-column layout appears outside a desktop @container.
  • @media is used for layout.
  • The page has horizontal overflow at 390px.
  • Any region label is clipped or unreadable at 390px, 820px, or 1440px.
  • A contiguous reference design produces visible white/body-background gaps between sections.
  • A guttered reference design loses its intended breathing room or outer margin.
  • src/routes/+page.svelte contains an import statement.
  • The prototype uses icons, images, charts, cards, forms, or final UI widgets instead of labelled layout blocks.

Visual Check

For visual work, check screenshots at:

  • 390px mobile
  • 820px tablet
  • 1440px desktop

Pass only if the screenshots show three visibly different, coherent layouts with no horizontal overflow or clipped labels.

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

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

Experimental DryUI page-layout skill that builds colored block page prototypes with mobile-first container queries. Use when testing page layout, responsive regions, dashboards, shells, or full-page structure before detailed UI styling.

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-5/page-layout-blocks. 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 👇