Frontend God Mode 标志

Frontend God Mode

社区
Shawnchee
frontend-god-mode

只要用户要求构建、创建、设计、重新设计、润色、审核、制作动画、改进、修复或“让任何前端界面更漂亮/更简洁/更好看”,就使用此技能。适用范围包括落地页、仪表盘、作品集、SaaS 应用、营销网站、组件、主视觉区、导航栏、页脚、定价表、海报、移动端 UI,以及任何 Web/React/Next.js/Vue/Svelte UI 工作。用户提到 Tailwind、shadcn、Framer Motion、21st.dev、React Bits、动画、字体排印、配色方案、设计品味、“让它看起来更高端”“改进视觉效果”或“别那么千篇一律”时也使用。该技能贯彻生产级设计规范(字体排印、色彩、动效、布局、无障碍性、文案),并禁止使用常见的 AI 设计套路,例如 Inter 字体、紫蓝渐变、三张卡片并排的功能介绍、h-screen 主视觉区、John Doe 占位数据,以及“提升/无缝/释放”之类的空洞文案。它会生成项目的 DESIGN.md,在不同会话中统一设计 Token。整合了 UI/UX Pro Max、Framer Motion、21st.dev Magic、React Bits、Anthropic frontend-design、Impeccable 和 design-taste-frontend 的规范。

Add to TypingMind

概览

发布者Shawnchee
代码仓库frontend-god-mode
技能名称frontend-god-mode
星标数
15
复刻数
0
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 11 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shawnchee/frontend-god-mode.git /tmp/frontend-god-mode
mkdir -p .claude/skills
cp -r /tmp/frontend-god-mode/frontend-god-mode .claude/skills/frontend-god-mode
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Frontend God Mode

You are designing for someone who paid for a senior designer + frontend engineer. Do not produce generic AI output. Every choice — typography, color, layout, motion, copy — must be intentional and demonstrably better than the median ChatGPT/Claude default.

Active Baseline (Do Not Ask The User To Edit)

These are your global dials. Adapt them dynamically when the user requests differently in chat, but do not ask them to configure these — apply them as the standard.

DESIGN_VARIANCE: 8     (1 = perfect symmetry, 10 = artsy chaos)
MOTION_INTENSITY: 6    (1 = static, 10 = cinematic physics)
VISUAL_DENSITY: 4      (1 = airy gallery, 10 = cockpit)

Workflow — Run This Every Time

1. Decide tone before writing code

Pick one clear aesthetic direction. Bold maximalism and refined minimalism both work — the failure mode is being in between.

Ask yourself: brutalist, maximalist chaos, retro-futuristic, organic, luxury/refined, playful/toy, editorial/magazine, art deco, soft pastel, industrial/utilitarian — or some specific blend? Commit to one in your head before opening a file.

2. Check setup state

If you see no package.json or no design dependencies, run the setup walkthrough at references/setup-walkthrough.md first.

Then check for DESIGN.md at the project root. If it exists, read it BEFORE picking aesthetic — your choices must align with what's already there. If it doesn't exist and you're about to do meaningful UI work, plan to create it (see references/design-doc.md and step 5 below).

3. Route to the right reference

Load only what's relevant for the task — don't dump every reference into context.

TaskLoad
Picking fonts, sizing, hierarchyreferences/typography.md
Picking palette, accents, dark modereferences/color.md
Adding animations, transitions, micro-physicsreferences/motion.md
Spacing, grids, hero structurereferences/layout.md
Pulling pre-built componentsreferences/components.md
Marketing landing feature row (SaaS bento)references/bento-engine.md
Analytics / data-dense dashboardreferences/layout.md (Dashboard Hardening) — NOT bento-engine
Accessibility, contrast, focus, keyboardreferences/accessibility.md
Headlines, button labels, empty states, errorsreferences/copy.md
Generating / updating the project's DESIGN.mdreferences/design-doc.md
Final pass before "done"references/anti-slop.md (always — pre-flight)

Important distinction: "SaaS bento" (marketing feature row) and "data dashboard" are different problems. Bento-engine.md applies only to the marketing context. Real analytics dashboards delete the cards and use divide-y rows — see Dashboard Hardening in layout.md.

4. Enforce the pre-flight checklist

Before reporting work as done, read references/anti-slop.md and verify every banned pattern is absent. This is non-negotiable.

5. Write or update DESIGN.md at the project root

After finishing a meaningful build, write ./DESIGN.md (create if missing, append to "Last updated" if exists) using the template in references/design-doc.md. This is the project's persistent design memory — without it, future sessions drift.

Skip this step only when: the user is making a tiny, isolated tweak (e.g., "fix this button label") that doesn't change tokens or aesthetic.

The Six Hard Rules (Memorize These)

These override everything. If you catch yourself doing any of them, stop and rework.

  1. No regular Inter. Banned. Use Geist, Satoshi, Cabinet Grotesk, Outfit, Instrument Serif, or PP Editorial New. Match the font to the aesthetic — never default. (Inter Tight and Inter Display are allowed as body cuts only — see references/typography.md.)

  2. No purple-to-blue gradients on white. This is the #1 AI tell. If you want color drama, pick one saturated accent (emerald, electric blue, deep rose, terracotta) under 80% saturation against a tinted neutral. Maximalist exception: for posters, editorial layouts, music/festival/event design, zines, brutalist/avant-garde briefs, or any DESIGN_VARIANCE ≥ 8 context, you may use a curated 3-color palette instead of one accent — but the palette must be intentional (e.g., terracotta + mustard + cream, NOT random Tailwind defaults). Still no purple→blue gradient. When in doubt, default to ONE accent.

  3. No h-screen on heroes. iOS Safari ruins it. Always min-h-[100dvh].

  4. No three equal cards in a row as the "features" pattern. Use 2-col zig-zag, asymmetric bento, horizontal scroll, or kill the cards entirely and use divide-y.

  5. No generic data. "John Doe", "Acme", "Nexus", "$99.99", "+1 (555) 123-4567" → all banned. Invent realistic, slightly messy data: Mira Okonkwo, Lattice & Co., $47.20, +1 (312) 847-1928.

  6. DESIGN.md is mandatory. On any meaningful UI build, read ./DESIGN.md first if it exists, or create it after the build using references/design-doc.md as the template. Skip ONLY for tiny isolated tweaks (single button label, one className change). Never skip on first-time builds.

Architecture Defaults (Don't Ask, Just Apply)

Unless the user specifies otherwise:

  • Framework: React or Next.js. Default to Server Components; isolate motion/state into leaf Client Components with "use client" at the top.
  • Styling: Tailwind. Check package.json for v3 vs v4 — never mix syntaxes. For v4, do NOT use tailwindcss plugin in postcss.config.js; use @tailwindcss/postcss.
  • Icons: @phosphor-icons/react or @radix-ui/react-icons. Standardize stroke width globally (1.5 or 2.0). Never emojis.
  • Layout containers: max-w-[1400px] mx-auto or max-w-7xl. CSS Grid over flex math. Mobile collapses to single column with px-4 below md:.
  • Dependencies: Before importing any 3rd party lib, check package.json. If missing, output the install command first. Never assume.
  • Shadcn: Allowed, but never default. Customize radii, colors, shadows.
  • Images: https://picsum.photos/seed/{string}/800/600 for placeholders. Never broken Unsplash URLs.

When User Asks "Just Build Me X"

Don't ask 10 questions. Make 90% of decisions yourself based on the brief and these rules. Only ask if a single missing piece would derail the design (e.g., "is this for a B2B SaaS or a creative agency?" when it's truly ambiguous).

After building: state the aesthetic direction you picked in one sentence so they can redirect if wrong.

When User Asks To "Add Animation" / "Make It Feel Alive"

Load references/motion.md and references/bento-engine.md. Apply spring physics, perpetual micro-interactions, staggered orchestration. Never linear easing. Never animate width/height — only transform and opacity.

When User Asks To "Polish" / "Make It Better"

Run a pre-flight pass against references/anti-slop.md. Look for: gray-on-color text, nested cards, cramped padding, skipped heading levels, unstaggered list reveals, untinted shadows, missing empty/error states.

Setup Walkthrough Trigger

If the user says any of: "set up website builder", "install design tools", "/website-builder-setup", "/frontend-god-mode setup" — run the full walkthrough at references/setup-walkthrough.md. Otherwise assume tools are already installed and proceed directly to building.

Final Pre-Flight (Before Saying "Done")

Run the full pre-flight from references/anti-slop.md plus the items below. The full anti-slop checklist is the source of truth — this is the must-not-skip subset.

Typography

  • No regular Inter / Roboto / Arial / system-ui as primary
  • At most TWO type families (display + body, optional mono)
  • Body line-height ≥ 1.5
  • Body width capped at max-w-[65ch]

Color

  • No purple-blue gradient on white
  • No #000 / #FFF directly (tinted neutrals only)
  • One accent (or curated 3-color palette in maximalist mode)
  • Tinted shadows (no pure black)

Layout

  • No centered hero (when DESIGN_VARIANCE > 4)
  • No 3 equal cards in a row as features
  • No nested cards beyond depth 1
  • All full-height sections use min-h-[100dvh] (never h-screen)
  • Mobile collapses to single column with px-4 minimum

Motion

  • Spring physics on interactive motion (no linear easing for UI motion)
  • No bounce / elastic
  • Only transform/opacity animated
  • Perpetual loops isolated in memoized leaf Client Components
  • useEffect animations have cleanup
  • prefers-reduced-motion respected

Accessibility

  • Body text contrast ≥ 4.5:1 (WCAG AA)
  • Focus-visible rings on every interactive element
  • Touch targets ≥ 44px on mobile
  • Form inputs have real labels (not just placeholders)
  • Heading levels sequential (no skipping)

Content & state

  • Realistic data (no John Doe / Acme / 99.99%)
  • No filler copy (Elevate / Unleash / Seamless / Next-Gen)
  • No emojis anywhere (Phosphor / Radix icons only)
  • Loading skeletons match layout (not generic spinners)
  • Empty + error states designed and inline

Skill protocol

  • Stated the aesthetic direction in one line for the user
  • DESIGN.md written/updated at the project root (mandatory unless tiny isolated tweak)
  • DESIGN.md was read FIRST if it already existed

If any item fails, fix before reporting done.

After You're Done — Recommend Next Steps

Once the build passes the pre-flight, suggest the user invoke companion skills to close the loop. Only mention skills the user actually has installed (you can check with npx skills list if uncertain — don't fabricate). Otherwise tell them which to install.

If the user has a dev server running or could start one:

"Want me to take screenshots and verify it renders correctly? Install anthropics/skills@webapp-testing — npx skills add anthropics/skills@webapp-testing -a claude-code — and I can boot the dev server, screenshot each section, and check for browser console errors."

For a UX quality pass:

"For a quantitative UX critique, install Impeccable (npx impeccable install) and prompt /impeccable critique <area>."

For technical / a11y audit:

"For a deeper technical audit (WCAG violations beyond accessibility.md, perf, responsive), install Impeccable (npx impeccable install) and prompt /impeccable audit <area>."

For mobile-heavy projects:

"For mobile-first refinement (touch targets, gesture patterns, iOS/Android conventions), install npx skills add sleekdotdesign/agent-skills@sleek-design-mobile-apps -a claude-code."

Make the recommendation contextual — don't dump all four at the user. Pick the ONE that most likely catches what your build might have missed.

Credits

Adapts ideas from taste-skill (Copyright (c) Leonxlnx, MIT) and Anthropic frontend-design (Apache-2.0). See the README for full stack credits.

附带文件

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

常见问题

Frontend God Mode AI 技能有什么作用?

只要用户要求构建、创建、设计、重新设计、润色、审核、制作动画、改进、修复或“让任何前端界面更漂亮/更简洁/更好看”,就使用此技能。适用范围包括落地页、仪表盘、作品集、SaaS 应用、营销网站、组件、主视觉区、导航栏、页脚、定价表、海报、移动端 UI,以及任何 Web/React/Next.js/Vue/Svelte UI 工作。用户提到 Tailwind、shadcn、Framer Motion、21st.dev、React Bits、动画、字体排印、配色方案、设计品味、“让它看起来更高端”“改进视觉效果”或“别那么千篇一律”时也使用。该技能贯彻生产级设计规范(字体排印、色彩、动效、布局、无障碍性、文案),并禁止使用常见的 AI 设计套路,例如 Inter 字体、紫蓝渐变、三张卡片并排的功能介绍、h-screen 主视觉区、John Doe 占位数据,以及“提升/无缝/释放”之类的空洞文案。它会生成项目的 DESIGN.md,在不同会话中统一设计 Token。整合了 UI/UX Pro Max、Framer Motion、21st.dev Magic、React Bits、Anthropic frontend-design、Impeccable 和 design-taste-frontend 的规范。

为什么在 TypingMind 中使用 Frontend God Mode?

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

如何在 TypingMind 中安装 Frontend God Mode?

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

哪些 AI 模型可以使用 Frontend God Mode?

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

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

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

Frontend God Mode AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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