Logo Frontend Design

Frontend Design

Cộng đồng
dobromirdikov
frontend-design

Use when Codex needs to design, build, polish, or substantially redesign frontend UI: landing pages, websites, dashboards, web apps, components, prototypes, games, or visual QA for local interfaces where distinctive production-grade design matters.

Tổng quan

Nhà phát hànhdobromirdikov
Kho mãcodex-frontend-design-skill
Tên kỹ năngfrontend-design
Sao
3
Bản fork
0
Tệp đi kèm
1
Giấy phépApache-2.0
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 dobromirdikov 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/dobromirdikov/codex-frontend-design-skill/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/dobromirdikov/codex-frontend-design-skill.git /tmp/codex-frontend-design-skill
mkdir -p .claude/skills
cp -r /tmp/codex-frontend-design-skill/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

Derived from Anthropic's frontend-design skill in anthropics/claude-plugins-official, licensed under Apache License 2.0. Modified for Codex with broader trigger wording, landing page rules, UI anti-patterns, asset guidance, and browser-based visual QA.

Create distinctive, production-grade frontend interfaces that avoid generic AI aesthetics. Implement real working code with strong attention to visual direction, layout, typography, assets, interaction design, responsiveness, and verification.

The user may ask for a component, page, application, or interface. They may include context about purpose, audience, brand, framework, or technical constraints.

Workflow

  1. Read the request and existing codebase conventions before choosing a direction.
  2. Commit to a concrete visual concept that fits the product, audience, and domain. Examples: editorial finance terminal, Swiss industrial SaaS, luxury hospitality, playful learning lab, cinematic game HUD.
  3. Implement the actual usable screen or flow first; do not substitute a marketing shell for an app, tool, or game.
  4. Use real, generated, or domain-relevant visual assets when imagery would materially improve the result.
  5. Make the interface responsive, accessible, and durable against text overflow, loading states, hover states, and narrow viewports.
  6. Run the app locally when needed, inspect desktop and mobile layouts in a browser, fix visible defects, and check console errors before calling the work done.

Design Thinking

Before coding, understand the context and commit to a clear aesthetic direction:

  • Purpose: Identify the problem the interface solves and who uses it.
  • Tone: Pick a concrete direction such as brutally minimal, maximalist, retro-futuristic, organic, luxury, playful, editorial, brutalist, art deco, soft, industrial, or another style that fits the request.
  • Constraints: Respect framework, performance, accessibility, responsive behavior, and existing project conventions.
  • Differentiation: Decide what should make the interface memorable.

Choose a specific concept and execute it with precision. Bold maximalism and refined minimalism can both work; intentionality matters more than intensity.

Then implement working code that is:

  • Production-grade and functional.
  • Visually striking and memorable.
  • Cohesive with a clear point of view.
  • Refined in typography, spacing, color, motion, and interaction states.

Landing Page Rules

  • Make the brand, product, venue, person, or offer obvious in the first viewport.
  • Use the H1 for the literal product, brand, person, place, offer, or category. Put value propositions in supporting copy.
  • Avoid the default split hero with text on one side and a decorative card or mockup on the other unless it is clearly the strongest domain-specific choice.
  • Use a relevant image, generated bitmap, product screenshot, immersive scene, or real media when the page benefits from visual proof.
  • Let the first viewport hint at the next section on desktop and mobile instead of making the hero feel like a sealed poster.
  • Write concrete, domain-specific copy. Avoid empty SaaS phrases like "transform your workflow", "unlock your potential", and "seamless experience".

UI Type Fit

  • For apps, dashboards, editors, CRMs, and operational tools, prioritize dense scanning, predictable controls, and repeated-use ergonomics over marketing composition.
  • For games, creative tools, portfolios, venues, and consumer products, allow stronger art direction, motion, atmosphere, and custom interaction.
  • For redesigns inside an existing product, preserve useful conventions and improve the weakest visible surfaces first.

Frontend Aesthetics Guidelines

  • Typography: Choose fonts that feel deliberate and domain-appropriate. Avoid defaulting to Arial, Inter, Roboto, or system fonts unless the existing product already depends on them. Pair a distinctive display font with a refined body font when appropriate.
  • Color and theme: Commit to a cohesive palette. Use CSS variables for consistency. Prefer clear dominant colors with sharp accents over timid, evenly distributed palettes.
  • Motion: Use animation for meaningful effects and micro-interactions. Prefer CSS-only motion for static HTML. Use a motion library in React only when already available or clearly warranted. One well-orchestrated reveal often beats scattered effects.
  • Spatial composition: Use layout deliberately: asymmetry, overlap, diagonal flow, grid-breaking elements, generous negative space, or controlled density when they match the concept.
  • Assets and imagery: Prefer images, video, generated bitmap visuals, product screenshots, maps, textures, or domain-specific graphics when they reveal the thing being sold, used, played, or inspected. Avoid decorative SVG filler when a real or generated image would carry the design better.
  • Background and details: Create atmosphere and depth without relying on generic decoration. Use textures, patterns, layered transparency, shadows, borders, cursors, or grain only when they support the chosen style.
  • Controls and affordances: Use familiar controls and icons for actions. Buttons, tabs, toggles, sliders, menus, toolbars, and cards should match the task density and domain instead of defaulting to oversized SaaS blocks.
  • Responsive polish: Define stable dimensions for fixed-format elements, prevent text overlap, verify mobile layouts, and avoid viewport-scaled font sizes that break composition.

Avoid generic AI-generated aesthetics: overused font choices, purple gradients on white, predictable card grids, cookie-cutter SaaS sections, and design choices that do not connect to the domain.

Vary designs across tasks. Do not repeatedly converge on the same typefaces, palettes, layout structures, or effects.

Design Anti-Patterns

Avoid these unless the user explicitly asks for them or the existing product requires them:

  • Purple-blue gradients on white, decorative blobs, bokeh, floating orbs, and generic mesh backgrounds.
  • Centered SaaS hero, three-card feature grid, logo cloud, testimonial blocks, and FAQ sections used without domain-specific content.
  • Inter-only typography, oversized rounded cards, low-contrast gray text, and button labels that wrap awkwardly.
  • Fake dashboard screenshots with meaningless charts, placeholder names, or numbers that do not fit the product.
  • In-app text that explains the UI's features, visual style, or keyboard shortcuts instead of making the interface self-evident.

Implementation Standard

Match complexity to the aesthetic vision. Maximalist designs may need more elaborate effects and layered composition. Minimal or refined designs need restraint, precise spacing, careful type scale, and subtle states.

When working in an existing codebase, preserve established architecture and component patterns unless the request is specifically to redesign them. Keep accessibility, responsiveness, performance, and maintainability in scope.

Visual QA Checklist

Before finishing substantial frontend work, verify the rendered result in a browser:

  • Check desktop around 1440px wide, tablet around 768px, and mobile around 390px when the app can run locally.
  • Fix console errors, blank renders, clipped text, overlapping UI, broken assets, unreadable contrast, awkward first-viewport composition, and broken mobile navigation.
  • Confirm primary imagery loads, is framed intentionally, and reveals the real product, place, state, gameplay, or subject.
  • Confirm all important text fits its container and remains readable across the tested widths.
  • Confirm hover, focus, active, empty, loading, and error states for controls touched by the work.

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ì?

Use when Codex needs to design, build, polish, or substantially redesign frontend UI: landing pages, websites, dashboards, web apps, components, prototypes, games, or visual QA for local interfaces where distinctive production-grade design matters.

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/dobromirdikov/codex-frontend-design-skill/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 dobromirdikov phát hành trên GitHub theo giấy phép Apache-2.0. 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 👇