Logo Frontend Design

Frontend Design

Cộng đồng
Rylaispirit
frontend-design

Thiết kế, triển khai và kiểm thử giao diện frontend sẵn sàng cho môi trường production, đồng thời tuân thủ cấu trúc repository hiện có, khả năng truy cập, tính thích ứng, tương tác và quy trình kiểm tra chất lượng hình ảnh.

Add to TypingMind

Tổng quan

Nhà phát hànhRylaispirit
Kho mãrylai-codex-hermes-skills
Tên kỹ năngfrontend-design
Sao
63
Bản fork
42
Tệp đi kèm
1
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ộ.

  • 1 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 Rylaispirit 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 Frontend Design 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/Rylaispirit/rylai-codex-hermes-skills/tree/main/skills/frontend-design
  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/Rylaispirit/rylai-codex-hermes-skills.git /tmp/rylai-codex-hermes-skills
mkdir -p .claude/skills
cp -r /tmp/rylai-codex-hermes-skills/skills/frontend-design .claude/skills/frontend-design
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 Frontend Design 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 Frontend Design 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 Frontend Design 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.

Frontend Design

This skill is a practical build workflow maintained and adapted by Rylai for Codex, Hermes, and Claude. Its goal is a usable, coherent interface that survives real content, real interaction, and real viewport changes.

Runtime Contract

  • Work inside the user's existing repository when one is provided.
  • Follow higher-priority project instructions and established design tokens.
  • Reuse the installed framework, component library, and icon set when suitable.
  • Resolve files relative to this skill or the active project, never a private path from another machine.
  • Check tool and package availability before relying on them.
  • Use the runtime's browser, screenshot, and image-generation capabilities by their local names.

Required Outcome

A finished interface must:

  • perform the requested workflow rather than merely illustrate it;
  • preserve or deliberately extend the product's visual language;
  • support keyboard, pointer, touch, zoom, and reduced-motion use;
  • remain readable from narrow mobile screens through wide desktop screens;
  • expose loading, empty, error, disabled, success, and destructive states when the workflow can reach them;
  • avoid layout shifts caused by labels, icons, validation text, or late data;
  • be verified in a real browser before completion is reported.

Workflow

1. Inspect Before Designing

Read the relevant routes, components, styles, assets, package manifest, and tests. Identify:

  • the user and their main task;
  • the current navigation and information hierarchy;
  • reusable components and tokens;
  • framework and build constraints;
  • nearby screens that establish product conventions;
  • existing user changes that must remain intact.

For a reference image or existing page, separate structural facts from decorative details. Record the important relationships: hierarchy, alignment, density, rhythm, image treatment, interaction priority, and responsive intent.

2. Define the Experience

Write a short internal brief before editing:

  • Primary task: what the user must accomplish.
  • Priority content: what must be visible first.
  • Interaction path: the shortest reliable path through the task.
  • Visual character: a few concrete qualities tied to the domain.
  • Constraints: framework, data, accessibility, performance, and deadlines.
  • Proof: which interactions and viewports will demonstrate completion.

Do not add a marketing introduction when the request is for a working tool. Start with the actual product surface.

3. Plan the Screen Structure

Choose the smallest structure that supports the workflow:

  • persistent navigation only when users need repeated movement;
  • toolbars for frequent commands;
  • tabs for peer views;
  • menus for compact option sets;
  • dialogs for focused, reversible interruption;
  • cards only for genuinely repeated, self-contained items;
  • tables or aligned lists when comparison matters.

Map each important action to a visible control. Prefer familiar icons for common tool actions and provide an accessible name or tooltip when the meaning is not obvious.

4. Establish the Visual System

Derive a small set of reusable decisions:

  • typography roles for display, section, body, label, and data text;
  • spacing steps and content width;
  • surface, border, text, accent, success, warning, and danger colors;
  • corner radius and elevation rules;
  • stable sizes for controls, rows, panels, and fixed-format content;
  • focus, hover, pressed, selected, and disabled treatments.

Use color to express hierarchy and state. Do not let one hue dominate every surface. Choose imagery and illustration that reveal the actual product, subject, or task rather than acting as unrelated atmosphere.

5. Implement the Core Path

Build the semantic structure first, then styling, then motion. Keep state close to the component that owns it unless the repository has an established state pattern. Prefer existing helpers and native platform behavior over new abstractions.

