Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

frontend-design前端设计

Agent Skill

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

总安装

523

周安装

22

GitHub Stars

2,184

下载量

183
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mitsuhiko/agent-commands --skill frontend-design

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。
  • 可整理组件结构或定位布局和性能问题。frontend-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 需要结合项目现有设计系统和构建方式使用。
  • 涉及页面改动时应配合本地预览和构建检查确认效果。

SKILL.md

Frontend Design Skill

Design and implement memorable frontend interfaces with a clear, intentional aesthetic. The output must be real, working code — not just mood boards. This skill is about design thinking + execution: every visual choice should be rooted in purpose and context.

When to Use

Use this skill when the user wants to:

  • Create a new web page, landing page, dashboard, or app UI
  • Design or redesign frontend components or screens
  • Improve typography, layout, color, motion, or overall visual polish
  • Convert a concept or brief into a high‑fidelity, coded interface

Inputs to Gather (or Assume)

Before coding, identify:

  • Purpose & audience: What problem does this UI solve? Who uses it?
  • Brand/voice: Any reference brands, tone, or visual inspiration?
  • Technical constraints: Framework, library, CSS strategy, accessibility, performance
  • Content constraints: Required copy, assets, data, features

If the user did not provide this, ask 2–4 targeted questions, or state reasonable assumptions in a short preface.

Design Thinking (Required)

Commit to a single, bold aesthetic direction. Name it and execute it consistently. Examples:

  • Brutalist / raw / utilitarian
  • Editorial / magazine / typographic
  • Luxury / refined / minimal
  • Retro‑futuristic / cyber / neon
  • Art‑deco / geometric / ornamental
  • Handcrafted / organic / textured

Avoid generic AI aesthetics. No “default” fonts, color schemes, or stock layouts.

Before writing code, define the system:

  1. Visual direction — one sentence that describes the vibe
  2. Differentiator — what should be memorable about this UI?
  3. Typography system — display + body fonts, scale, weight, casing
  4. Color system — dominant, accent, neutral; define as CSS variables
  5. Layout strategy — grid rhythm, spacing scale, hierarchy plan
  6. Motion strategy — 1–2 meaningful interaction moments

If the user wants code only, skip the explanation but still follow this internally.

Implementation Principles

  • Working code: HTML/CSS/JS or framework code that runs as‑is
  • Semantic & accessible: headings, labels, focus states, keyboard nav
  • Responsive: fluid layouts, breakpoints, responsive typography
  • Tokenized styling: CSS variables for colors, spacing, radii, shadows
  • Modern layout: prefer CSS Grid/Flex, avoid brittle positioning hacks

Aesthetic Guidelines

Typography

  • Typography should define the voice of the design
  • Avoid default fonts (Inter, Roboto, Arial, system stacks)
  • Use a distinct display font + a refined body font
  • Implement a clear hierarchy (size, weight, spacing, casing)

Color & Theme

  • Commit to a palette with a strong point‑of‑view
  • Avoid timid, overused gradients (e.g., purple‑to‑pink on white)
  • Use contrast intentionally and check legibility

Composition & Layout

  • Encourage asymmetry, scale contrast, overlap, or grid breaks
  • Use negative space deliberately (or controlled density if maximalist)
  • Create visual rhythm and hierarchy through spacing and alignment

Detail & Atmosphere

  • Add texture or depth when appropriate (noise, grain, subtle patterns)
  • Use shadows/glows only when they serve the concept
  • Consider unique borders, masks, or clip‑paths for distinct shapes

Motion & Interaction

  • Use motion sparingly but meaningfully
  • Favor one standout interaction over many tiny ones
  • Honor prefers-reduced-motion

Avoid

  • Cookie‑cutter hero + 3 card layouts
  • Generic gradients and default font choices
  • Unmotivated decorative elements
  • Overly flat, characterless component libraries

Deliverables

  • Provide full code with file names or component boundaries
  • Make customization easy with CSS variables or config objects
  • If assets are needed, provide inline SVGs or generative CSS patterns

Quality Checklist (Self‑validate)

  • Aesthetic direction is unmistakable
  • Typography feels intentional and expressive
  • Layout and spacing are consistent and purposeful
  • Color palette feels cohesive and legible
  • Interactions enhance the experience without clutter
  • Code runs as provided and is production‑ready

Remember: a design is only as strong as its commitment. Choose a direction and execute it relentlessly.

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

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

能力 3

提醒避免通用模板化设计

能力 4

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

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.16%
按下载量换算70

Claude

29.63%
按下载量换算54

Cursor

19.58%
按下载量换算36

Gemini CLI

9.2%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills