Token导航 LogoToken导航

Agent Skill · 前端设计

design(设计)

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

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

总安装 312周安装 13GitHub Stars 8下载 104核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/derklinke/codex-config --skill design

这个 Skill 是做什么的

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

design 用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化,适合让 Agent 根据产品场景整理页面结构、生成 UI 方案或改进组件层级。它强调结合现有品牌、设计系统和用户任务进行创作,避免堆砌装饰元素;适用于构建具有专业质感的用户界面。

使用时需先参考项目中的 DESIGN.md 文件作为设计系统依据,涉及真实页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。安装前请核实来源仓库路径及维护状态,注意该技能不直接生成代码,而是提供设计方向和约束规则供后续开发参考。design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

design 怎么安装?

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

design 支持哪些 AI 工具?

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

design 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

design 是免费的吗?

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

design 用的人多吗?

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

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

设计 · 本页

3128需要联网未明确未通过

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

SKILL.md 原文

Use this skill FIRST for any UI-facing task. Do not jump straight to implementation patterns, component tweaks, or styling edits before setting design direction and applying these guardrails.

If this skill applies and you skip it, generic UI is the usual result: weak hierarchy, default-library aesthetics, and interaction quality that feels assembled rather than designed.

Related Skills

Routing discipline:

  • Announce design-skill usage before substantial UI work.
  • Establish design direction before writing or revising UI code.
  • Route specialized subproblems immediately after direction-setting: motion to design-interaction-motion-craft; marketing copy to copywriting; anti-slop copy polish to humanizer.
  • Keep shared goal explicit: we want interfaces that feel intentional, usable, and specific to the product.

Craft foundations:

  • Use subtle layering: surfaces should differ just enough to express hierarchy.
  • Keep borders quiet but legible; avoid border-forward composition.
  • Pick one depth strategy per screen family (borders-only, subtle shadows, or layered shadows), do not mix arbitrarily.
  • Typography is structural; semantics and hierarchy outrank decoration.
  • Controls and data require full state coverage: default, hover/focus/active/disabled, plus loading/empty/error/success for data flows.

Integrated Web Execution Guardrails

Use this block when implementing web UI code.

Architecture + dependency rules:

  • Verify dependencies in package.json before importing third-party packages.
  • Default to React/Next.js server-first composition; isolate interactive leaf components with 'use client'.
  • Keep global state for real shared-state needs; use local state by default.
  • Tailwind version lock: do not emit v4 syntax into v3 projects.

Layout + responsiveness hard constraints:

  • Never use h-screen for full-height hero sections; use min-h-[100dvh].
  • Prefer grid for multi-column structures; avoid fragile flex percentage math.
  • Use stable container bounds (max-w-7xl or equivalent) and explicit breakpoint behavior.
  • High-variance desktop layouts must collapse to strict single-column on small viewports.

Interaction + motion constraints:

  • Ship full state cycles: loading, empty, error, success/confirmation.
  • Use transform/opacity for animation; avoid layout-property animation.
  • Isolate heavy perpetual motion in small client components; avoid parent re-render coupling.
  • Use stagger orchestration intentionally; parent/children choreography must share one client tree.
  • If MOTION_INTENSITY > 5, prefer Framer motion values over React render-loop state for continuous hover/physics effects.
  • Do not mix GSAP/Three and Framer in the same component tree; isolate engine boundaries.

Performance constraints:

  • Keep decorative grain/noise off scrolling containers.
  • Use strict z-index scales; avoid arbitrary z-index inflation.
  • Ensure animation effects degrade safely under reduced-motion preferences.

Anti-generic enforcement (critical examples):

  • Avoid AI fingerprint patterns: neon glows, purple/blue default gradient palettes, decorative gradient headline text, repetitive equal-card triplets, templated hero-metric blocks.
  • Do not rely on emoji as interface icons.
  • Avoid placeholder-data clichés (generic names, synthetic round numbers, fake startup naming).
  • If using component libraries, customize tokens/radii/shadows to product identity; never ship untouched defaults.
  • Avoid centered-template bias for higher-variance layouts (DESIGN_VARIANCE > 4): prefer split or asymmetric compositions.
  • For dense dashboard contexts, avoid unnecessary card boxing; use spacing/dividers when elevation is not semantically needed.

Priority order for fixes when tradeoffs exist:

  1. Accessibility
  2. Touch/interaction correctness
  3. Performance
  4. Layout/responsiveness
  5. Typography/color system
  6. Animation quality
  7. Style/data-viz polish

