Token导航 LogoToken导航TokenDH.com
运维和基础设施执行命令github未标认证来源可访问clear审计通过

web-design-mastery网页设计掌握

Agent Skill

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

总安装

816

周安装

33

GitHub Stars

4

下载量

256
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anilcancakir/my-claude-code --skill web-design-mastery

简介

用于掌握网页设计的核心技能与实践。

  • 涵盖布局、配色、交互和响应式设计要点。
  • 可帮助生成高质量的前端界面方案。web-design-mastery 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,适用于多种 Agent 宿主。
  • 建议在实际项目中结合品牌系统进行定制。

SKILL.md

Web Design Mastery

Production-grade UI design principles from Refactoring UI by Adam Wathan & Steve Schoger.


Core Design Workflow

1. Start with a Feature, Not a Layout

  • Design the actual piece of functionality first
  • Don't start with navigation, sidebar, or shell
  • Details come later—work in grayscale first
  • Don't design too much—work in cycles

2. Establish Systems Before Designing

Define these systems up front to eliminate decision fatigue:

Spacing Scale (px):

TokenSizeUse Case
14Micro gaps
28Tight, within components
312Related elements
416Section padding
624Between sections
832Major separation
1248Large gaps
1664Hero spacing
2496Maximum separation

Type Scale (px):

SizeUse Case
12Labels, meta, fine print
14Body text, default
16Emphasis, subheadings
18Section headings
20Card titles
24Page section titles
30Page headings
36Hero subheading
48Hero heading
60-72Display text

Shadow Scale (5 levels):

LevelUse Case
1Buttons, subtle lift
2Cards, inputs
3Dropdowns, popovers
4Sticky elements
5Modals, dialogs

3. Build Hierarchy, Not Decoration

  • Primary: Dark color (headlines, key actions)
  • Secondary: Grey (supporting text, dates)
  • Tertiary: Light grey (metadata, copyright)

Key principles:

  • Size isn't everything—use weight and color
  • Emphasize by de-emphasizing competing elements
  • Labels are a last resort—combine with values
  • Semantics are secondary to hierarchy

4. Apply Depth Meaningfully

  • Light comes from above
  • Shadows convey elevation (closer = more attention)
  • Use two-part shadows for premium look
  • Consider overlapping elements for layers

5. Finish with Polish

  • Supercharge defaults (bullets → icons, style quotes)
  • Add accent borders for visual interest
  • Design empty states as first impressions
  • Use fewer borders—prefer shadows or spacing

Color System

Categories needed:

  1. Greys (8-10 shades): Text, backgrounds, panels, borders
  2. Primary (5-10 shades): Actions, active states, links
  3. Accents (per semantic): Success, warning, error states

Process for defining shades:

  1. Pick base color (500) that works as button background
  2. Pick edges (100 for tinted bg, 900 for text)
  3. Fill gaps: 700, 300 → 800, 600, 400, 200

Key rules:

  • Use HSL for intuitive adjustments
  • Increase saturation at lightness extremes
  • Rotate hue toward bright (60°, 180°, 300°) for lighter
  • Greys can be warm (yellow/orange tint) or cool (blue tint)
  • Accessibility: 4.5:1 contrast for normal text, 3:1 for large

Anti-Patterns

NEVER do:

  • Grey text on colored backgrounds (hand-pick colors instead)
  • Fill the whole screen when content needs less
  • Use grids religiously (fixed widths often better)
  • Ambiguous spacing (more space between groups than within)
  • Relative sizing that doesn't scale
  • Scale icons beyond intended size
  • Rely on color alone for meaning

Reference Files

For detailed guidance on specific topics:

TopicFileWhen to Read
Visual hierarchy, labels, emphasishierarchy.mdBalancing element importance
Spacing, white space, layout gridsspacing-layout.mdLayout decisions
Typography, fonts, line-heighttypography.mdText styling
HSL, shades, accessibilitycolor.mdColor palette creation
Shadows, elevation, layersdepth.mdAdding depth to UI
Borders, backgrounds, empty statesfinishing-touches.mdPolishing design

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

kilo

48.46%
按下载量换算124

OpenCode

36.36%
按下载量换算93

weavefox

13.92%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/anilcancakir/my-claude-code --skill web-design-mastery;npx skills add anilcancakir/my-claude-code --skill "web-design-mastery" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills