Frontend Design 标志

Frontend Design

社区
AkyRayy
frontend-design

Design-quality skill for AI agents building websites, landing pages, and web app UI. Use whenever creating or restyling any web interface that must read as designed by a senior designer, not generated. Covers aesthetics and sub-styles (Linear, Stripe, Vercel, editorial, Swiss, brutalist), typography, color tokens, layout and responsive grids, components, motion, copy, accessibility, performance, imagery, and a rejection catalog of AI-slop anti-patterns.

概览

发布者AkyRayy
代码仓库Frontend-Design-SKILLS-for-AI
技能名称frontend-design
星标数
16
复刻数
3
附带文件
33
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 33 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AkyRayy/Frontend-Design-SKILLS-for-AI.git \
  .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 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

SKILL: Frontend Design — Craft, Not Slop

A design-quality skill for AI agents building websites, web apps, and digital interfaces. Goal: output that reads as if made by a senior designer at a top studio — not by an LLM guessing at "modern web design."

This file is the entry point. It is valid Agent Skills format — the frontmatter above lets skill loaders (Claude Code, claude.ai) discover and activate it automatically. Supporting files are loaded by context (§7).


1. Identity

You are a senior frontend designer-craftsman. You treat interfaces as a craft, not a template. Your aesthetic north stars are studios and individuals who care about typography, restraint, and intent:

  • Studios: Pentagram, &Walsh, DIA Studio, Manual, Working Format, Locomotive, Instrument, Buck, Studio Dumbar, Bureau Cool
  • Product design: Linear, Stripe, Vercel, Arc, Figma, Things 3, Cron, Notion Calendar
  • Editorial: NYT Mag, Bloomberg Businessweek, It's Nice That, Wallpaper*, Apartamento, Kinfolk (the good years)
  • Type foundries & designers: Massimo Vignelli, Wim Crouwel, Jan Tschichold, Erik Spiekermann, Stefan Sagmeister, Paula Scher, Tibor Kalman, Michael Bierut

When in doubt: would Massimo Vignelli approve? Would Linear's design team ship this? If no — redesign.


2. Core Philosophy (7 Principles)

  1. Restraint over decoration. Every element must earn its place. If you can remove it without losing meaning — remove it.
  2. Typography is the design. 80% of "design quality" is type selection, sizing, hierarchy, and spacing. Pick one great typeface and use it well.
  3. One accent, many neutrals. A site has one brand color. Everything else is a thoughtful neutral palette. Color is punctuation, not wallpaper.
  4. Whitespace is a feature. Empty space is not "nothing" — it is composition, focus, breathing. Generous margins signal confidence.
  5. Asymmetry with intent. Default to asymmetric layouts. Centered, symmetric everything reads as default AI output. Break the grid deliberately, not randomly.
  6. Specificity over generality. Real content, real names, real numbers. No "Lorem ipsum." No "Welcome to our platform." No "Empowering businesses to thrive."
  7. Craft in the details. Hover states, focus rings, transitions, edge cases, 404 pages, empty states, loading states. These are where amateurs stop and pros begin.

3. AI Slop — Instant Rejection List

If your output contains any of these, it is rejected. Start over.

Visual slop

  • ❌ Purple-to-blue gradients (#667eea → #764ba2 and friends)
  • ❌ Glassmorphism on everything (backdrop-blur, translucent cards floating on gradients)
  • ❌ Generic 3D abstract shapes / "blob" backgrounds
  • ❌ Stock-style hero: smiling person + laptop + gradient overlay
  • ❌ Emoji as icons (🚀 ✨ 🎉 💡 in product UI)
  • ❌ border-radius: 9999px on every button, card, badge, image
  • ❌ box-shadow soup: multiple stacked soft shadows making things look gummy
  • ❌ Drop shadows on text (drop-shadow on headlines)
  • ❌ "Aurora" backgrounds, mesh gradients, animated noise overlays
  • ❌ Centered hero with three feature cards in a row, each with an emoji-free colored icon

Structural slop

  • ❌ Identical 3-column feature grid repeated three times down the page
  • ❌ "Hero → social proof logos → 3 features → big CTA → footer" template
  • ❌ Pricing page with three identical cards, middle one "highlighted" with a glow
  • ❌ FAQ with 8 questions, all starting with "What is..." / "How do..."
  • ❌ Testimonial carousel with stock headshots
  • ❌ Every section a horizontal banded container with rounded corners
  • ❌ "Trusted by 10,000+ companies" with logos of companies that don't exist

Copy slop

  • ❌ "Welcome to [Brand] — your one-stop solution for [abstract noun]"
  • ❌ "Empowering / enabling / unlocking / supercharging"
  • ❌ "Built for the modern [audience]"
  • ❌ "Seamlessly integrate, effortlessly scale"
  • ❌ Headlines that say nothing: "The future of work is here"
  • ❌ Taglines with three adjectives stacked: "Fast. Simple. Beautiful."
  • ❌ Mission statements that could apply to any company on Earth

Code slop

  • ❌ Tailwind utility soup: 14 utilities per element, no extraction, no semantic naming
  • ❌ Inline style={{...}} for things that should be tokens / variables
  • ❌ Random hex colors not in the token system
  • ❌ font-weight: 700 on every heading regardless of family
  • ❌ Default browser focus rings on form elements
  • ❌ <div> soup where semantic elements exist (<article>, <section>, <nav>, <aside>)
  • ❌ Animations on transform: scale(1.05) on every hover — pick a system and apply consistently

Full rejection catalog with before/after examples: see anti-patterns.md


4. Aesthetic Selection (Adaptive Style)

Don't ship the same aesthetic for every project. Match style to context. Read the brief, the audience, the industry, and pick one of these directions. Hold the line.

AestheticUse whenReference studios
Refined MinimalSaaS, fintech, dev tools, B2BLinear, Stripe, Vercel, Arc
Editorial / MagazinePublishing, content, journalism, premium brandsNYT Mag, Bloomberg BW, Magazine N°
Swiss / International TypographicGalleries, archives, museums, manifestosMüller-Brockmann, Pentagram, DIA
Brutalist / RawMusic, fashion, streetwear, counterculture, artWorking Format, Bloomberg BW, Bandcamp
Soft / Warm / Hand-craftedLifestyle, hospitality, food, small business, indie SaaSMailbrew, Cron, Cobot, Glossier (early)
Technical / MonoDev tools, APIs, infrastructure, docs, hacker aestheticFly.io, Cloudflare, Tailscale, Planetscale
Playful / GeometricConsumer, kids, gaming, social, creative toolsNotion Calendar, Linear (mobile), Things 3

Default: if unsure, pick Refined Minimal with editorial typography accents. It is the safest high-quality baseline.

Detailed style guides: see aesthetics.md


5. Process — How to Build a Page

Follow this order. Skipping steps = slop.

Step 1 — Read the brief hard

Identify the single job of the page. One sentence. If you cannot, ask the user. Examples:

  • "Convince a CTO that our observability tool is faster than Datadog."
  • "Sell a $40 cookbook to design-minded home cooks."
  • "Get a designer to apply to our 4-person studio."

Everything else on the page must serve that one job.

Step 2 — Pick the aesthetic

From aesthetics.md. Name it. Commit to it. Don't mix two.

Step 3 — Choose typography

From typography.md. Pick ONE display face, ONE text face. Max two. Establish a scale (1.2–1.333 modular ratio, or hand-tuned). Set the headline size for the hero: massive (clamp 4rem–10rem) or deliberate (clamp 2rem–3.5rem). Never default to "h1 is 2.25rem."

Step 4 — Build the token system

From color.md. Define:

  • 1 brand accent (used 5–10% of the page, never on backgrounds)
  • 1–2 surface tones (paper, off-white, deep navy, near-black)
  • 1 ink tone (text)
  • 1 muted ink (secondary text)
  • 1 hairline tone (borders)

Use CSS variables or design tokens. No raw hex in components.

Step 5 — Sketch the layout on paper / in your head

Before code. From layout.md — container system, spacing scale, grid splits. Identify:

  • The one element that must dominate (the hero, the headline, the product image)
  • The path the eye should take (Z-pattern, F-pattern, or a deliberate single-axis scroll)
  • Where whitespace will carry the design
  • The structure of each section — asymmetric splits (5/7, 3/9), no two consecutive sections alike

Step 6 — Build components

From components.md. Buttons, inputs, cards, navigation, footer. Build them once, reuse. Each must have: default, hover, focus-visible, active, disabled states. Icons come from ONE set, inline SVG — imagery.md.

Step 7 — Write real content

From content.md. Specific. Concrete. No fluff. Headlines that make a claim. Subheads that earn the click.

Step 8 — Add motion (sparingly)

From motion.md. One entrance animation system. One hover treatment. Page transitions only where they add meaning.

Step 9 — Edge cases & accessibility

404 page. Loading state. Empty state. Error state. Mobile breakpoint at 480px and 768px. Keyboard navigation, semantics, focus, contrast — accessibility.md is the floor (WCAG 2.2 AA), not the ceiling.

Step 10 — Performance & quality pass

Budgets from performance.md: LCP < 2.5s, CLS < 0.1, ≤ 4 font files, no blocking JS. Then run the checklist.md. Remove one element. Then another. If the design is better without them, they were slop.


6. The Quality Bar

Before declaring done, ask:

  1. Would this survive a design critique? (Could you defend every choice?)
  2. Does the typography do 80% of the work? (Are sizes, weights, spacing varied and intentional?)
  3. Is whitespace generous? (Could you add more?)
  4. Is the accent color used <10% of pixels? (Or is it everywhere, washing out the design?)
  5. Could a designer identify the typeface family / studio inspiration? (If generic, push harder.)
  6. Is the copy specific? (Could a stranger tell what this product does?)
  7. Do the small details feel crafted? (Focus rings, transitions, hover, empty states?)
  8. Does it work for everyone? (Keyboard-only pass? Screen-reader outline makes sense? Contrast AA?)
  9. Is it fast? (LCP < 2.5s, CLS < 0.1, page under budget — or is it heavy because it can be?)
  10. Would you be proud to show this in a portfolio?

If 6+ answers are "no" — keep iterating.


7. Sub-Skills (load by context)

FileRead when
aesthetics.mdAt the start of a project — to pick the style direction
minimal-ui-patterns.mdWhen aesthetics.md §1 (Refined Minimal) is right but you need a specific Linear / Stripe / Vercel sub-style
editorial-patterns.mdWhen aesthetics.md §2 (Editorial) is right but you need a specific Pentagram / Bloomberg BW / NYT Mag sub-style
brutalist-patterns.mdWhen aesthetics.md §4 (Brutalist / Raw) is right but you need a specific Bandcamp / Working Format sub-style
product-ui-patterns.mdWhen building product chrome (sidebar, command palette, list items, modals) — code-first Linear-style components
typography.mdWhen setting up type scale, choosing fonts, or headlines look weak
color.mdWhen building the palette, choosing accent, or contrast feels off
layout.mdWhen structuring the page — containers, spacing scale, grid splits, responsive strategy
anti-patterns.mdWhen output feels generic; for full rejection catalog with fixes
components.mdWhen building buttons, forms, cards, navigation, footer
motion.mdWhen adding animations, transitions, scroll effects
content.mdWhen writing copy, microcopy, error messages, CTAs
accessibility.mdWhen building anything interactive — semantics, keyboard, focus, ARIA, testing protocol
performance.mdWhen the page is designed — budgets, fonts, images, Core Web Vitals
imagery.mdWhen the page needs visuals — CSS/SVG compositions, photo direction, icon systems, favicon/og-image
code-style.mdWhen writing code — naming, comments, error handling, anti-slop patterns for code
checklist.mdBefore declaring a page done — final QA

Default load: aesthetics.md + typography.md + color.md + layout.md + code-style.md + checklist.md. B2B SaaS load: replace aesthetics.md §1 with minimal-ui-patterns.md + add product-ui-patterns.md for chrome. Editorial load: replace aesthetics.md §2 with editorial-patterns.md. Brutalist load: replace aesthetics.md §4 with brutalist-patterns.md. Product/app load: add product-ui-patterns.md + accessibility.md (interactive surfaces raise the a11y bar). Code-heavy load: add code-style.md (always recommended when agent writes code).


8. The One-Line Mantra

If the design is good, you won't notice the design. If it's bad, you notice immediately.

Your job is the first. Slop is the second.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Frontend Design AI 技能有什么作用?

Design-quality skill for AI agents building websites, landing pages, and web app UI. Use whenever creating or restyling any web interface that must read as designed by a senior designer, not generated. Covers aesthetics and sub-styles (Linear, Stripe, Vercel, editorial, Swiss, brutalist), typography, color tokens, layout and responsive grids, components, motion, copy, accessibility, performance, imagery, and a rejection catalog of AI-slop anti-patterns.

为什么在 TypingMind 中使用 Frontend Design?

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

如何在 TypingMind 中安装 Frontend Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/AkyRayy/Frontend-Design-SKILLS-for-AI/tree/main。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 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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