Pre-delivery checks:

  • visible keyboard focus + valid contrast
  • tap targets at or above platform minimums
  • no unintentional mobile horizontal scroll
  • no hidden content under fixed headers
  • prefers-reduced-motion respected
  • interactive affordances visibly interactive
  • iconography is consistent and non-emoji
  • motion timing stays in controlled ranges and avoids novelty fatigue
  • light/dark readability and border legibility are verified

Design Direction

Before implementation, commit to a BOLD aesthetic direction:

  • Purpose: What problem does this interface solve? Who uses it?
  • Tone: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
  • Constraints: Technical requirements (framework, performance, accessibility).
  • Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?

CRITICAL: Choose a clear conceptual direction and execute it with precision before coding major UI structure. Bold maximalism and refined minimalism both work; uncommitted middle-ground usually reads as template output.

Then implement working code that is:

  • Production-grade and functional
  • Visually striking and memorable
  • Cohesive with a clear aesthetic point-of-view
  • Meticulously refined in every detail

Contrasting Aesthetics Protocol

→ *Consult contrasting aesthetics reference when composing mixed visual languages.*

  • Define a dominant base aesthetic first; treat contrast as a controlled deviation.
  • Keep 2-3 invariants stable (for example grid rhythm, typography cadence, token semantics).
  • Vary only one or two axes at once (shape, saturation, texture, motion character).
  • Use strongest contrast for low-frequency/high-significance moments, not repetitive UI loops.
  • If contrast reduces scannability or affordance clarity, reduce it before polishing.

Gestalt + Hierarchy Protocol

→ *Consult Gestalt and hierarchy reference when structuring any screen.*

  • Design grouping intentionally: proximity and similarity are interpreted as relationship by default.
  • Keep grouping cues aligned: spacing, enclosure, type scale, and color contrast should point to the same hierarchy.
  • Use a limited emphasis ladder (for example primary/secondary/tertiary) and reserve strongest contrast for highest-priority tasks.
  • Keep figure-ground separation explicit for interactive elements; avoid ambiguous layered surfaces.
  • Ensure semantic structure (headings/order) matches visual hierarchy; never rely on visual styling alone for meaning.

Grid Discipline Protocol

→ *Consult Müller-Brockmann grid systems reference when defining layout structure.*

  • Treat the grid as a decision system (columns, gutters, margins, baseline), not decorative scaffolding.
  • Select grid complexity from content hierarchy and density; avoid arbitrary field counts.
  • Keep baseline and column rhythm stable across related surfaces to preserve scanning continuity.
  • Use a small sanctioned set of spans/placements; prefer repeatable composition patterns over ad-hoc placement.
  • Break the grid only for high-significance moments; return immediately to system rhythm.
  • If rigid adherence harms comprehension, adjust the grid model rather than forcing content into it.
  • Remember: grid discipline improves clarity probability; it does not replace typographic and semantic judgment.

Emotional Design Protocol (Norman)

→ *Consult emotional design reference when shaping emotional quality.*

  • Frame desired emotional outcome per user context before visual polish.
  • Evaluate and design at all three levels:

- Visceral: first impression, sensory tone, immediate affect. - Behavioral: usability-in-action, perceived competence and control. - Reflective: meaning, identity, memory, and long-term attachment.

  • Resolve cross-level conflicts: never trade behavioral usability for visceral novelty.
  • Prioritize interventions that reinforce at least two levels simultaneously.
  • Validate with lightweight checks:

- first-impression read (visceral) - task success/effort (behavioral) - recall/meaning signal (reflective)

Frontend Aesthetics Guidelines

Typography

→ *Consult typography reference for scales, pairing, and loading strategies.*

Choose fonts that are beautiful, unique, and interesting. Pair a distinctive display font with a refined body font.

DO: Use a modular type scale with fluid sizing (clamp) DO: Vary font weights and sizes to create clear visual hierarchy DON'T: Use overused fonts—Inter, Roboto, Arial, Open Sans, system defaults DON'T: Use monospace typography as lazy shorthand for "technical/developer" vibes DON'T: Put large icons with rounded corners above every heading—they rarely add value and make sites look templated

Color & Theme

→ *Consult color reference for OKLCH, palettes, and dark mode.*

Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.

