Frontend Design 标志

Frontend Design

社区
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

概览

发布者Houseofmvps
代码仓库ultraship
技能名称frontend-design
星标数
122
复刻数
14
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Houseofmvps 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Frontend Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Houseofmvps/ultraship/tree/main/skills/frontend-design
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Frontend Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Frontend Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Frontend Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

常见问题

Frontend Design AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Frontend Design?

因为您只需安装一次,就能搭配任何模型使用。Frontend Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Frontend Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Houseofmvps/ultraship/tree/main/skills/frontend-design。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Frontend Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Frontend Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Frontend Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Frontend Design AI 技能免费吗?

是的。Houseofmvps 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