Token导航 LogoToken导航

Agent Skill · 前端设计

frontend-design(前端设计)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

frontend-design 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 3,537。

总安装 1,272周安装 53GitHub Stars 20下载 424核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-design(前端设计)
来源仓库:https://github.com/ilm-alan/frontend-design
仓库路径:skills/frontend-design
安装命令:
npx skills add https://github.com/ilm-alan/frontend-design --skill frontend-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ilm-alan/frontend-design --skill frontend-design

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

frontend-design 用于辅助前端开发,支持 React、Vue、Tailwind 等框架。可生成或审查组件代码,定位布局和性能问题。需结合项目现有设计系统、路由和构建方式使用。页面改动后应配合本地预览和构建检查确认视觉效果。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/frontend-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ilm-alan/frontend-design --skill frontend-desi…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

frontend-design 怎么安装?

在终端执行 npx skills add https://github.com/ilm-alan/frontend-design --skill frontend-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

frontend-design 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

frontend-design 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

frontend-design 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

frontend-design 用的人多吗?

公开数据是累计安装 1,272 次,近一周安装 53 次,下载 424 次,GitHub 20 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

frontend-design 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
frontend-design

前端设计 · 本页

1,27220操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Frontend Design Skill

Eight anchors. Each is a distinct aesthetic territory locked to specific CSS tokens. Pick one per brief. Match its tokens.

Reach for the unexpected. Fidelity to the anchor. Discipline on the content. Nothing left to default.

1. How to work

Before writing code, run this sequence:

  1. Context — Identify purpose, audience, domain, content density. State the problem in one sentence.
  2. Anchor — Pick one. Lean unexpected. A Swiss punk record label, an Industrial florist, a Brutalist luxury watchmaker, an Aurora tax app, a Chaotic law firm, a Retro-Futuristic wedding photographer, an Organic trading terminal, a Lo-Fi luxury hotel — each more distinctive than its safe counterpart. Safe pairings produce generic work. Unexpectedness is surface-level — what a first-time viewer sees. Don't let "users are technical" or "it's really a data tool" route every brief to Industrial. State the choice and the reason in one line.
  3. Differentiator — Define one memorable anchor-internal move: a signature interaction, a typographic gesture, a layout motif, or a material treatment. One sentence. Describable. Visible in the rendered output.
  4. System — Match the chosen anchor's tokens exactly. Picking Swiss means white + sans + grid, not "some flavor of clean."
  5. Implementation — Outline structure, then build. Content on screen is authored to the discipline in §2 — no fabrication, no filler, no themed replacement for standard UI copy.

Commit fully to one anchor. Hybridising ("Swiss with Brutalist edge") is a category error — each signature excludes the others by construction.


2. Content is not design

Design is visuals — palette, typography, structure, texture. Content — every string, number, and label on screen — is authored separately and has its own discipline. Token fidelity is not a defence against content slop.

The rule: every string on screen must either name real information from the product, or be authored content that knows what it is — headline, button label, legal body, form field name, sample data that reads as sample. What's forbidden is content pretending to be something it isn't.

Forbidden:

  • Fabrication posing as real data. Invented session personas (a.chen@grid.co), fake telemetry (GRID.FREQ 59.998 Hz, BUILD 8.2.0-rc3). If a slot has no real content, leave it empty — do not fabricate to make the screen look alive.
  • Filler labels. Mono-caps subtitles nobody asked for (SECURE OPERATOR AUTHENTICATION under a login masthead), //-prefixed kickers pretending to be code comments (// INTELLIGENCE LAYER). If removing the string removes no information, it was filler.
  • Themed replacement of standard UI copy. Authenticate Session instead of Next; Remember this operator instead of Remember me. Standard copy for standard actions. Themed copy is a tax that must be paid with actual utility.
  • Unicode glyphs as icon substitutes. ▣ Dashboard, ◊ Market Navigator. Either use a real icon set or use nothing. ASCII art is not iconography.
  • AI-slop register. The model recognises this. Twee subcopy on serious surfaces (Ask the grid.), synth-sci-fi status strips on mundane B2B, ornamental "seam"/"joinery" flourishes pretending to be structural. Recognise it in your own output; cut it before the reviewer does.

3. The eight anchors

Each anchor locks specific CSS tokens. Picking the anchor commits to those tokens. If the rendered output drifts outside them, the anchor didn't hold.

1. Swiss

Surface: Pure white #FFFFFF or neutral #F7F7F8. Typography: Akzidenz-Grotesk, Helvetica Neue, or Söhne — sans display and body, one family. Accent: Swiss Red #E4002B, International Orange #FF4F00, or Yves Klein Blue #002FA7 — one, used deliberately. Structure: visible grid lines or 1 px hairline rules. Left-aligned typography; asymmetric balance. Numerals as composition elements (dates, folio numbers, page markers set in condensed sans).

Breaks if: warm paper, serif display, grain texture, or centered typography appears.

2. Industrial

Surface: Pitch black #000000 or warm-black #0B0C0A. Typography: IBM Plex Mono, JetBrains Mono, or Berkeley Mono — mono for display and body. Signal color: one semantic — green #00E676, red #FF3B30, amber #FFB800, or acid lime #C6FF4A. Structure: flat; 1 px borders instead of shadows. Tabular numerics via font-variant-numeric: tabular-nums.

Breaks if: serif typography, proportional fonts, warm paper, any grain, decorative shadows, or rounded corners appear.

3. Brutalist