DO: Use modern CSS color functions (oklch, color-mix, light-dark) for perceptually uniform, maintainable palettes DO: Tint your neutrals toward your brand hue—even a subtle hint creates subconscious cohesion DON'T: Use gray text on colored backgrounds—it looks washed out; use a shade of the background color instead DON'T: Use pure black (#000) or pure white (#fff)—always tint; pure black/white never appears in nature DON'T: Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds DON'T: Use gradient text for "impact"—especially on metrics or headings; it's decorative rather than meaningful DON'T: Default to dark mode with glowing accents—it looks "cool" without requiring actual design decisions

Layout & Space

→ *Consult spatial reference for grids, rhythm, and container queries.*

Create visual rhythm through varied spacing—not the same padding everywhere. Embrace asymmetry and unexpected compositions. Break the grid intentionally for emphasis.

DO: Create visual rhythm through varied spacing—tight groupings, generous separations DO: Use fluid spacing with clamp() that breathes on larger screens DO: Use asymmetry and unexpected compositions; break the grid intentionally for emphasis DON'T: Wrap everything in cards—not everything needs a container DON'T: Nest cards inside cards—visual noise, flatten the hierarchy DON'T: Use identical card grids—same-sized cards with icon + heading + text, repeated endlessly DON'T: Use the hero metric layout template—big number, small label, supporting stats, gradient accent DON'T: Center everything—left-aligned text with asymmetric layouts feels more designed DON'T: Use the same spacing everywhere—without rhythm, layouts feel monotonous

Visual Details

DO: Use intentional, purposeful decorative elements that reinforce brand DON'T: Use glassmorphism everywhere—blur effects, glass cards, glow borders used decoratively rather than purposefully DON'T: Use rounded elements with thick colored border on one side—a lazy accent that almost never looks intentional DON'T: Use sparklines as decoration—tiny charts that look sophisticated but convey nothing meaningful DON'T: Use rounded rectangles with generic drop shadows—safe, forgettable, could be any AI output DON'T: Use modals unless there's truly no better alternative—modals are lazy

Motion

→ *Consult motion reference for timing, easing, and reduced motion.*

Focus on high-impact moments: one well-orchestrated page load with staggered reveals creates more delight than scattered micro-interactions.

DO: Use motion to convey state changes—entrances, exits, feedback DO: Use exponential easing (ease-out-quart/quint/expo) for natural deceleration DO: For height animations, use grid-template-rows transitions instead of animating height directly DON'T: Animate layout properties (width, height, padding, margin)—use transform and opacity only DON'T: Use bounce or elastic easing—they feel dated and tacky; real objects decelerate smoothly

Interaction

→ *Consult interaction reference for forms, focus, and loading patterns.*

Make interactions feel fast. Use optimistic UI—update immediately, sync later.

DO: Use progressive disclosure—start simple, reveal sophistication through interaction (basic options first, advanced behind expandable sections; hover states that reveal secondary actions) DO: Keep gesture semantics consistent across the product; same gesture family should imply same intent class DO: For high-frequency flows, prioritize predictable low-novelty interactions over expressive effects DO: Ensure touch interactions preserve feedback visibility (avoid finger-occluded critical state) DO: Design empty states that teach the interface, not just say "nothing here" DO: Make every interactive surface feel intentional and responsive DON'T: Repeat the same information—redundant headers, intros that restate the heading DON'T: Make every button primary—use ghost buttons, text links, secondary styles; hierarchy matters DON'T: Gate all feedback behind thresholds; users need immediate coupled response before commit

Responsive

→ *Consult responsive reference for mobile-first, fluid design, and container queries.*

DO: Use container queries (@container) for component-level responsiveness DO: Adapt the interface for different contexts—don't just shrink it DON'T: Hide critical functionality on mobile—adapt the interface, don't amputate it

UX Writing

→ *Consult ux-writing reference for labels, errors, and empty states.* → *Route generation and refinement to copywriting + humanizer.*

DO: Make every word earn its place DON'T: Repeat information users can already see


The AI Slop Test

Critical quality check: If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.

A distinctive interface should make someone ask "how was this made?" not "which AI made this?"

Review the DON'T guidelines above—they are the fingerprints of AI-generated work from 2024-2025.


Implementation Principles

Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details.

Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations.

Remember: {{model}} is capable of extraordinary creative work. Don't hold back—show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

平台分布

Codex

37.66%
按下载量换算39

Claude

29.95%
按下载量换算31

Cursor

20.66%
按下载量换算21

Gemini CLI

9.41%
按下载量换算10

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills