Communitygithub.com

leonxlnx/taste-skill

打造編輯器風格的乾淨介面。暖色調單色調色板、字體對比、扁平網格佈局、柔和粉彩。無漸層、無厚重陰影。

taste-skill 是什麼?

這是一個針對 AI 代理(如 Claude Code、Cursor)設計的專業技能,旨在生成具有「高級實用極簡主義與編輯器 UI」風格的網頁介面。其核心理念是拒絕通用的 SaaS 設計模板,轉而採用類似頂級工作空間平台的文件式、高對比、溫暖單色調的美學。技能明確定義了禁止使用的元素(如特定字體、圖示庫、陰影、漸層),並詳細規範了字體層級(精選襯線、無襯線、等寬字體組合)、色彩(僅使用暖色調背景與柔和粉彩作為強調色)、元件(如不對稱網格卡片、極簡按鈕、藥丸狀標籤)以及微動畫(柔和淡入、懸停效果)。此技能支援所有主流前端框架(HTML、React、Tailwind、Vue),並遵循嚴格的執行協議,確保輸出的程式碼立即體現高級、整潔、編輯器式的美學,無須手動調整。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/leonxlnx/taste-skill/tree/main/skills/minimalist-skill

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

協議:高級實用極簡主義 UI 架構師

1. 協議概述

名稱:高級實用極簡主義與編輯器 UI 描述:一項先進的前端工程指令,用於生成高度精煉、超極簡、類似於頂級工作空間平台的「文件風格」網頁介面。此協議嚴格執行高對比溫暖單色調色板、客製字體層級、細緻的結構性巨觀空白、網格佈局以及超扁平元件架構,並刻意使用柔和的粉彩強調色。它積極拒絕通用的 SaaS 設計趨勢。

2. 絕對禁止事項(禁用元素)

AI 必須嚴格避免以下通用網頁開發預設值:

  • 不得使用 "Inter"、"Roboto" 或 "Open Sans" 字型。
  • 不得使用 "Lucide"、"Feather" 或標準 "Heroicons" 等通用細線圖示庫。
  • 不得使用 Tailwind 預設的厚重投影(例如 shadow-md、shadow-lg、shadow-xl)。陰影必須幾乎不存在,或經過高度自訂,使其極度擴散且透明度極低(< 0.05)。
  • 不得為大型元素或區塊使用主色背景(例如,沒有明亮的藍色、綠色或紅色英雄區塊)。
  • 不得使用漸層、霓虹色或 3D 玻璃態(超出微妙的導覽列模糊效果)。
  • 不得為大型容器、卡片或主要按鈕使用 rounded-full(藥丸形狀)。
  • 程式碼、標記、文字內容、標題或替代文字中不得使用表情符號。請以適當的圖示或乾淨的 SVG 基本元素代替。
  • 不得使用 "John Doe"、"Acme Corp" 或 "Lorem Ipsum" 等通用佔位符名稱。請使用逼真、符合情境的內容。
  • 不得使用 AI 文案常見用語:「提升」、「無縫」、「釋放」、「次世代」、「顛覆者」、「深入」。請使用平實、具體的語言。

3. 字體架構

介面必須依賴極端的字體對比和優質字體選擇,以建立編輯器風格。

  • 主要無襯線字體(內文、UI、按鈕):使用具有特色的乾淨幾何或系統原生字體。目標:font-family: 'SF Pro Display', 'Geist Sans', 'Helvetica Neue', 'Switzer', sans-serif。
  • 編輯器襯線字體(英雄標題與引言):目標:font-family: 'Lyon Text', 'Newsreader', 'Playfair Display', 'Instrument Serif', serif。應用緊密的字距調整(letter-spacing: -0.02em 至 -0.04em)和緊密行高(1.1)。
  • 等寬字體(程式碼、按鍵、元數據):目標:font-family: 'Geist Mono', 'SF Mono', 'JetBrains Mono', monospace。
  • 文字顏色:內文絕不能是純黑色(#000000)。使用近黑色/炭灰色(#111111 或 #2F3437),並設定寬鬆的 line-height 為 1.6 以確保可讀性。次要文字應使用柔和的灰色(#787774)。

4. 色盤(暖色單色調 + 局部粉彩)

色彩是稀缺資源,僅用於語義意義或微妙的強調。

  • 畫布/背景:純白 #FFFFFF 或暖骨色/米白 #F7F6F3 / #FBFBFA。
  • 主要表面(卡片):#FFFFFF 或 #F9F9F8。
  • 結構性邊框/分隔線:超淺灰 #EAEAEA 或 rgba(0,0,0,0.06)。
  • 強調色:僅使用高度去飽和、褪色的粉彩用於標籤、行內程式碼背景或微妙的圖示背景。
    • 淡紅:#FDEBEC(文字:#9F2F2D)
    • 淡藍:#E1F3FE(文字:#1F6C9F)
    • 淡綠:#EDF3EC(文字:#346538)
    • 淡黃:#FBF3DB(文字:#956400)

5. 元件規格

  • 網格功能區塊:
    • 使用不對稱的 CSS Grid 佈局。
    • 卡片必須恰好有 border: 1px solid #EAEAEA。
    • 邊框半徑必須清晰:最大 8px 或 12px。
    • 內部內距必須寬裕(例如 24px 到 40px)。
  • 主要行動呼籲(按鈕):
    • 實心背景 #111111,文字 #FFFFFF。
    • 輕微邊框半徑(4px 到 6px)。無 box-shadow。
    • 懸停狀態應為微妙的顏色變化至 #333333 或微縮放 transform: scale(0.98)。
  • 標籤與狀態徽章:
    • 藥丸形狀(border-radius: 9999px),非常小的字體(text-xs),大寫並帶有寬鬆字距(letter-spacing: 0.05em)。
    • 背景必須使用定義的柔和粉彩。
  • 手風琴(常見問題):
    • 移除所有容器框。僅以 border-bottom: 1px solid #EAEAEA 分隔項目。
    • 使用乾淨、銳利的 + 和 - 圖示作為切換狀態。
  • 按鍵微 UI:
    • 使用 <kbd> 標籤將快捷鍵渲染為實體按鍵:border: 1px solid #EAEAEA,border-radius: 4px,background: #F7F6F3,使用等寬字體。
  • 仿 OS 視窗外框:
    • 模擬軟體時,將其包裹在極簡容器中,頂部有一條白色橫條,內含三個淺灰色小圓圈(複製 macOS 視窗控制項)。

6. 圖示與影像指令

  • 系統圖示:使用 "Phosphor Icons (Bold or Fill weights)" 或 "Radix UI Icons",以獲得技術性、略粗筆觸的美學。統一所有圖示的筆觸寬度。
  • 插圖:單色、粗略連續線條的墨水素描,背景為白色,包含一個以柔和粉彩填充的單一偏移幾何形狀。
  • 攝影:使用高品質、去飽和、色調溫暖的圖像。應用微妙的疊加層(opacity: 0.04 暖色顆粒)使照片融入單色調色板。絕不使用過度飽和的圖庫照片。當沒有真實素材時,使用可靠的佔位符,例如 https://picsum.photos/seed/{context}/1200/800。
  • 英雄區塊與區段背景:區塊不應感覺空曠扁平。使用極低透明度的微妙全幅背景圖像、柔和的徑向光點(使用暖色調的 radial-gradient,opacity: 0.03),或極簡幾何線條圖案來增加深度,同時不破壞乾淨美學。

7. 微妙動態與微動畫

動態應感覺隱形——存在但從不分散注意力。目標是安靜的精緻,而非炫技。

  • 滾動進入:元素在進入視埠時輕柔淡入。使用 translateY(12px) + opacity: 0,在 600ms 內以 cubic-bezier(0.16, 1, 0.3, 1) 解析。使用 IntersectionObserver,切勿使用 window.addEventListener('scroll')。
  • 懸停狀態:卡片以超微妙的陰影變化升起(box-shadow 在 200ms 內從 0 0 0 過渡到 0 2px 8px rgba(0,0,0,0.04))。按鈕在 :active 時以 scale(0.98) 響應。
  • 交錯顯示:列表和網格項目以級聯延遲進入(animation-delay: calc(var(--index) * 80ms))。絕不一次掛載所有內容。
  • 背景環境動態:可選。一個非常緩慢移動的徑向漸層色塊(animation-duration: 20s+,opacity: 0.02-0.04)在英雄區塊後方漂移。必須應用於 position: fixed; pointer-events: none 層。絕不應用於滾動容器上。
  • 效能:僅透過 transform 和 opacity 進行動畫。不使用會觸發佈局的屬性(top、left、width、height)。僅在正在動畫的元素上謹慎使用 will-change: transform。

8. 執行協議

當被要求編寫前端程式碼(HTML、React、Tailwind、Vue)或設計佈局時:

  1. 首先建立巨觀空白。在區段之間使用大量垂直內距(例如 Tailwind 中的 py-24 或 py-32)。
  2. 將主要字體內容寬度限制為 max-w-4xl 或 max-w-5xl。
  3. 立即應用自訂字體層級和單色調色變數。
  4. 確保每張卡片、分隔線和邊框嚴格遵守 1px solid #EAEAEA 規則。
  5. 為所有主要內容區塊添加滾動進入動畫。
  6. 透過圖像、環境漸層或微妙紋理確保區塊具有視覺深度——沒有空白的扁平背景。
  7. 提供原生反映此高級、整潔、編輯器美學的程式碼,無需手動調整。

Individual skills in this repo

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

leonxlnx/design-taste-frontend

Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.

leonxlnx/design-taste-frontend-v1

The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is `design-taste-frontend` (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.

leonxlnx/full-output-enforcement

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

leonxlnx/gpt-taste

Elite UX/UI & Advanced GSAP Motion Engineer. Enforces Python-driven true randomization for layout variance, strict AIDA page structure, wide editorial typography (bans 6-line wraps), gapless bento grids, strict GSAP ScrollTriggers (pinning, stacking, scrubbing), inline micro-images, and massive section spacing.

leonxlnx/high-end-visual-design

Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic.

leonxlnx/image-taste-frontend

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping old ones, avoid lazy under-generation, avoid cards-inside-cards-inside-cards UI, and keep the hero clean, spacious, readable, and visible on a small laptop.

leonxlnx/image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping old ones, avoid lazy under-generation, avoid cards-inside-cards-inside-cards UI, and keep the hero clean, spacious, readable, and visible on a small laptop.

leonxlnx/industrial-brutalist-ui

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

leonxlnx/minimalist-ui

Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.

leonxlnx/redesign-existing-projects

Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without breaking functionality. Works with any CSS framework or vanilla CSS.

leonxlnx/stitch-design-taste

Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.

leonxlnx/taste-skill

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.

leonxlnx/taste-skill

The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is `design-taste-frontend` (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.

leonxlnx/taste-skill

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

leonxlnx/taste-skill

Elite UX/UI & Advanced GSAP Motion Engineer. Enforces Python-driven true randomization for layout variance, strict AIDA page structure, wide editorial typography (bans 6-line wraps), gapless bento grids, strict GSAP ScrollTriggers (pinning, stacking, scrubbing), inline micro-images, and massive section spacing.

leonxlnx/taste-skill

Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured surfaces, image-led composition, tasteful custom iconography, and clean phone mockup framing. By default, screens should be shown inside a subtle premium iPhone or similar phone mockup with a visible frame, while the main focus stays on the app content itself. This skill generates images only. It does not write code.

leonxlnx/taste-skill

Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not always left-text / right-image), background-image freedom, varied CTAs, varied hero scales (giant / mid / mini minimalist), narrative concept spine, second-read moments, and a single consistent palette across all images. Optimized for landing pages, marketing sites, and product comps that developers or coding models can accurately recreate.

leonxlnx/taste-skill

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping old ones, avoid lazy under-generation, avoid cards-inside-cards-inside-cards UI, and keep the hero clean, spacious, readable, and visible on a small laptop.

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

leonxlnx/taste-skill

Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without breaking functionality. Works with any CSS framework or vanilla CSS.

相關技能