AGENT SKILL

frontend-design

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.

License 许可
Apache-2.0
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

od
{ "mode": "prototype", "craft": { "requires": [ "typography", "color", "anti-ai-slop" ] }, "category": "web-artifacts", "upstream": "https://github.com/anthropics/skills/tree/main/skills/frontend-design", "design_system": { "requires": true, "sections": [ "color", "typography", "layout", "components" ] }, "example_prompt": "Design and build a production-quality SaaS analytics dashboard for a finance team, with real interaction states, refined typography, and a distinctive visual direction." }
name
frontend-design
license
Complete terms in LICENSE.txt
triggers
[ "frontend design", "ui design", "ux design", "web design", "production ui", "landing page", "dashboard design", "react component design" ]
description
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.

02 资源文件 1

03 SKILL.md 正文

frontend-design

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

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.

Open Design Integration

When Open Design 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 Open Design 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.

04 同仓库更多 Skills

endman100
endman100/skill-router-nexus

blender-web-3d

Work with Blender from Claude — headless CLI or the Blender MCP — to build, modify, render, and publish any 3D model as a stunning, fast Three.js/Next.js web experience (gltf-transform meshopt/KTX2, AgX colour pipeline, custom GLSL shaders and material patches, procedural sky/planet, bloom, adaptive quality, runtime batching, baked lightmaps, Vercel deploy). Use whenever the user wants to create, improve, fix, render, or iterate on a Blender model or scene — "improve the model", "make it look stunning", "render this", "make a 3D web demo", "export to GLB", "use blender", "looks wrong in the browser", "optimize the 3D scene", "add shaders", "it's slow", or screenshot-driven feedback on a 3D asset. Also for debugging a Three.js viewer that renders black, glows wrong, or loses/detaches parts, and for choosing Blender MCP vs headless CLI. Ships a runnable demo model and viewer template.

★ 0
endman100
endman100/skill-router-nexus

guizang-ppt-skill

生成横向翻页网页 PPT(单 HTML 文件),含 WebGL 背景、章节幕封、数据大字报、图片网格等模板。提供两种风格:① "电子杂志 × 电子墨水"(衬线 + 流体背景 + 暖色) ② "瑞士国际主义"(无衬线 + 网格点阵 + IKB/柠檬黄/柠檬绿/安全橙高亮)。当用户需要制作分享 / 演讲 / 发布会风格的网页 PPT,或提到"杂志风 PPT"、"瑞士风 PPT"、"Swiss Style"、"horizontal swipe deck"时使用。

图像与多媒体Skill与智能体开发
★ 0
endman100
endman100/skill-router-nexus

youtube-clipper

YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video

★ 0
endman100
endman100/skill-router-nexus

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

邮件与沟通图像与多媒体
★ 0
endman100
endman100/skill-router-nexus

create-master

基于佛教经典文献,生成特定高僧大德的 AI 教学角色

教师与教育
★ 0
endman100
endman100/skill-router-nexus

writing-dna-skill

从至少 20 篇完整文章中蒸馏可复用的写作 DNA,分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格,并生成 Writing-DNA.md;按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.

内容创作者写作与文案Skill与智能体开发
★ 0