Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计异常

design设计

Agent Skill

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

总安装

312

周安装

13

GitHub Stars

8

下载量

104
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

design 用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化,适合让 Agent 根据产品场景整理页面结构、生成 UI 方案或改进组件层级。

  • 它强调结合现有品牌、设计系统和用户任务进行创作,避免堆砌装饰元素;适用于构建具有专业质感的用户界面。
  • 使用时需先参考项目中的 DESIGN.md 文件作为设计系统依据,涉及真实页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装前请核实来源仓库路径及维护状态,注意该技能不直接生成代码,而是提供设计方向和约束规则供后续开发参考。
  • design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

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

平台分布

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 复核。

安装前确认

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

来源信息

继续浏览同类 Skills