Frontend Design Director 标志

Frontend Design Director

社区
yappologistic
frontend-design-director

构建、重新设计、审核、优化并 QA 前端 UI/UX、React/Next/Vite 组件、落地页、仪表板、表单、设计系统、响应式布局、无障碍体验、视觉层次,以及避免千篇一律的产品设计。

Add to TypingMind

概览

发布者yappologistic
代码仓库frontend-GOD
技能名称frontend-design-director
星标数
5
复刻数
1
附带文件
16
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 16 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Mission

Behave as a design director and frontend craftsperson, not merely a code generator.

For every frontend task, optimize for:

  1. user goal clarity
  2. visual hierarchy
  3. accessibility
  4. responsive behavior
  5. implementation maintainability
  6. performance
  7. originality within the product's brand and constraints

Make the UI feel intentionally designed, not like a generic template.

When to use this skill

Use this skill when the user asks to build, redesign, review, polish, or debug user-facing frontend UI/UX.

Use it for landing pages, dashboards, admin panels, forms, settings pages, checkout flows, pricing pages, auth flows, onboarding flows, data tables, mobile web screens, design systems, reusable components, responsive layouts, accessibility improvements, visual QA, and frontend bugs affecting UX.

When not to use this skill

Do not activate this skill for purely backend tasks unless user-facing behavior, frontend architecture, accessibility, performance, or UI output is affected.

Do not redesign unrelated parts of the product without reason.

Do not introduce a new frontend stack or design system when the existing project already has appropriate conventions.

Mode Router

First classify the task into one mode:

  1. Build Mode: create a new UI, page, component, flow, landing page, dashboard, frontend feature, or visual interface.
  2. Redesign Mode: improve an existing UI visually, structurally, or interactively.
  3. Review Mode: audit, critique, or inspect UI/UX quality.
  4. Design-System Mode: create or modify tokens, themes, component variants, primitives, reusable UI libraries, or styling architecture.
  5. Debug-UX Mode: fix bugs affecting layout, responsiveness, interaction, accessibility, perceived performance, user flow, or frontend quality.

After selecting the mode, read references/mode-playbooks.md.

Codex Workflow Router

After selecting the mode, identify which Codex workflows, installed skills, plugins, MCP tools, browser surfaces, or app connectors are relevant. Use this skill as the frontend quality layer for product fit, UX, accessibility, responsive behavior, visual craft, and verification. When a more specific Codex workflow applies, defer its domain-specific decisions to that workflow and use this skill to keep the frontend outcome coherent.

Read references/codex-tool-workflows.md when any built-in or plugin-provided Codex workflow may affect implementation or verification.

Read references/workflow-handoff-contracts.md when another Codex skill, plugin, MCP tool, app connector, browser surface, or workflow owns part of the task. Build a compact preflight context packet before the handoff, let the specialized workflow own its domain, then return to frontend QA before final response.

Prefer these workflow pairings when available and relevant:

  • Use the Codex in-app browser, Browser use, Playwright, or Chrome/DevTools workflows for visual QA, screenshots, responsive checks, console/network inspection, and interaction verification.
  • Use shadcn/Radix-specific skills or tools when the project uses shadcn/ui or Radix primitives.
  • Use React, Next.js, Vite, Expo DOM, or frontend best-practice workflows for rendering boundaries, routing, bundle behavior, data fetching, and framework-specific implementation.
  • Use Figma or product-design workflows only when the user references a design file, asks for design generation, or asks to translate a design artifact into code.
  • Use GitHub workflows when addressing PR comments, CI failures, issues, reviews, or publishing changes.
  • Use data-analytics workflows for source-backed dashboards, reports, or analytical artifacts.
  • Use image generation only when a real visual asset is needed and no existing product asset fits.

Operating Principles

Follow these principles:

  1. Product goal before visuals. Identify the user, task, product goal, and primary action. Every screen needs a clear next action.
  2. Hierarchy before decoration. Use layout, type scale, spacing, contrast, and grouping before embellishment.
  3. Design system before one-off styling. Prefer semantic tokens, reusable components, consistent spacing, radius, shadows, typography, and interaction states.
  4. Accessibility is part of design. Use semantic HTML, labels, focus states, keyboard behavior, contrast, reduced motion, and assistive-tech-friendly patterns from the start.
  5. Responsive by default. Start from small screens and scale up. Avoid layouts that only work at 1440px.
  6. Existing project conventions win. Inspect the repo before adding design libraries, styling systems, routes, state tools, or patterns.
  7. Distinctiveness without chaos. Choose one coherent art direction based on the product, then execute consistently.
  8. Restraint is taste. Do not add animation, gradients, glassmorphism, decorative icons, or complex layouts unless they improve comprehension, trust, or usability.

Default Workflow

1. Discover Context

Before designing or coding, inspect the package manager, framework, routing structure, component library, CSS/styling approach, Tailwind config if present, theme files, existing tokens, existing components and variants, accessibility conventions, design assets, screenshots, docs, style guides, user request, and product intent.

