Communitygithub.com

bergside/awesome-design-skills

受Shadcn/ui啟發的設計,採用極簡、乾淨的元件、單色調色盤及工具優先模式。

awesome-design-skills 是什麼?

這個技能是一個基於 Shadcn/ui 設計系統的通用指南,專門為工程師與設計師提供可直接實作的實用指引。它定義了極簡、乾淨的視覺風格、完整的字體與色彩代碼(如主要色 #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.

相關技能