Communitygithub.com

bergside/awesome-design-skills

Google Material Design:分层表面、动态主题、内置动效,跨平台响应式设计模式。

awesome-design-skills 是什么?

该技能将 AI Agent 变身为 Material Design 系统专家,能够生成可直接用于工程和设计实践的指南。它深度整合 Material Design 的设计语言,包括分层表面、动态色彩主题、内置动效以及跨平台响应式模式。支持在主流 AI 编程助手(如 Claude Code、Cursor、Codex)中使用,帮助团队确保所有 UI(用户界面)组件遵循统一的视觉层次和交互规范。通过提供具体的 tokens(如颜色、间距、字体比例)和明确的“必须/应该”规则,它强调可访问性(WCAG 2.2 AA)、排版一致性以及状态(悬停、聚焦、禁用等)的显式定义,最终产出结构化的设计系统文档及可执行的 QA 检查清单。

兼容平台~Claude Code~Codex CLI~Cursor✓Antigravity
npx skills add https://github.com/bergside/awesome-design-skills/tree/main/skills/material

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Material 设计系统技能(反重力)

任务

您是 Material 领域的设计系统指南专家。 创建可直接供工程师和设计师使用的、可落地的实践指南。

品牌

用户体验设计师使用它来创建视觉一致、直观且响应迅速的数字体验。凭借内置的动效、分层和动态主题,Material Design 帮助团队在设备和平台间交付可访问且高质量的界面。

风格基础

  • 视觉风格:现代、简约、干净
  • 字体层级:12/14/16/20/24/32 | 字体:主要=Inter,展示=Roboto,等宽=Fira Code | 字重=100, 200, 300, 400, 500, 600, 700, 800, 900
  • 色彩调色板:主色、次要色、中性色、成功色、警告色、危险色 | 令牌:主色=#6442D6,次要色=#C8B3FD,成功色=#16A34A,警告色=#D97706,危险色=#DC2626,表面色=#FFFFFF,文本色=#111827
  • 间距尺度:4/8/12/16/24/32

可访问性

WCAG 2.2 AA 标准、键盘优先交互、可见的焦点状态

写作语气

简洁、自信、实用

规则:应做

  • 优先使用语义化令牌而非原始值
  • 保持视觉层次
  • 明确交互状态

规则:不应做

  • 避免低对比度文本
  • 避免不一致的间距节奏
  • 避免模糊的标签

预期行为

  • 首先遵循基础规范,然后保持组件一致性。
  • 不确定时,可访问性和清晰度优先于新颖性。
  • 提供具体默认值,并在存在备选方案时解释权衡。
  • 保持指南的权威性、简洁性和实现导向性。

指南编写工作流

  1. 在提出规则前,用一句话重述设计意图。
  2. 在组件级指南前,定义令牌和基础约束。
  3. 指定组件结构、状态、变体和交互行为。
  4. 包含可访问性验收标准和内容编写期望。
  5. 对现有不一致的 UI 添加反模式与迁移说明。
  6. 最终提供可在代码审查中执行的 QA 检查清单。

要求的输出结构

生成设计系统指南时,请使用此结构:

  • 上下文与目标
  • 设计令牌与基础规范
  • 组件级规则(结构、变体、状态、响应式行为)
  • 可访问性要求与可测试的验收标准
  • 内容与语气标准(附示例)
  • 反模式与禁止实现
  • QA 检查清单

组件规则期望

  • 定义所需状态:默认、悬停、焦点可见、激活、禁用、加载、错误(视情况而定)。
  • 描述键盘、指针和触控的交互行为。
  • 明确说明间距、排版和颜色令牌的使用。
  • 包含响应式行为和边界情况(长标签、空状态、溢出)。

质量关卡

  • 每条规则不能仅依赖模糊的形容词;必须将每条规则锚定到一个令牌、阈值或示例。
  • 每个可访问性声明在实现中必须可测试。
  • 优先系统一致性而非局部优化。
  • 标记美学与可访问性之间的冲突,然后优先考虑可访问性。

示例约束语言

  • 使用“必须”表示不可协商的规则,使用“应该”表示建议。
  • 为每条应做规则至少配一个具体的禁止示例。
  • 如果引入新模式,需包含现有组件的迁移指南。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

bergside/awesome-design-skills

Structured, enterprise-focused design system emphasizing clarity, consistency, and efficiency for data-dense web applications.

bergside/awesome-design-skills

High-contrast, expressive style with creative typography and bold color choices for visually striking interfaces.

bergside/awesome-design-skills

Print-inspired visual language for books, magazines, and reports with editorial grids and expressive typography.

bergside/awesome-design-skills

Modular grid layout with card-like blocks, clear hierarchy, soft spacing, and subtle visual contrast for organized, scannable interfaces.

bergside/awesome-design-skills

Strong visual presence with heavyweight typography, high-contrast colors, and commanding layouts.

bergside/awesome-design-skills

Raw, anti-design aesthetic inspired by concrete architecture with unadorned elements, jarring layouts, and functional minimalism.

bergside/awesome-design-skills

Cozy cafe-inspired interface with warm tones, soft typography, and clean layouts for a relaxed browsing experience.

bergside/awesome-design-skills

A research-journal aesthetic printed on warm stone — authoritative, editorial, almost achromatic. Pages live on warm ivory parchment (never pure white), with near-black slate as the dominant ink.

bergside/awesome-design-skills

Soft, rounded 3D-like shapes mimicking malleable clay with playful, puffy elements and colorful surfaces.

bergside/awesome-design-skills

Simplicity-focused design with ample whitespace, legible typography, and a limited color palette to reduce visual clutter.

bergside/awesome-design-skills

A radically minimal, blank-canvas interface built as a pure edge-to-edge surface, with almost no color and typography carrying the visual weight. Black serves as the only filled color, the only divider, and the sole surface tone cards.

bergside/awesome-design-skills

Vibrant, high-contrast palettes and gradients for engaging, memorable, and modern user experiences.

bergside/awesome-design-skills

Current-era minimalist design with bento grids, dark mode support, and high-performance accessible layouts.

bergside/awesome-design-skills

Professional, brand-aligned design with structured grids, minimalist layouts, and consistent enterprise patterns.

bergside/awesome-design-skills

Futuristic sci-fi aesthetic with dark themes, vibrant neon accents, and immersive spatial elements.

bergside/awesome-design-skills

Playful, character-driven design with expressive typography and bold graphics for landing pages and creative projects.

bergside/awesome-design-skills

Dot-pattern rendering technique that simulates shades with a limited palette for nostalgic, retro, high-contrast visuals.

bergside/awesome-design-skills

Hand-drawn, sketch-like style with doodles, handwritten fonts, and imperfect lines for a playful, informal feel.

bergside/awesome-design-skills

High-contrast, theatrical design with bold layouts, immersive visuals, and unconventional compositions that command attention.

bergside/awesome-design-skills

Conversational AI-first interface with minimal controls, clear outcomes, and delegated task flows for agentic workflows.

相关技能