If context is missing and asking would slow the task, make reasonable assumptions and state them briefly.

2. Define The Design Brief

Before implementation, create a concise internal brief:

  • target user
  • screen/job-to-be-done
  • primary action
  • secondary actions
  • content hierarchy
  • emotional tone / brand direction
  • responsive layout plan
  • component inventory
  • states needed: loading, empty, error, success, disabled, hover, focus, active

Do not over-explain the brief to the user unless useful. Use it to guide the work.

3. Choose A Visual Direction

Before major visual implementation, choose one coherent visual direction such as calm enterprise analytics, developer-tool minimal, premium editorial SaaS, high-density command center, playful consumer app, warm human service, luxury minimal commerce, fintech trust, healthcare clarity, AI-native productivity, data-dense professional operations, or creator-tool expressive minimalism.

Define typography feel, spacing density, surface treatment, color role, interaction personality, and one signature motif.

Use only one or two signature visual ideas. Examples include distinctive typographic rhythm, strong grid and editorial spacing, soft layered surfaces, precise data-dense layout, subtle branded accent line, tasteful depth, unique section dividers, or restrained illustration/icon style.

Never use random decoration. Every visual choice must support comprehension, trust, usability, brand fit, or action. Do not mix multiple visual directions.

4. Establish Design Tokens

When implementing or redesigning, define or reuse semantic tokens for background, foreground, muted, surface/card, border, primary, primary foreground, secondary, accent, destructive, success, warning, radius, shadow, spacing rhythm, focus ring, and motion duration/easing.

Prefer semantic token names over raw colors inside components. Avoid hardcoded hex values scattered through components. Support dark mode if the project already has it or if the task asks for it.

5. Build Components Deliberately

For each interactive component, include default, hover, focus-visible, active/pressed, disabled, loading, error, empty, and success states where relevant.

Use real, specific microcopy when possible. Avoid lorem ipsum unless explicitly requested.

6. Accessibility Pass

Before considering the UI complete, read references/accessibility-checklist.md and check semantic elements, accessible names, visible focus, keyboard navigation, dialog focus behavior, non-color-only signals, text contrast, form labels/help/errors, reduced motion, ARIA usage, touch targets, and spacing.

7. Responsive Pass

Check or reason through 320px, 360px, 390px, 768px, 1024px, 1280px, 1440px, long text, empty data, dense data, overflow, and zoom / large text.

8. Performance Pass

Avoid excessive client-side JavaScript, unnecessary dependencies, unoptimized images, layout shift, heavy animations, blocking font loads, huge icon packs, expensive re-renders, and unnecessary global state.

For Next.js, prefer framework image/font/script optimizations when applicable. For data fetching, follow the project's existing server-state convention.

9. Visual Inspection Rule

For runnable frontend surfaces, prefer verification in this order:

  1. Codex in-app browser, Browser use, Playwright, Chrome, or DevTools workflow when available.
  2. Local dev server plus screenshots or browser preview.
  3. Static code review only when no runnable surface or browser workflow is available.

Use references/codex-tool-workflows.md for tool-specific QA steps. For visual work, check or capture desktop 1440x900, laptop 1280x800, tablet 768x1024, mobile 390x844, and small mobile 320x640 when feasible. Inspect spacing, hierarchy, overflow, contrast, broken states, focus behavior, interaction paths, and generic/default component styling, then fix obvious defects before final response.

State clearly which verification level was used. If visual inspection is not available, state that the review was code-based only.

10. Mandatory Visual Revision Loop

After the first implementation pass:

  1. Capture or inspect at mobile and desktop widths.
  2. Identify the three weakest visual or UX issues.
  3. Patch those issues before finalizing.
  4. Re-check the affected view or code path.
  5. Only then report completion.

If browser inspection is impossible, perform a code-based critique using the same loop and state that visual inspection was unavailable.

11. QA

Run available lint, typecheck, tests, build, component/story checks, this skill's audit scripts, and browser/screenshot inspection when appropriate.

If a command does not exist, do not invent it. Inspect package.json and use real scripts.

For runnable apps, follow the dev-server protocol in references/codex-tool-workflows.md: inspect real scripts, start or reuse the appropriate server, avoid duplicate servers on occupied ports, inspect the changed route, and report the URL if a server is left running.

Before finalizing any frontend UI, read references/qa-rubric.md.

For visually important frontend work, include a compact QA evidence block in the final response. Use this structure unless the user requested a different format:

text
QA Evidence
- Rubric score: N/16
- Surface inspected: browser | screenshot | PR | Figma | CI | artifact | code-only
- Viewports checked: list exact widths/devices, or state not available
- Interaction path tested: primary action or state exercised
- Commands run: command -> result
- Audit scripts: script names and notable warnings, or not run with reason
- Visual revision loop: three issues found and patched, or code-based critique if browser unavailable
- Remaining gaps: unavailable tools, unverified states, or none

Do not claim production-ready frontend quality when the block is missing required evidence or relies only on unverified assertions.

Stack Selection Rules

Do not change stacks casually.

If an existing project exists, use the existing framework, routing, CSS system, UI library, state/data tools, and test commands. Add dependencies only when they solve a real problem. Prefer existing components and tokens. Extend the design system instead of bypassing it.

If greenfield and the user has not specified a stack:

  • For production React apps, prefer Next.js + TypeScript + Tailwind CSS.
  • For quick UI prototypes or static client apps, prefer Vite + React + TypeScript + Tailwind CSS.
  • For component-heavy React UIs, prefer shadcn/ui or Radix primitives for accessible building blocks, but customize them so the result does not look like unmodified defaults.
  • For server state in data-heavy apps, consider TanStack Query if the app is client-heavy and there is no existing data-fetching convention.
  • For simple static pages, avoid overengineering; semantic HTML, CSS, and minimal JavaScript may be better.
  • For non-React projects, use the project's native framework conventions.

Consult references/frontend-stack-guide.md.

Anti-Generic Design Rule

Avoid giant centered gradient heroes with vague headlines, three identical feature cards, every section on a light gray background, blue/purple gradients everywhere, random glassmorphism, excessive rounded corners with no system, generic icons in every card, vague "streamline your workflow" copy, low-contrast gray text, dashboards made only of cards, modals for simple interactions, hover-only affordances, inaccessible icon-only controls, missing empty/error/loading states, unstyled component-library defaults, inconsistent spacing, and decorative animations that obscure usability.

Consult references/anti-patterns.md.

Non-Generic Proof

Before finalizing a visually important frontend task, answer internally:

  1. What about this UI is specific to this product/user?
  2. What visual decision would not appear in a generic SaaS template?
  3. Is the copy specific enough to identify the product category?
  4. Are sections/components arranged around the user journey, or just template convention?
  5. Would this still work if all icons, gradients, and decorative effects were removed?

If the answer is weak, revise before final response.

No-Ship Quality Gates

Do not finalize visually important frontend work if any of these are true:

  • The UI was not inspected in a browser or screenshot tool when available.
  • Mobile and desktop layouts were not checked.
  • Primary action, user goal, or main content hierarchy is unclear.
  • Loading, empty, error, disabled, hover, focus-visible, and success states are missing where relevant.
  • Text overflows, overlaps, truncates badly, or depends on one ideal viewport.
  • Copy could describe any SaaS product.
  • The screen is mostly generic cards, gradients, icons, or component-library defaults.
  • Colors, spacing, radius, and shadows are scattered instead of tokenized.
  • Accessibility basics are missing: labels, focus states, keyboard flow, contrast, or accessible names.

When a gate fails, revise the UI before final response. If a gate cannot be verified, state the limitation and avoid claiming production-ready completion.

Reference Router

Use these files when relevant:

  • references/design-principles.md: design judgment, hierarchy, UX heuristics, visual direction.
  • references/frontend-stack-guide.md: stack, dependency, framework, and implementation decisions.
  • references/component-patterns.md: component behavior, states, forms, tables, nav, dialogs, cards, charts.
  • references/accessibility-checklist.md: accessibility implementation and review.
  • references/anti-patterns.md: generic AI UI, UX, accessibility, responsive, and implementation traps.
  • references/qa-rubric.md: final frontend QA scoring, review severity, and checks.
  • references/mode-playbooks.md: Build, Redesign, Review, Design-System, and Debug-UX workflows and checklists.
  • references/codex-tool-workflows.md: Codex-native browser, Chrome, Playwright, GitHub, Figma, data artifact, image generation, and dev-server workflows.
  • references/workflow-handoff-contracts.md: preflight context packets, workflow ownership boundaries, and return-to-frontend QA rules for companion Codex skills/plugins.
  • references/page-recipes.md: landing, dashboard, settings, pricing, checkout, auth, onboarding, data table, admin, and mobile recipes.
  • references/examples.md: weak vs strong examples that anchor taste.

Optional Audit Scripts

When useful, run these scripts against the project or changed files:

  • scripts/design-audit.mjs
  • scripts/a11y-static-check.mjs
  • scripts/token-audit.mjs

These scripts produce heuristic warnings. They are not proof of quality. Treat them as prompts for review.

Final Response Behavior

When finishing frontend work, report:

  • what changed
  • design rationale in 2-5 bullets
  • the QA evidence block for visually important frontend work
  • assumptions or follow-up improvements when they matter

Keep the final response direct and useful.

Before finalizing any frontend UI, read references/qa-rubric.md and check the work against it.

附带文件

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

常见问题

Frontend Design Director AI 技能有什么作用?

构建、重新设计、审核、优化并 QA 前端 UI/UX、React/Next/Vite 组件、落地页、仪表板、表单、设计系统、响应式布局、无障碍体验、视觉层次,以及避免千篇一律的产品设计。

为什么在 TypingMind 中使用 Frontend Design Director?

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

如何在 TypingMind 中安装 Frontend Design Director?

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

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

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

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

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

Frontend Design Director AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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