Surface: Pure primary or anti-primary — #FF0000, #0000FF, #FFFF00, #000000, #FFFFFF. Pick 2–3, compete equally. Typography: system fonts only — Times New Roman, Helvetica, Courier, Arial, system-ui. Mix faces deliberately. Shadows: hard offset, no blur — box-shadow: 8px 8px 0 #000. Controls: native browser — unstyled <button>, default <select>, underlined blue links that stay blue. Margins crushed; type runs edge-to-edge.

Breaks if: webfonts, tuned hex beyond pure primaries, soft shadows, rounded corners, or centered layout appear.

4. Aurora Maximalism

Surface: Dark saturated gradient — linear-gradient or conic-gradient through violet #5D34D0 → magenta #FF006E → cyan #00F0FF, or #3B82F6 → #A855F7 → #EC4899. Typography: Inter Variable, PP Neue Machina, or Sharp Grotesk for oversized display (15–25 vw). Texture: mesh gradient as primary surface feature; neon text-shadow glow on accents (0 0 20px <accent>). Motion: spring-physics orchestration, scroll-linked parallax.

Breaks if: flat backgrounds, warm paper, restraint, or hairline rules as primary structure appear.

5. Chaotic Maximalism

Surface: Clashing palette — pastels *and* neons in the same composition. Hot pink #FF71CE + acid yellow #DFFF00 + cyan #00FFFF + any third. Typography: mixed faces deliberately colliding — 3+ faces from different registers on the same page. Texture: patterns on every surface (squiggles, dots, zigzags, checker — SVG or repeating-linear-gradient). Oversized display crashing against busy ground.

Breaks if: coherent palette, single typeface, whitespace as structural element, or 60/30/10 dominance appears.

6. Retro-Futuristic

Surface: Pitch black #0A0014 or deep navy-black. Typography: period-specific — VT323 (CRT), Orbitron (synthwave), Space Mono (cyberpunk), Monoton (Miami-neon), Press Start 2P (arcade), IBM Plex Mono (terminal). Accent: neon pair — magenta #FF006E + cyan #00FFFF (synthwave) or phosphor green #00FF41 + amber #FFB000 (terminal). Texture: CRT scanlines via ::before repeating-linear-gradient overlay, or chromatic aberration (text-shadow: 2px 0 #FF0000, -2px 0 #00FFFF), or both. Glow committed.

Breaks if: flatness, modern sans-serifs (Inter, Söhne), paper surfaces, or absence of texture appears.

7. Organic

Surface: Earth tones — sage #8B9D83, clay #B08B6E, terracotta #C66B3D, ochre #C08E3A, moss #606C38. When a light surface is needed: sand #E8DCC7 or oat #D4B895. Never cream #F0-F8 warm-paper range. Typography: humanist serif (Freight, Caslon, Fraunces — Fraunces is restricted to this anchor only) or warm geometric sans (Greycliff, Epilogue, Recoleta). Structure: rounded corners 16–32 px. Texture: grain at 1–3 % via SVG feTurbulence. Motion: gentle ease 300–500 ms, breathing animations on hero elements.

Breaks if: cream backgrounds (warm-tinted #F0+), cold greys, pure whites, pure blacks, or hard rectangles appear.

8. Lo-Fi

Surface: Paper-yellow #E8E0C0 or #EDE4CF — more saturated than cream. Typography: mixed system fonts on the same page (Times + Helvetica + Courier colliding deliberately). Structure: rotated elements (2–8° off-grid via transform: rotate). Texture: halftone dot transitions (SVG pattern or radial-gradient tile) on imagery; Risograph misregistration (2–4 px RGB channel offset via text-shadow: 3px 0 #FF006E, -3px 0 #00FFCC). SVG staple, tape, torn-edge elements.

Breaks if: precision, single typeface, smooth motion, rectangles squared to the grid, or cream (the surface is specifically paper-yellow, more saturated) appears.


4. Output

Every implementation delivers:

  • Stated direction — A short preamble in a designer's prose before the code, naming: the chosen anchor, why this pairing over the safe one, the differentiator, and the key palette / typefaces / texture choices pulled from the anchor. Written with conviction, not as a checklist.
  • Token fidelity — The rendered CSS matches the anchor's tokens exactly. If Swiss is chosen, the CSS contains no warm paper, no Fraunces, no grain. If Industrial is chosen, every typeface declared is monospace. Token drift means the anchor didn't hold.
  • Content discipline — Every string, number, and label on screen names real information or is authored content that knows what it is. No fabricated data, no filler labels, no themed replacement for standard UI copy, no unicode-glyph icons. Token fidelity alone is not sufficient; content ships too.
  • Differentiator visible — The one memorable move is implemented in the rendered output, not merely described.

5. Before shipping

  • Unexpected pairing — Did the choice reach for creative tension, or default to the safe pairing?
  • Token fidelity — Does every rendered token live inside the anchor's allowed range? If tokens appear that the anchor doesn't allow, the anchor didn't hold.
  • Content discipline — Every label names real information; standard UI copy for standard actions; no fabrication, filler mono-caps, // kickers, unicode-glyph icons, twee subcopy, or AI-slop register. If any appeared, cut.
  • Differentiator visible — Is the memorable anchor-internal move actually rendered?
  • Hybrid resistance — Was one anchor held, or did the execution drift into "Swiss with Brutalist edge"?

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

约束排版、色彩、动效和空间布局

能力 3

提醒避免通用模板化设计

能力 4

要求生成可运行的前端实现

平台分布

Codex

37.28%
按下载量换算158

Claude

31.12%
按下载量换算132

Cursor

18.74%
按下载量换算79

Gemini CLI

9.49%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills