跳到正文
Skillpedia
网站与界面(前端)101k · #1173

frontend-design

它能做什么

这个工具可以为网站和应用界面创建视觉设计与代码。它能把你的想法变成可直接使用的设计,并附带可正常运行的 HTML、CSS 和 JavaScript 代码。

适用场景

  • ✓当你想创建一个新网站时。
  • ✓当你想改进现有页面或应用的外观时。
  • ✓当你的网页项目需要某个特定组件时。

技能链接

https://github.com/nexu-io/open-design/blob/main/skills/frontend-design/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/skills/frontend-design/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为一个音乐应用创建登录页面的设计和代码,风格现代简约。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会理解你的需求,选择独特的视觉风格,并生成代码,让界面正常运行,同时注重细节。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

frontend-design

Adapted from Anthropic's official frontend-design skill for OpenDesign.

Use this skill when the user asks to build or improve a frontend interface: a website, landing page, dashboard, application screen, HTML/CSS artifact, React/Vue/Svelte component, or a visual redesign of an existing UI.

The goal is not just "make it nicer." The goal is to ship working frontend code with a clear design point of view, strong craft, and enough product detail that the result feels designed for the user's actual context.

Workflow

  1. Understand the brief before choosing the look.

    • Identify the audience, primary job, domain, and emotional tone.
    • Note any technical constraints: framework, existing styles, accessibility, performance, export target, or responsive requirements.
    • If the repo already has design tokens, components, screenshots, or a DESIGN.md, use those as the source of truth.
  2. Commit to one specific aesthetic direction.

    • Pick a direction that fits the product: brutally minimal, editorial, luxury, playful, industrial, retro-futuristic, dense operational, calm enterprise, artful consumer, or another precise direction.
    • Make the direction concrete through typography, spacing, color, hierarchy, motion, and component shape.
    • Avoid generic AI defaults: purple-blue gradients, vague glass cards, interchangeable SaaS layouts, over-rounded cards, stock icon rows, and decorative blobs that do not serve the interface.
  3. Design the real interface, not a placeholder poster.

    • Include the controls, empty/loading/error states, tables, filters, navigation, and responsive behavior a real user would expect.
    • Use honest content. If data is unknown, label it as sample, pending, or unavailable instead of inventing claims.
    • Keep workflows efficient for the target user. Dashboards and tools should be scannable and dense enough for repeated use; marketing pages can be more expressive.
  4. Build production-grade frontend code.

    • Prefer the repository's existing framework, component conventions, icons, tokens, and styling approach.
    • For standalone artifacts, create self-contained HTML/CSS/JS unless the user asked for a framework.
    • Use semantic markup, keyboard-accessible controls, visible focus states, sensible contrast, and responsive layout constraints.
    • Use CSS variables for repeated colors, spacing, shadows, and type scale.
  5. Refine visual craft.

    • Typography: choose expressive but readable type pairings. Avoid using default system stacks as the main visual idea unless the direction is intentionally utilitarian.
    • Color: create a balanced palette with role clarity. Use accent color sparingly and deliberately.
    • Layout: use alignment, rhythm, density, and negative space intentionally. Do not let cards, panels, or labels drift.
    • Motion: add purposeful transitions for state changes, reveals, and feedback. Prefer transforms and opacity for performance.
    • Details: use texture, borders, shadows, dividers, media, and iconography only when they support the concept.
  6. Self-review before final delivery.

    • The interface works at mobile and desktop widths.
    • Text fits its containers and does not overlap adjacent UI.
    • Interactive elements have hover/focus/active/disabled states.
    • The design avoids obvious AI-generated visual tropes.
    • The result has one memorable quality a user could describe after closing the page.

OpenDesign Integration

When OpenDesign provides an active design system, treat it as the product's brand contract. Use the injected color, typography, layout, and component guidance first, then apply this skill's frontend craft rules where the design system is silent.

When OpenDesign injects craft references such as typography, color, and anti-ai-slop, apply those checks before finishing. If the user's brand guidance conflicts with a generic craft rule, the user's brand guidance wins.

Source

License

This skill is adapted from Anthropic's official skills repository. See LICENSE.txt in this folder for the upstream Apache-2.0 license terms.

常见问题

AI 能为任何类型的网站创建代码吗?

可以。它能为网站、落地页、仪表盘、React 组件和应用界面创建设计。

“生产级”是什么意思?

意思是生成的代码质量很高,可以直接用于实际项目,并遵循良好的编程和设计规范。

AI 会避免千篇一律的设计吗?

会。它经过训练,能够创造有辨识度的视觉效果,避开常见的 AI 套路,为你的项目打造独特的风格。

详情

作者的原始描述

Create distinctive, production-grade frontend interfaces with strong visual direction, polished typography, considered layout, and working HTML/CSS/JS or framework code. Use for websites, landing pages, dashboards, React components, application screens, and UI beautification.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1173
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能