The primary path must be functional. Connect real data when the project provides it; otherwise use explicit local fixtures that can be replaced without rewriting the component.

6. Complete Interaction States

For every interactive control, verify:

  • pointer and keyboard activation;
  • visible focus;
  • disabled behavior;
  • progress feedback for delayed actions;
  • validation near the field or action that caused it;
  • recovery guidance for failures;
  • confirmation for destructive or irreversible actions;
  • stable geometry while labels and messages change.

Do not leave controls that look clickable but perform no action.

7. Make Responsiveness Intentional

Design responsive behavior from content pressure, not device labels.

  • Let grids reduce columns before content becomes cramped.
  • Allow toolbars to wrap, collapse, or move secondary actions into a menu.
  • Preserve the primary action and essential context on small screens.
  • Give tables an explicit narrow-screen strategy: horizontal scroll, selected columns, stacked records, or a detail view.
  • Use minmax(), clamp() for dimensions, aspect-ratio, and bounded containers where they prevent layout drift.
  • Wrap long labels and test unusually long values.

Check at least one narrow mobile width, one tablet-like width, and one desktop width. Add a wide-screen check for dense dashboards or full-bleed media.

8. Apply Accessibility

Use semantic HTML before ARIA. Confirm:

  • one clear page heading and logical heading order;
  • labels for inputs and accessible names for icon controls;
  • keyboard traversal that follows the visible reading order;
  • focus that is never hidden by overlays or sticky regions;
  • sufficient text and control contrast;
  • status messages announced when needed;
  • dialogs that manage focus and close predictably;
  • meaningful alternative text for informative images;
  • decorative images excluded from assistive output;
  • no information conveyed by color alone;
  • motion reduced when the user requests it;
  • content remains usable at browser zoom.

Use automated checks as a supplement to keyboard and visual inspection.

9. Control Performance

  • Avoid shipping large media when a smaller representation is enough.
  • Reserve dimensions for images and asynchronous content.
  • Lazy-load below-the-fold media when appropriate.
  • Keep animation on opacity and transforms when possible.
  • Avoid unnecessary rerenders and broad dependency additions.
  • Respect the project's established bundling and data-fetching strategy.

10. Verify in a Browser

Run the project's normal checks, start the appropriate local server, and inspect the interface in a real browser.

Verification should cover:

  1. initial render and console output;
  2. the full primary interaction path;
  3. loading, empty, error, and success states;
  4. keyboard navigation and visible focus;
  5. narrow, medium, desktop, and relevant wide viewports;
  6. long content, validation messages, and overflow;
  7. screenshots for visual comparison and overlap detection;
  8. production build or equivalent repository check.

When a visual reference exists, compare screenshots against it and correct hierarchy, spacing, scale, cropping, and alignment. Do not claim fidelity from code inspection alone.

Domain Modes

Operational Products

Favor scanability, predictable navigation, compact controls, clear status, and fast repeated action. Dashboards, CRMs, editors, and admin tools should spend space on useful information rather than decorative introductions.

Content and Editorial Experiences

Prioritize reading rhythm, meaningful imagery, clear sequencing, and restrained navigation. Preserve enough visible continuation that users understand there is more content below the first viewport.

Brand and Product Pages

Make the brand, product, place, or person unmistakable in the first viewport. Use real or generated bitmap media that shows the subject clearly. Supporting copy explains value; the main heading names the offer or subject.

Games and Creative Tools

Allow stronger motion and illustration, but keep controls learnable and state legible. Use a proven engine for established game rules, physics, parsing, or 3D behavior when the project permits it.

Completion Gate

Before finishing, confirm:

  • the requested workflow works end to end;
  • no unrelated files were changed;
  • no visible element overlaps or clips at tested widths;
  • text fits controls and containers with realistic long content;
  • controls have complete states and accessible names;
  • keyboard and reduced-motion behavior are usable;
  • the browser console has no new actionable errors;
  • tests and the production build pass, or limitations are reported precisely;
  • screenshots represent the final implementation, not an earlier draft.

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

Thiết kế, triển khai và kiểm thử giao diện frontend sẵn sàng cho môi trường production, đồng thời tuân thủ cấu trúc repository hiện có, khả năng truy cập, tính thích ứng, tương tác và quy trình kiểm tra chất lượng hình ảnh.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/main/skills/frontend-design. 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 Frontend Design?

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

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