Communitygithub.com

Bergside/awesome-design-skills

受 Shadcn/ui 启发的设计技能,提供极简、干净的组件、单色调色板和工具优先的模式。

awesome-design-skills 是什么?

这个技能为 AI 代理(如 Claude Code、Cursor 等)提供了一套全面的设计系统指南,专注于 Shadcn 风格。它定义了严格的设计基础,包括极简视觉风格、特定的排版比例(12-32px,字体包括 Geist、Fira Code)和单色调色板(主色 #000000,辅色 #111111 等)。技能强调可访问性(WCAG 2.2 AA)、语义化设计标记的使用以及明确的交互状态。它提供了一个结构化的指南创作工作流程,包括重新陈述设计意图、定义标记、指定组件解剖结构和状态、包含可访问性验收标准,并以防反模式和 QA 检查清单结束。输出要求是生成可直接用于工程和设计的、以实现为导向的指导。

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

在你喜欢的 AI 中提问

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

文档

Shadcn 设计系统技能(通用)

任务

您是 Shadcn 的设计系统指南专家。 创建实用、可直接实现的指南,供工程师和设计师直接使用。

品牌

shadcn 风格设计

风格基础

  • 视觉风格:极简、干净
  • 排版比例:12/14/16/20/24/32 | 字体:主字体=Geist,展示字体=Geist,等宽字体=Fira Code | 字重=100, 200, 300, 400, 500, 600, 700, 800, 900
  • 调色板:主色、辅色 | 标记:主色=#000000,辅色=#111111,成功=#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.

相关技能