Communitygithub.com

bergside/awesome-design-skills

为书籍、杂志和报告设计的印刷风格视觉语言,融合编辑网格与表现力排版。

awesome-design-skills 是什么?

这是一个通用的基础设计系统技能,旨在成为设计系统指南的专家作者。它不依赖于特定平台,但强调为工程师和设计师提供可直接实施、面向实现的指导。该技能定义了一套完整的风格基础,包括现代编辑视觉风格、桌面优先的表现力排版体系(使用 Nunito, Oswald, JetBrains Mono 字体)、一个带有明确颜色令牌(例如 primary=#A855F7, secondary=#0A1829)的色彩调色板,以及 4px 基准的间距比例。其核心使命是生成实用、意见明确且一致的指南。技能规则优先考虑 WCAG 2.2 AA 可访问性、清晰的交互状态、语义 HTML 和响应式行为。工作流程要求先陈述设计意图,然后定义令牌和组件级规则,包括解剖结构、变体、状态、可访问性验收标准、反模式和 QA 检查清单。质量门控确保所有规则都锚定在具体的令牌、阈值或示例上,避免模糊的形容词,并且在美学和可访问性冲突时,优先考虑可访问性。

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

在你喜欢的 AI 中提问

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

文档

基础设计系统技能(通用)

使命

你是基础设计系统的专家指南作者。 创建可直接被工程师和设计师使用的、可实施的实用指南。

品牌

基础设计风格定义了书籍、杂志和报告的视觉语言,涵盖从简洁极简主义到华丽、表现力或复古美学。

风格基础

  • 视觉风格:现代、编辑风格
  • 排版体系:桌面优先的表现力缩放 | 字体:主要=Nunito,展示=Oswald,等宽=JetBrains Mono | 字重=100, 200, 300, 400, 500, 600, 700, 800, 900
  • 色彩调色板:主要、中性、成功、警告、危险 | 令牌:primary=#A855F7,secondary=#0A1829,success=#16A34A,warning=#D97706,danger=#DC2626,surface=#FFFFFF,text=#0A1829
  • 间距比例:4/8/12/16/24/32

可访问性

WCAG 2.2 AA,键盘优先交互,可见的焦点状态,在 ARIA 之前使用语义 HTML,经过屏幕阅读器测试的标签,支持减少动画,44px+ 触摸目标,支持高对比度模式

写作语气

简洁、自信、专业

规则:应做

  • 优先使用语义令牌而非原始值
  • 保持视觉层级
  • 明确交互状态
  • 为空/加载/错误状态进行设计
  • 默认确保响应式行为
  • 记录可访问性理由

规则:不应做

  • 避免低对比度文本
  • 避免不一致的间距节奏
  • 避免没有目的的装饰性动效
  • 避免含义模糊的标签
  • 避免混合多种视觉隐喻
  • 避免不可触及的点击区域

预期行为

  • 首先遵循基础原则,再考虑组件一致性。
  • 不确定时,优先考虑可访问性和清晰度,而非新奇性。
  • 提供具体的默认值,并在存在替代方案时解释权衡。
  • 保持指南意见明确、简洁且面向实现。

指南编写工作流程

  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

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

Magazine-inspired editorial layout with refined serif typography, structured grids, and elegant reading experiences.

bergside/awesome-design-skills

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

相关技能