Logo Frontend Design

Frontend Design

Cộng đồng
Houseofmvps
frontend-design

Create distinctive, production-grade frontend interfaces with top-tier product design and UI/UX quality. Use this skill when the user asks to build web components, pages, or applications. Combines product thinking, UX discipline, and creative visual design.

Add to TypingMind

Tổng quan

Nhà phát hànhHouseofmvps
Kho mãultraship
Tên kỹ năngfrontend-design
Sao
122
Bản fork
14
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 Houseofmvps 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/Houseofmvps/ultraship/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/Houseofmvps/ultraship.git /tmp/ultraship
mkdir -p .claude/skills
cp -r /tmp/ultraship/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.

This skill combines three disciplines: product design (does it solve the right problem?), UX design (can users accomplish their goals without friction?), and visual design (is it distinctive and polished?). All three must be present. Beautiful but unusable is a failure. Usable but ugly is a failure. Both beautiful and usable but solving the wrong problem is the worst failure.

The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.

Product Design Thinking

Before touching aesthetics, think like a product designer:

1. User Intent

  • What is the user trying to accomplish on this page/component?
  • What is the ONE primary action? (every screen has one — if you can't identify it, the design is confused)
  • What information does the user need to make a decision? Show that, hide everything else.

2. Information Hierarchy

  • What should the user see FIRST? (headline, hero, key metric, CTA)
  • What should they see SECOND? (supporting evidence, features, social proof)
  • What can they discover on scroll or click? (details, secondary actions, edge cases)
  • Apply the 5-second test: if someone sees this page for 5 seconds, do they know what it does and what to do next?

3. Conversion Design

  • Every page has a goal. What is it? (signup, purchase, upgrade, share, learn)
  • Is the primary CTA visible without scrolling?
  • Is there a clear value proposition above the fold?
  • Are there unnecessary choices that create decision paralysis? Reduce them.
  • Does the page have social proof near the CTA? (testimonials, user count, logos, ratings)

4. User Psychology

  • Cognitive load: Fewer choices = more action. Hick's Law — every option added increases decision time.
  • Loss aversion: "Don't lose your progress" converts better than "Save your progress."
  • Anchoring: Show the recommended plan in the middle. Show the expensive plan first so the middle feels reasonable.
  • Social proof: "2,847 teams use this" near the signup button. Specific numbers beat vague claims.
  • Progress indication: Show users where they are in multi-step flows. Completion drives commitment.

UX Design Discipline

Interaction Design:

  • Every interactive element must have 4 states: default, hover, active, disabled. Missing states feel broken.
  • Loading states for every async operation. Show skeleton screens, not spinners (skeletons preserve layout and feel faster).
  • Empty states with actionable guidance ("No projects yet. Create your first one."), not blank screens.
  • Error states that explain what went wrong AND how to fix it. "Something went wrong" is not a UX — it's giving up.
  • Success states with clear next-step guidance. "Saved!" then what? Guide the user forward.

Navigation & Wayfinding:

  • Users should always know: where they are, where they can go, and how to get back.
  • Breadcrumbs for deep hierarchies. Active state on current nav item. Back buttons that go where expected.
  • Mobile navigation: hamburger menu for secondary pages, bottom tab bar for primary actions (thumb zone).
  • Maximum 7 items in any navigation level (Miller's Law). More than 7 = reorganize, don't scroll.

Form Design (where most UX fails):

  • One column. Always. Two-column forms have measurably lower completion rates.
  • Labels above fields, not inside (placeholder text disappears on focus — users forget what the field is for).
  • Inline validation on blur, not on every keystroke. Show errors next to the field, not in a banner at the top.
  • Auto-focus the first field. Auto-advance in multi-step flows. Pre-fill what you can.
  • Submit buttons that say what they do ("Create Account") not generic ("Submit").
  • Show password requirements BEFORE the user types, not after they fail validation.

Accessibility (not optional):

  • Semantic HTML: <button> for actions, <a> for navigation, <nav>, <main>, <header>, <footer>.
  • Color contrast: 4.5:1 minimum for text, 3:1 for large text and UI components (WCAG AA).
  • Keyboard navigation: every interactive element reachable via Tab. Focus ring visible. Escape closes modals.
  • Screen reader support: aria-label on icon-only buttons, aria-live for dynamic content, alt text on meaningful images, role on custom widgets.
  • Touch targets: minimum 44x44px on mobile (Apple HIG). Don't make users precision-tap.
  • Motion: respect prefers-reduced-motion. Provide alternatives for animation-dependent interfaces.

Responsive Design:

  • Design mobile-first, then scale up. Not the other way around.
  • Breakpoints: 640px (mobile), 768px (tablet), 1024px (desktop), 1280px (wide). Use your framework's system.
  • Touch interactions on mobile, hover interactions on desktop. Don't rely on hover for critical functionality.
  • Typography scales: smaller on mobile, larger on desktop. Use clamp() for fluid sizing.
  • Images: serve appropriate sizes. A 2400px hero image on a 375px phone is a performance crime.

Performance as UX:

  • A page that loads in 1s feels instant. 3s feels slow. 5s and users leave.
  • Lazy load below-the-fold images and components.
  • Defer non-critical JavaScript. Inline critical CSS.
  • Skeleton screens for data-dependent sections — they make perceived load time 30% faster.
  • Measure: if Lighthouse performance is below 80, the UX is degraded regardless of how good it looks.

Visual Design — The Aesthetic Direction

Before coding, commit to a BOLD aesthetic direction:

  • Tone: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
  • Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?

CRITICAL: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.

Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:

  • Production-grade and functional
  • Visually striking and memorable
  • Cohesive with a clear aesthetic point-of-view
  • Meticulously refined in every detail

Frontend Aesthetics Guidelines

Focus on:

  • Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
  • Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Define a complete token set for every project — not just "pick 3 colors":
    • --primary, --on-primary (text color on primary background)
    • --secondary, --on-secondary
    • --accent (sparingly — one highlight color)
    • --background, --foreground (page-level)
    • --card, --card-foreground (elevated surfaces)
    • --muted, --muted-foreground (subdued elements)
    • --border, --ring (focus rings)
    • --destructive, --on-destructive (danger actions)
    • Both light and dark theme values. Test both themes before delivery.
  • Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
    • Timing specifics: Enter animations 200-300ms. Exit animations 60-70% of enter duration (120-200ms). Stagger 30-50ms per item. Spring physics (damping, stiffness) produce more natural motion than cubic-bezier.
    • What to animate: opacity + transform only (these are GPU-composited, zero layout cost). Never animate width, height, top, left, margin, or padding — these trigger layout recalculation on every frame.
    • Scroll animations: use IntersectionObserver, not scroll event listeners. Scroll events fire 60+ times per second and cause jank.
  • Spatial Composition: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
  • Backgrounds & Visual Details: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.

NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.

Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.

IMPORTANT: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.

Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

Industry-Specific Design Rules

Different products demand different design treatment. A playful style that works for a consumer app would destroy trust on a banking site. Apply the right constraints based on what you're building:

Product TypeRecommended ToneAnti-Patterns (NEVER do these)
SaaS / Developer ToolsClean, functional, data-dense. Let the product speak.Excessive animation, marketing fluff in the dashboard, hiding information behind clicks
Fintech / BankingTrust, stability, clarity. Conservative color palette.Playful design, unclear fee structures, AI purple/pink gradients, gamification of money
Healthcare / MedicalCalm, accessible, high-contrast. Large type.Dark themes by default, tiny touch targets, complex navigation, red as primary color
E-commerceFast, scannable, image-forward. Clear pricing.Slow image loading, hidden shipping costs, confusing checkout flows, too many CTAs per page
Education / EdTechEncouraging, structured, progressive disclosure.Overwhelming information density, punitive error feedback, unlabeled icons
Creative / PortfolioBold, expressive, showcase-oriented.Generic templates, stock photography, cookie-cutter layouts
Enterprise / B2BProfessional, efficient, data-rich. Dense but organized.Consumer-style playfulness, unnecessary illustrations, hiding complexity users need
Social / CommunityWarm, engaging, content-first.Corporate tone, small text, difficult sharing flows
Legal / GovernmentAccessible, plain-language, high-contrast, serious.Trendy design, glassmorphism, dark mode without light alternative, small touch targets
Kids / GamingVibrant, tactile, rewarding, large targets.Small text, complex navigation, subtle interactions, muted palettes

When the user describes what they're building, match the design constraints to the domain. Don't apply one-size-fits-all aesthetics.

Spacing & Layout System

Consistent spacing prevents "something looks off" syndrome:

  • Use an 8px grid for all spacing (8, 16, 24, 32, 48, 64, 96px). Every margin, padding, and gap should be a multiple of 8.
  • Component internal padding: 12-16px for small components, 16-24px for medium, 24-32px for large.
  • Section spacing: 64-96px between major page sections. 32-48px between sub-sections.
  • Card padding: Consistent within a page. Don't mix 12px padding and 24px padding on cards at the same level.
  • Line height: 1.5 for body text, 1.2-1.3 for headings. Never 1.0 — it's unreadable.

Page-Specific UX Patterns

A top product designer knows that different page types have different UX requirements. Apply these patterns based on what you're building:

Landing Pages:

  • Hero section: headline (6-12 words), subhead (1-2 sentences), primary CTA, visual. Nothing else above the fold.
  • Social proof within 1 scroll of the CTA (logos, testimonials, user count)
  • Feature sections: benefit-first headlines ("Ship 3x faster" not "AI-powered automation")
  • Pricing: highlight recommended plan, show annual savings, FAQ near pricing to reduce objections
  • Footer CTA: repeat the primary action. Users who scroll to the bottom are interested — don't lose them.

Dashboards:

  • Key metrics visible at a glance (top of page, card layout, large numbers)
  • Actions grouped by frequency: daily actions prominent, weekly/monthly actions in sidebar or secondary nav
  • Data tables: sortable, filterable, searchable. Pagination for >20 rows. Bulk actions if relevant.
  • Status indicators: color-coded (green/yellow/red), with text labels (don't rely on color alone — accessibility)
  • Empty states that guide: "No data yet. Here's how to get started: [steps]"

Settings Pages:

  • Group by category, not alphabetically. Users think in domains ("notifications", "billing") not letters.
  • Save on change for toggles/dropdowns. Explicit save button for text fields.
  • Destructive actions (delete account, revoke API key) require confirmation and are visually distinct (red, separated)
  • Show current state clearly. "Email notifications: ON" not just a toggle with no label.

Onboarding Flows:

  • Progress bar showing step X of Y. Never hide how many steps remain.
  • One question per screen. Don't overwhelm on step 1.
  • Allow skip where possible. Forced onboarding has higher drop-off than optional onboarding.
  • Show value at each step: "This helps us personalize your experience" not just "Enter your company name"
  • Celebrate completion. A small animation or congratulations screen improves activation rates.

Pricing Pages:

  • 3 tiers maximum. More than 3 creates decision paralysis.
  • Recommended tier visually emphasized (larger card, "Most Popular" badge, different color)
  • Feature comparison table below the cards for detail-oriented buyers
  • Annual vs monthly toggle with savings shown ("Save 20%")
  • FAQ section addressing common objections (refund policy, upgrade/downgrade, what happens when trial ends)

Design Quality Checklist

Before marking any frontend work as complete:

Functionality:

  • Primary action is immediately obvious (5-second test)
  • All interactive elements have hover, active, focus, and disabled states
  • Loading states use skeleton screens, not spinners (for data-dependent content)
  • Empty states include actionable guidance
  • Error states explain what went wrong AND how to fix it
  • Success states guide to the next action

Accessibility:

  • Color contrast meets WCAG AA (4.5:1 for text, 3:1 for large text and UI elements)
  • Keyboard navigation works (Tab through all interactive elements, visible focus ring)
  • Screen reader: aria-label on icon buttons, alt on images, semantic HTML elements
  • Touch targets are 44x44px minimum on mobile
  • prefers-reduced-motion respected — no motion-dependent functionality

Responsiveness:

  • Mobile responsive (test at 375px, 768px, 1024px, 1280px)
  • No horizontal scroll on any viewport
  • Typography scales appropriately (not too small on mobile, not too large on desktop)
  • Images serve appropriate sizes per viewport

Visual Consistency:

  • 8px spacing grid maintained throughout
  • Color tokens used consistently (no hardcoded hex values)
  • Typography hierarchy is clear (one H1, logical heading order)
  • Both light and dark themes tested (if applicable)
  • No layout shift on page load (CLS score)
  • Animations are 200-300ms enter, 120-200ms exit, GPU-composited properties only

Production Readiness:

  • No placeholder text or Lorem ipsum
  • No TODO comments in the UI code
  • All links point to real destinations (no href="#")
  • Favicon and OG tags present
  • Lighthouse performance > 80

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

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

Create distinctive, production-grade frontend interfaces with top-tier product design and UI/UX quality. Use this skill when the user asks to build web components, pages, or applications. Combines product thinking, UX discipline, and creative visual design.

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/Houseofmvps/ultraship/tree/main/skills/frontend-design. 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 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 Houseofmvps 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 👇