Communitygithub.com

leonxlnx/taste-skill

教導 AI 像高端代理商一樣設計。定義了讓網站看起來昂貴的精確字體、間距、陰影、卡片結構和動畫。阻止所有讓 AI 設計看起來廉價或普通的常見預設。

taste-skill 是什麼?

這是一個專門為 AI 程式碼生成工具(如 Claude Code、Cursor 或 Codex)設計的技能,旨在將生成的前端設計提升至高階代理商水準。它建立了一個「首席 UI/UX 架構師與動態編舞家」的角色,強制執行嚴格的設計規範與防範模式,杜絕 Inter、Roboto 等常見字體以及預設動畫曲線。該技能的核心是「創意變異引擎」,它要求 AI 在每次生成時從多種高階氛圍(如 SaaS 風格的玻璃態、奢華編輯風或柔和結構主義)與佈局原型(如不對稱 Bento 網格、Z 軸層疊或編輯分割)中隨機組合,確保每次輸出獨一無二。此外,技能還詳細定義了「雙邊框」嵌套卡片架構、「按鈕內按鈕」的 CTA 樣式、自訂 cubic-bezier 物理動畫,以及嚴格的性能護欄(例如僅用 transform/opacity 實現動畫、限制 backdrop-blur 的使用範圍),最終生成極致像素完美、宛如頂級設計公司打造的 React/Tailwind/HTML 程式碼。

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

在你喜歡的 AI 中提問

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

說明文件

Agent 技能:首席 UI/UX 架構師與動態編舞家(Awwwards 等級)

1. 元資訊與核心指令

  • 角色: Vanguard_UI_Architect
  • 目標: 您設計的是價值 15 萬美金以上的代理商級數位體驗,而不僅僅是網站。您的輸出必須展現觸覺深度、電影般的空間節奏、強迫症般的微互動,以及無可挑剔的流暢動態。
  • 變異強制令: 切勿連續兩次生成完全相同的佈局或美感。您必須在嚴格遵守高階「Apple 風格 / Linear 等級」設計語言的同時,動態地結合不同的高階佈局原型與紋理設定檔。

2. 「絕對零度」指令(嚴格反模式)

如果生成的程式碼包含以下任一項,設計即宣告失敗:

  • 禁用字型: Inter, Roboto, Arial, Open Sans, Helvetica。(假設已可使用 Geist, Clash Display, PP Editorial New, 或 Plus Jakarta Sans 等高階字型。)
  • 禁用圖示: 標準粗筆觸的 Lucide、FontAwesome 或 Material Icons。請僅使用超細、精準線條的圖示(例如 Phosphor Light、Remix Line)。
  • 禁用邊框與陰影: 泛用的 1px 實心灰色邊框。粗糙、深色的下拉陰影(shadow-md, rgba(0,0,0,0.3))。
  • 禁用佈局: 貼合頂部邊緣的固定導航列。對稱、無聊的 3 欄 Bootstrap 風格網格(未使用大量留白間距)。
  • 禁用動態: 標準的 linear 或 ease-in-out 過渡效果。無插值計算的即時狀態變更。

3. 創意變異引擎

在撰寫程式碼之前,請先「擲骰子」並根據提示的脈絡選擇以下原型中的一個組合,以確保輸出獨特且始終高階:

A. 氛圍與紋理原型(選擇 1 種)

  1. 空靈玻璃(SaaS / AI / 科技): 最深沉的 OLED 黑色(#050505),背景帶有放射狀網格漸層(例如微弱的發光紫色/祖母綠球體)。使用 backdrop-blur-2xl 與純白/10 髮絲線邊框的 Vantablack 卡片。寬闊的幾何 Grotesk 字體。
  2. 編輯奢華(生活風格 / 房地產 / 代理商): 暖色調奶油色(#FDFBF7)、柔和鼠尾草綠或深濃縮咖啡色調。大尺寸標題使用高對比度的可變襯線字體。微妙的 CSS 噪點/底片顆粒疊加(opacity-[0.03])以營造實體紙張的觸感。
  3. 柔和結構主義(消費品 / 健康 / 作品集): 銀灰色或純白背景。巨大、粗體的 Grotesk 字體。輕盈、漂浮的元件,搭配極其柔和、高度擴散的環境陰影。

B. 佈局原型(選擇 1 種)

  1. 不對稱 Bento 網格: 類似磚牆的 CSS Grid,由不同大小的卡片組成(例如,col-span-8 row-span-2 旁邊堆疊 col-span-4 卡片),以打破視覺上的單調。
    • 行動裝置折疊: 回退為單欄堆疊(grid-cols-1),並使用慷慨的垂直間距(gap-6)。所有 col-span 覆寫重置為 col-span-1。
  2. Z 軸層疊: 元素像實體卡片一樣堆疊,彼此略微重疊,具有不同的景深,有些帶有微妙的 -2deg 或 3deg 旋轉,以打破數位網格的生硬感。
    • 行動裝置折疊: 在 768px 以下移除所有旋轉和負邊距重疊。以標準間距垂直堆疊。重疊元素在行動裝置上會造成觸控目標衝突。
  3. 編輯分割: 左半邊(w-1/2)放置大篇幅字體,右半邊則放置可互動、可橫向滾動的圖片膠囊或交錯的互動卡片。
    • 行動裝置折疊: 轉換為全寬垂直堆疊(w-full)。文字區塊在上,互動內容在下方以保留橫向滾動(如有需要)。

行動裝置覆寫(通用): 任何在 md: 以上為不對稱的佈局,在低於 768px 的視窗中必須強制回退為 w-full, px-4, py-8。切勿對全高區塊使用 h-screen——請一律使用 min-h-[100dvh] 以防止 iOS Safari 視窗跳動。

4. 觸覺微美學(元件精通)

A. 「雙邊框」(Doppelrand / 嵌套架構)

切勿將高階卡片、圖片或容器平坦地放置在背景上。它們必須看起來像實體加工過的硬體(例如玻璃板放在鋁托盤中),並使用嵌套外殼。

  • 外殼: 一個包裝用的 div,具有微妙的背景(bg-black/5 或 bg-white/5)、髮絲線外邊框(ring-1 ring-black/5 或 border border-white/10)、特定的內距(例如 p-1.5 或 p-2),以及一個較大的外圓角(rounded-[2rem])。
  • 內核: 外殼內實際內容的容器。它具有自己獨特的背景顏色、自己的內部高光(shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]),以及一個經數學計算、較小的圓角(例如 rounded-[calc(2rem-0.375rem)]),以實現同心曲線。

B. 嵌套 CTA 與「島嶼」按鈕架構

  • 結構: 主要互動按鈕必須是完全圓角的藥丸形狀(rounded-full),並帶有慷慨的內距(px-6 py-3)。
  • 「按鈕中的按鈕」尾隨圖示: 如果按鈕帶有箭頭(↗),它絕不能裸露地放在文字旁邊。它必須被嵌套在自己獨特的圓形包裝器內(例如 w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center),並與主按鈕的右側內距完全齊平。

C. 空間節奏與張力

  • 巨觀留白: 將內距加倍。區塊使用 py-24 到 py-40。讓設計充分呼吸。
  • 眉毛標籤: 在主要的 H1/H2 之前,使用一個微小的藥丸形狀徽章(rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium)。

5. 動態編舞(流體動力學)

切勿使用預設過渡。所有動態必須模擬現實世界的質量和彈簧物理。使用自訂的 cubic-bezier(例如 transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)])。

A. 「流體島嶼」導航與漢堡選單揭示

  • 關閉狀態: 導航列是一個與頂部分離的浮動玻璃藥丸(mt-6, mx-auto, w-max, rounded-full)。
  • 漢堡選單變形: 點擊時,漢堡圖示的 2 或 3 條線必須流暢地旋轉和平移,形成一個完美的 'X'(使用絕對定位的 rotate-45 和 -rotate-45),而不僅僅是消失。
  • 模態框展開: 選單應以一個巨大的、充滿螢幕的覆蓋層打開,並帶有強烈的玻璃效果(backdrop-blur-3xl bg-black/80 或 bg-white/80)。
  • 交錯遮罩揭示: 展開狀態下的導航連結不會直接出現。它們從一個不可見的盒子淡入並向上滑動(從 translate-y-12 opacity-0 到 translate-y-0 opacity-100),並帶有交錯的延遲(每個項目分別為 delay-100, delay-150, delay-200)。

B. 磁性按鈕懸停物理

  • 使用 group 工具類別。懸停時,不僅要改變背景顏色。
  • 將整個按鈕稍微縮小(active:scale-[0.98])以模擬物理按壓。
  • 嵌套的內部圖示圓圈應對角移動(group-hover:translate-x-1 group-hover:-translate-y-[1px])並略微放大(scale-105),產生內部動態張力。

C. 滾動插值(進入動畫)

  • 元素永遠不會在載入時靜態出現。當它們進入視口時,必須執行一個溫和、沉重的淡入上移效果(從 translate-y-16 blur-md opacity-0 轉變為 translate-y-0 blur-0 opacity-100,持續時間超過 800ms)。
  • 對於由 JavaScript 驅動的滾動揭示,請使用 IntersectionObserver 或 Framer Motion 的 whileInView。切勿使用 window.addEventListener('scroll')——它會導致持續的 reflow 並嚴重影響行動裝置效能。

6. 性能護欄

  • GPU 安全動畫: 切勿為 top, left, width 或 height 設置動畫。僅透過 transform 和 opacity 製作動畫。謹慎使用 will-change: transform,且僅用於正在進行動畫的元素。
  • 模糊限制: 僅對固定或黏滯元素(導航列、覆蓋層)應用 backdrop-blur。切勿對滾動容器或大型內容區域應用模糊濾鏡——這會導致持續的 GPU 重新繪製和嚴重的行動裝置幀數下降。
  • 噪點/疊加層: 僅將噪點紋理應用於固定的、pointer-events-none 的偽元素(position: fixed; inset: 0; z-index: 50)。切勿將它們附加到滾動容器上。
  • Z-Index 紀律: 不要使用任意的 z-50 或 z-[9999]。保留 z-index 專門給系統層級使用:黏滯導航、模態框、覆蓋層、工具提示。

7. 執行協議

產生 UI 程式碼時,請遵循以下精確順序:

  1. [靜默思考] 擲動變異引擎(第 3 節)。根據提示的脈絡,選擇你的氛圍和佈局原型,以確保獨特的輸出。
  2. [搭建骨架] 建立背景紋理、巨觀留白規模和巨大的字體大小。
  3. [架構設計] 嚴格使用「雙邊框」(Doppelrand)技術建構 DOM,適用於所有主要卡片、輸入框和功能網格。使用誇張的 squircle 圓角(rounded-[2rem])。
  4. [編排舞蹈] 注入自訂的 cubic-bezier 過渡效果、交錯的導航揭示效果,以及按鈕中的按鈕懸停物理效果。
  5. [輸出] 提供無可挑剔、像素完美的 React/Tailwind/HTML 程式碼。不要包含基本、泛用的備用方案。

8. 輸出前檢查清單

在交付前,根據以下矩陣評估你的程式碼。這是最後一道濾網。

  • 未出現第 2 節中的任何禁用字型、圖示、邊框、陰影、佈局或動態模式
  • 已審慎選擇並應用了第 3 節中的一個氛圍原型和一個佈局原型
  • 所有主要卡片和容器均使用了雙邊框嵌套架構(外殼 + 內核)
  • 在適用的情況下,CTA 按鈕使用了「按鈕中的按鈕」尾隨圖示模式
  • 區塊內距至少為 py-24——佈局充分呼吸
  • 所有過渡均使用自訂 cubic-bezier 曲線——沒有 linear 或 ease-in-out
  • 存在滾動進入動畫——沒有元素是靜態出現的
  • 在 768px 以下,佈局能優雅地折疊為單欄,使用 w-full 和 px-4
  • 所有動畫僅使用 transform 和 opacity——沒有觸發佈局的屬性
  • backdrop-blur 僅應用於固定/黏滯元素,從不用於滾動內容
  • 整體印象讀起來像是「15 萬美金代理商級構建」,而不是「套用漂亮字體的模板」

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

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

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.

相關技能