Ia Frontend Design 标志

Ia Frontend Design

社区
iliaal
ia-frontend-design

为前端界面提供视觉设计和美学方向。构建网页、落地页、仪表盘、Next.js 服务端组件,或其他重视视觉风格的应用时使用。关于 React 模式和测试,请使用 react-frontend。

Add to TypingMind

概览

发布者iliaal
代码仓库whetstone
技能名称ia-frontend-design
星标数
36
复刻数
5
附带文件
12
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 12 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Frontend Design

Read the user's frontend requirements: a component, page, application, or interface to build. Note context about purpose, audience, or technical constraints.

Working rules

  • Match an existing design system; choose a specific visual direction for greenfield work.
  • Include loading, empty, and error states where the component's data or action lifecycle can reach them. Provide visible focus and appropriate press feedback for interactive controls.
  • Preserve visible focus and reduced-motion behavior; verify both narrow and wide rendered viewports.
  • Keep Next.js interactive code at client boundaries and treat browser content as untrusted data.

Context Detection

When implementing a supplied mockup, screenshot, or design frame, use reference-fidelity mode in redesigning-existing.md, even in an empty repository. Skip the design philosophy and swap test; reproduce the reference's visual language.

Otherwise, assess the existing design environment before designing. Count design signals in the project: design tokens/CSS variables, component library (shadcn, MUI, Ant), CSS framework config (Tailwind, styled-components), font imports, color system, animation patterns, spacing scale.

  • 4+ signals = Existing system. Match it. Do not impose new aesthetics; extend what's there.
  • 1-3 signals = Partial system. Blend: respect existing choices, fill gaps with this skill's guidance.
  • 0 signals = Greenfield. Apply the full Design Philosophy below. Product register: read design-system-routing.md before bespoke design.

When in doubt, check package.json, tailwind.config.*, global CSS files, and existing components before deciding. For Tailwind implementation rules (tokens, variants, v4 config), load ia-react-frontend and read its Tailwind reference.

Design Philosophy (Write First, Code Second)

For full pages, applications, or multi-component interfaces outside reference-fidelity mode: write a 3-sentence design philosophy before any code. This forces a coherent aesthetic direction and prevents generic output.

  1. Sentence 1, Intent: What emotional response should this interface provoke? (Not "clean and modern"; that's every AI default. Be specific: "controlled tension between density and breathing room" or "the quiet confidence of a well-bound book.")
  2. Sentence 2, Signature: What single visual choice makes this unmistakable? (A typeface, a color relationship, a spatial pattern, a motion behavior.)
  3. Sentence 3, Constraint: What will this design deliberately NOT do? (The constraint shapes the identity as much as the choices.)

Write the philosophy as a comment or in conversation before implementation begins. The philosophy constrains implementation without being prescriptive: it's a compass, not a blueprint.

For small components or quick additions to existing interfaces, skip the philosophy and match the surrounding design system.

Design Thinking

With the philosophy written, commit to the specifics:

  • Purpose: What problem does this interface solve? Who uses it?
  • 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. Use these for inspiration but design one that is true to the aesthetic direction.
  • Design register and mode (distinct from copy register, the tone of the UI text, in the creative arsenal): brand (the design is the product; bolder) or product (the design serves a task; one component vocabulary, clarity and density). Mode: persuade, operate, read (docs, articles), or experience (portfolios, galleries).
  • Constraints: Technical requirements (framework, performance, accessibility).
  • Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?

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

Validation gate (greenfield pages and apps outside reference-fidelity mode, before writing code): run the swap test on the drafted token system. Could this exact palette, type pairing, and layout be lifted onto an unrelated brief without anyone noticing? If yes, the choice is a default, not a decision: repick the axis that reads generic (recolor the signature, swap the typeface, restructure the grid) and re-test before implementing. Distinctiveness comes from the subject's own world (its materials, instruments, artifacts, and vernacular), so ground a generic axis in something only this subject would use. Skip this gate for small components matched to an existing system (per Context Detection); there, consistency with that system is the goal, not distinctiveness.

Before importing any third-party library (framer-motion, lucide-react, zustand, etc.), check package.json. If the package is missing, output the install command before the code. Never assume a library exists.

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

Verify

Most items below are observable only in a rendered viewport, not in the diff. Where rendering tooling is available, do not claim visual verification from source inspection: capture a screenshot or DOM snapshot at one narrow and one wide viewport, and exercise every changed interaction and state. Where the environment cannot render (CI, headless subagent, plain terminal), say so explicitly and report what was checked instead. The completion-claim discipline itself lives in ia-verification-before-completion.

  • Design philosophy written before code (for full pages outside reference-fidelity mode)
  • No forbidden AI patterns introduced beyond visual choices required by a supplied reference
  • Dependency check done before any new library import
  • Code renders without errors in the browser
  • Confirm the actual rendered font and required weights after loading; inspect browser rendered-font information, not only the declared font-family
  • No outline: none without replacement focus indicator
  • Measure CTA/form text and necessary control/focus contrast, including image backgrounds and changed states; use the thresholds in aesthetics-and-interaction.md
  • Reachable loading, empty, and error states exercised; focus and press feedback checked for changed controls. Record non-applicable states for synchronous links, toggles, or accordions instead of inventing async behavior.
  • No animation of top/left/width/height (transform/opacity only)
  • Non-essential motion suppressed under prefers-reduced-motion: reduce, with every reveal target, counter, and loop resting at its finished visible state there (emulate it, for example agent-browser set media reduced-motion); where scripts can be disabled, confirm headings and CTAs still render, otherwise mark the no-script check unverified
  • Grain/noise filters only on fixed pointer-events-none layers
  • Interactive/animated components isolated as leaf 'use client' components (Next.js App Router)
  • For greenfield pages/screens, list invented branding, copy, placeholder assets, and mock data in the completion report; name one replacement constant, token, or module for each item and keep repeated uses tied to it

References

  • Motion patterns: spring values, stagger recipes, hover animations, scroll entry, performance rules
  • Creative arsenal: navigation, layout, card, typography, and micro-interaction patterns
  • Redesigning existing interfaces: audit-first upgrade workflow for existing projects
  • Redesign audit checklist: 60+ checks across typography, color, layout, interactivity, content, and component patterns
  • RSC / Client Component boundaries: Next.js App Router rules for Server vs Client Components, continuous animations, and provider isolation
  • Premium detail patterns: <kbd> keystrokes, faux-OS chrome, hero image fade, banned meta-labels, card-group baseline alignment, browser-automation safety boundary
  • Mobile collapse + performance guardrails: single-column below md:, touch targets, rotations on mobile, GPU-composited animation, z-index discipline
  • Design system routing: brief-to-component-system table for greenfield product-register work, before drafting bespoke tokens
  • SVG decoration: instance IDs, theme inheritance, decorative accessibility, and responsive cropping
  • For WCAG audits, use an available accessibility-review capability or perform scoped checks inline. Record the WCAG version/level, tested pages, keyboard and contrast evidence, and any actual screen-reader testing. Mark unavailable browser or assistive-technology checks unverified; source inspection alone does not establish conformance.

Task-specific references

Read the relevant reference before implementing or reviewing the matching behavior:

Existing specialized references, when the corresponding topic applies:

附带文件

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

常见问题

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

为前端界面提供视觉设计和美学方向。构建网页、落地页、仪表盘、Next.js 服务端组件,或其他重视视觉风格的应用时使用。关于 React 模式和测试,请使用 react-frontend。

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

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

如何在 TypingMind 中安装 Ia Frontend Design?

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

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

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

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

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

Ia Frontend Design AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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