Token导航 LogoToken导航

Agent Skill · 前端设计

design(设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

design 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 7,779。

总安装 343周安装 14GitHub Stars 167下载 111核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/whawkinsiv/claude-code-superpowers --skill design

这个 Skill 是做什么的

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

design 用于辅助界面设计、视觉规范和交互体验优化。适合生成 UI 方案、检查布局一致性或改进组件层级。使用时需结合品牌规范与设计系统,避免过度装饰。涉及页面改动时应通过截图或预览验证实际效果。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

design 怎么安装?

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

design 支持哪些 AI 工具?

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

design 需要什么权限?

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

design 是免费的吗?

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

design 用的人多吗?

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

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只读未明确通过
design

设计 · 本页

343167只读未明确有提醒

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

SKILL.md 原文

Design

Manage your app's design system through instructions/design-system.md - the single source of truth for all UX/UI work.

Choose Your Mode

CREATE → No design system yet, or extracting from existing code MODIFY → Have a design system, need to update it WORK WITHIN → Have a design system, building features that follow it


CREATE Mode

Generate a new instructions/design-system.md from one of these entry points:

From URL (Reference App)

Analyze a live app and extract its design patterns.

Tell AI:

Analyze the design system at [URL].
Identify: colors, typography, spacing, component patterns.
Match to recognized framework (shadcn, Material UI, Radix, etc.).
Generate instructions/design-system.md based on this analysis.

Good reference apps:

  • linear.app (minimal, fast, keyboard-focused)
  • stripe.com/dashboard (data-heavy, clear hierarchy)
  • notion.so (flexible, calm)
  • vercel.com (modern, technical)

From Code (Extract & Audit)

Paste existing source code to extract and document current patterns.

Tell AI:

Analyze this code and extract the design system:
[paste relevant components, styles, or config files]

Document: colors, typography, spacing, component specs.
Identify inconsistencies (e.g., multiple button heights, conflicting colors).
Generate instructions/design-system.md with recommendations to standardize.

What to paste:

  • Tailwind config or CSS variables
  • Button/Input/Card components
  • Theme or design token files
  • 2-3 representative page components

From Screenshot

Upload an image as a visual reference.

Tell AI:

Analyze this screenshot and extract the design system.
Identify: colors, typography, spacing, component patterns.
Match to closest recognized framework.
Generate instructions/design-system.md based on this analysis.

What to screenshot:

  • Dashboard or main app view
  • A form or data entry screen
  • Navigation (sidebar or topnav)

From Scratch

Start fresh with guided decisions.

Tell AI:

Help me create a design system for [app type].
I want it to feel like [reference: minimal/playful/professional/technical].
Primary brand color: [color or "help me choose"].
Generate instructions/design-system.md with sensible defaults.

See LAWSOFUX.md for why certain patterns work better.


MODIFY Mode

Update an existing instructions/design-system.md:

Update Values

Change colors, fonts, or spacing.

Tell AI:

Update instructions/design-system.md:
- Change primary color from [old] to [new]
- Update font from [old] to [new]
Ensure all related values are updated (hover states, etc.).

Add Patterns

Add new component types not yet documented.

Tell AI:

Add a [pricing table / data table / modal] pattern to instructions/design-system.md.
Follow existing design system values (colors, spacing, typography).
Reference: [URL or description of what you want]

See COMPONENTS.md for common SaaS component patterns.

Audit & Reconcile

Compare current code to design system, resolve drift.

Tell AI:

Audit this code against instructions/design-system.md:
[paste code]

Option A: List deviations so I can fix the code
Option B: Update design-system.md to reflect what code actually does

Always identifies:

  • Inconsistent values (3 different grays, 2 button heights)
  • Undocumented patterns (components not in design system)
  • Unused specs (documented but not implemented)

Migrate Framework

Transition from one component library to another.

Tell AI:

Migrate instructions/design-system.md from [Material UI] to [shadcn].
Keep existing colors, typography, and spacing.
Update component specs to match new framework patterns.

WORK WITHIN Mode

Reference existing instructions/design-system.md when building:

Build Feature

Follow the system when implementing new UI.

Tell AI:

Build [feature description].
Follow instructions/design-system.md for all design decisions.
Use the documented colors, typography, spacing, and component patterns.

Review Compliance

Check AI-built code against the system.

Tell AI:

Review this code for design system compliance:
[paste code]

Check against instructions/design-system.md.
Flag any deviations from documented patterns.

Answer Questions

Quick design decisions.

Tell AI:

Based on instructions/design-system.md:
- What color should [element] be?
- What spacing between [A] and [B]?
- Which button variant for [action]?

Design-System.md Structure

When CREATE mode generates the file, it follows this structure:

# Design System

## Reference
- Primary reference: [app name/URL]
- Component library: [shadcn/Material UI/Radix/custom]
- Design philosophy: [minimal/playful/professional/technical]

## Colors

### Brand
- Primary: #XXXXXX
- Primary hover: #XXXXXX

### Gray Scale
- 50: #XXXXXX (backgrounds)
- 100-400: [values]
- 500: #XXXXXX (borders, secondary text)
- 600-800: [values]
- 900: #XXXXXX (primary text)

### Semantic
- Success: #XXXXXX
- Error: #XXXXXX
- Warning: #XXXXXX

## Typography

### Font
- Family: [Inter/SF Pro/etc.]
- Fallback: system-ui, sans-serif

### Scale
- H1: 32px / 1.2 line-height / semibold
- H2: 24px / 1.25 / semibold
- H3: 20px / 1.3 / medium
- Body: 16px / 1.5 / regular
- Small: 14px / 1.5 / regular
- Tiny: 12px / 1.4 / regular

## Spacing

- Base unit: 4px
- Scale: 4, 8, 12, 16, 24, 32, 48, 64
- Component padding: 16px
- Section spacing: 32px
- Card gap: 16px

## Components

### Buttons
| Variant | Background | Text | Height | Padding | Border Radius |
|---------|------------|------|--------|---------|---------------|
| Primary | primary | white | 40px | 16px 24px | 6px |
| Secondary | gray-100 | gray-900 | 40px | 16px 24px | 6px |
| Ghost | transparent | gray-600 | 40px | 16px 24px | 6px |
| Destructive | error | white | 40px | 16px 24px | 6px |

States: hover (darken 10%), active (darken 15%), disabled (opacity 50%)

### Inputs
- Height: 40px
- Border: 1px gray-300
- Border radius: 6px
- Padding: 12px
- Focus: primary border + ring
- Error: error border
- Disabled: gray-100 background

### Cards
- Background: white
- Border: 1px gray-200 OR shadow-sm
- Border radius: 8px
- Padding: 16px or 24px

## Patterns

### Navigation
- Style: [sidebar/topnav/both]
- Width: [if sidebar, e.g., 240px]
- Behavior: [collapsible/fixed/responsive]

### Forms
- Layout: single column, labels above
- Field spacing: 16px
- Button placement: right-aligned
- Validation: inline, on blur

### Tables
- Row height: 48px
- Actions: right side
- Hover: gray-50 background
- Pagination: bottom

## Inconsistencies Found
[If extracted from existing code, list what was found and standardized]
- Example: Found 3 button heights (36px, 40px, 44px) → standardized to 40px

User Override

If you already have a instructions/design-system.md file, it takes precedence over any generated recommendations. The skill will work within your documented system.


Common Mistakes

MistakeFix
Building UI without design systemCREATE mode first, then build
Inconsistent componentsUse MODIFY → Audit & Reconcile
"It looks off but I can't say why"Check compliance against design-system.md
Reinventing patternsReference COMPONENTS.md for proven SaaS patterns
Ignoring UX principlesReference LAWSOFUX.md for why patterns work

Success Looks Like

✅ Every project has instructions/design-system.md ✅ AI builds consistent UI without repeated instructions ✅ Design decisions are documented, not guessed ✅ Code audits catch drift before it compounds ✅ New team members/contractors have clear reference


What You Decide vs. What AI Implements

You DecideClaude Code Implements
"This page's goal is getting users to create a project"Visual hierarchy that makes the CTA dominant
"We need a settings page with tabs"Tabbed layout with proper spacing and states
"The dashboard should show key metrics first"Card layout with data visualization
"Forms should validate as users type"Inline validation with clear error messages

Rule: You define the goal of each screen. AI handles the pixels.


Priority Order: What to Get Right First

Tier 1: Gets You 80% of the Way

  1. One primary action per screen — If you can't name it, the page is broken.
  2. Visual hierarchy — Size, weight, and contrast guide the eye. Most important = biggest.
  3. Consistent spacing — Use your component library's defaults. Don't manually tweak pixels.
  4. Design states — Every screen needs: empty, loading, error, success, and overflow states.

Tier 2: After Launch

  1. Mobile responsiveness — Test core flows on mobile. 50%+ of traffic may be mobile.
  2. Micro-interactions — Loading spinners, success checkmarks, smooth transitions.
  3. Keyboard navigation — Tab through every form. Escape closes every modal.

Screen-by-Screen Guidance

Dashboard

Tell AI:

Design a SaaS dashboard that shows:
- 3-4 key metric cards at the top (e.g., MRR, active users, signups this week)
- A recent activity feed or table below
- A primary CTA: "Create [your main object]"
- Empty state for new users with onboarding guidance
Use [component library]. Mobile-responsive.

Settings Page

Tell AI:

Create a settings page with tabs:
- Profile (name, email, avatar)
- Billing (current plan, usage, manage subscription link)
- Notifications (email preferences with toggles)
- [Team/API/other sections you need]
Each tab has its own save button. Show success toast on save.

Data Tables

Tell AI:

Build a data table for [items — users, projects, invoices]:
- Columns: [list your columns]
- Sortable by [which columns]
- Search/filter bar above the table
- Row actions: edit, delete (with confirmation dialog)
- Pagination for 20+ items
- Empty state: "No [items] yet. Create your first one."

Forms

Tell AI:

Create a [create/edit] form for [object]:
- Fields: [list fields with types — text, email, select, etc.]
- Validate on blur (not on every keystroke)
- Show inline errors below each field
- Submit button disabled until form is valid
- Show loading state on submit, success toast on completion

Component Selection Guide

SituationUse This
User needs to choose from 3-5 optionsRadio buttons or segmented control
User needs to choose from 6+ optionsSelect dropdown
Yes/no toggleSwitch
Confirming a destructive actionAlert dialog ("Are you sure?")
Showing transient feedbackToast notification (auto-dismiss)
Showing persistent info/warningAlert banner (stays until dismissed)
Editing a record without leaving the pageDialog or sheet (slide-out panel)
Navigating between viewsTabs (same page) or sidebar nav (different pages)
Showing user statusBadge (active, trial, overdue)

Visual Hierarchy Checklist

For every screen, verify:

  • The primary action is the most visually prominent element
  • Only ONE primary button per section (others are secondary or ghost)
  • Headings use size + weight to create clear hierarchy (h1 > h2 > h3)
  • Related items are grouped with consistent spacing
  • Labels are above inputs (not placeholder-only)
  • Color is not the only way to convey meaning (add icons or text)

Common UI Mistakes

MistakeFix
Two primary buttons side by sideOne should be secondary (outlined). Only one primary per section.
No empty stateEvery list/table needs a "nothing here yet" message with a CTA.
No loading stateShow skeleton loaders or spinners while data fetches.
Placeholder text as labelsAlways use a visible label above the input. Placeholders disappear.
Too many things on one screenProgressive disclosure: show the essentials, hide advanced options behind "Show more" or tabs.
Inconsistent alignmentLeft-align text, right-align numbers. Don't center body text.
Ignoring mobileTest your most important flow on a phone-sized screen.

平台分布

Codex

37.55%
按下载量换算42

Claude

28.89%
按下载量换算32

Cursor

20.14%
按下载量换算22

Gemini CLI

9.03%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills