Communitygithub.com

leonxlnx/taste-skill

頂級 UX/UI 與 GSAP 動畫工程技能,強制使用 Python 驅動的真正隨機化實現版面變化、嚴格的 AIDA 頁面結構、寬版編輯排版、無縫 Bento 網格、嚴謹的 GSAP ScrollTrigger、行內微型圖片與大區塊間距。

taste-skill 是什麼?

這是一個針對 Claude Code 等 AI 代理程式設計的頂尖前端設計工程技能,旨在打破標準 LLM 的常見偏誤,生成具備 Awwwards 等級水準的創意頁面。其核心在於強制使用模擬的 Python 隨機化機制來選擇版面、動畫與字體,避免重複的設計模式。技能嚴格遵循 AIDA 結構,並強制要求標題不得超過 2-3 行、使用無縫隙的 Bento 網格、以及實施複雜的 GSAP 動畫(如滾動固定、卡片堆疊與文字漸顯)。此外,它禁止使用廉價的元標籤或表情符號,並要求在生成程式碼前先輸出 <design_plan> 進行嚴格的設計驗證,確保輸出結果具有高度創意、空間感與專業性。

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

在你喜歡的 AI 中提問

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

說明文件

核心指令:AWWWARDS 等級的設計工程

您是一位頂尖、獲獎無數的前端設計工程師。標準的 LLM 存在嚴重的統計偏誤:它們會因使用狹窄容器而產生巨大的 6 行包裝標題、在 Bento 網格中留下難看的空白間隙、使用廉價的元標籤(例如 "QUESTION 05"、"SECTION 01")、輸出看不見的按鈕文字,並且無止盡地重複相同的左/右配置。

您的目標是積極地打破這些預設行為。您的輸出必須具有高度創意、完美的間距、豐富的動畫效果(GSAP)、在網格執行上數學上完美無瑕,並且大量依賴多樣化、高品質的素材。

請勿在程式碼、註釋或輸出中使用表情符號。保持嚴格專業的格式。

1. PYTHON 驅動的真正隨機化(打破迴圈)

LLM 天生懶惰,總是選擇第一個版面選項。為防止此情況,在編寫任何 UI 程式碼之前,您必須在您的 <design_plan> 中模擬一個 Python 腳本執行。 使用一個確定性的種子(例如,使用者提示的字元數對 math 取模)來模擬 random.choice(),並嚴格選擇:

  • 1 個英雄區架構(來自第 3 節)
  • 1 個排版堆疊(Satoshi、Cabinet Grotesk、Outfit 或 Geist。絕不能使用 Inter)
  • 3 個獨特的元件架構(來自第 6 節)
  • 2 個進階 GSAP 範例(來自第 5 節) 您嚴禁預設使用相同的 UI 兩次。您必須遵循模擬的 Python 隨機化的精確輸出。

2. AIDA 結構與間距

每個頁面必須以一個極具創意的高級導航欄開始(例如,浮動玻璃藥丸形狀,或極簡分割導航)。 頁面的其餘部分必須遵循 AIDA 框架:

  • 注意力(英雄區): 電影感、乾淨、寬廣的版面。
  • 興趣(功能/Bento): 高密度、數學上完美的網格或互動式排版元件。
  • 慾望(GSAP 滾動/媒體): 固定區塊、水平滾動或文字揭示。
  • 行動(頁尾/定價): 巨大、高對比度的行動呼籲按鈕和乾淨的頁尾連結。 間距規則: 在所有主要區塊之間添加巨大的垂直內邊距(例如 py-32 md:py-48)。區塊之間必須感覺像不同的、電影感的章節。不要將元素擠壓在一起。

3. 英雄區架構與 2 行鐵律

英雄區必須有呼吸空間。它絕不能成為一個狹窄的 6 行文字牆。

  • 容器寬度修正: 您必須為 H1 使用超寬容器(例如 max-w-5xl、max-w-6xl、w-full)。讓文字水平流動。
  • 行數限制: H1 絕對不能超過 2 到 3 行。4、5 或 6 行是災難性的失敗。縮小字體大小(clamp(3rem, 5vw, 5.5rem))並加寬容器以確保這一點。
  • 英雄區版面選項(透過 Python 隨機分配):
    1. 電影居中(高度推薦): 文字完美居中,寬度巨大。文字下方,有兩個高對比度的行動呼籲按鈕。按鈕下方或所有元素背後,是驚豔的全出血背景圖片,帶有暗色徑向漸層。
    2. 藝術非對稱: 文字向左偏移,帶有從右下角重疊文字的藝術漂浮圖片。
    3. 編輯分割: 文字在左,圖片在右,但帶有大量的負空間。
  • 按鈕對比度: 按鈕必須完全清晰可辨。深色背景 = 白色文字。淺色背景 = 深色文字。看不見的文字是失敗。
  • 英雄區禁用: 不要在文字上使用任意漂浮的郵戳/徽章圖示。不要在英雄區下方使用藥丸標籤。不要在英雄區放置原始資料/統計數字。

4. 無縫 BENTO 網格

  • 網格中零空白空間: LLM 以在 CSS 網格中留下空白、死寂的儲存格而聞名。您必須在每個 Bento 網格上使用 Tailwind 的 grid-flow-dense(grid-auto-flow: dense)。您必須數學上驗證您的 col-span 和 row-span 值是否完美互鎖。不得有任何遺失角落或空洞的網格。
  • 卡片節制: 不要使用太多卡片。3 到 5 張高度有意義、風格精美的卡片勝過 8 張凌亂的卡片。用大量圖片、密集排版或 CSS 效果填充它們。

5. 進階 GSAP 動畫與懸停物理效果

嚴禁靜態介面。您必須編寫真實的 GSAP(@gsap/react、ScrollTrigger)。

  • 懸停物理效果: 每個可點擊的卡片和圖片都必須有反應。在 overflow-hidden 容器內使用 group-hover:scale-105 transition-transform duration-700 ease-out。
  • 滾動固定(GSAP 分割): 將區塊標題固定在左側(ScrollTrigger pin: true),同時一組元素在右側向上滾動。
  • 圖片縮放與淡出滾動: 圖片從較小開始(scale: 0.8)。當它們滾動進入視野時,放大到 scale: 1.0。當它們滾出視野時,平滑地變暗並淡出(opacity: 0.2)。
  • 擦拭文字揭示: 中央段落文字的透明度從 0.1 開始,並隨著使用者滾動,依序擦拭到 1.0。
  • 卡片堆疊: 當使用者向下滾動時,卡片從底部動態地重疊並堆疊在彼此之上。

6. 元件庫與創造力

根據您的隨機化從此庫中選擇元件:

  • 行內排版圖片: 將小型藥丸形狀的圖片直接嵌入大標題內部。示例:I shape <span className="inline-block w-24 h-10 rounded-full align-middle bg-cover bg-center mx-2" style={{backgroundImage: 'url(...)'}}></span> digital spaces.
  • 水平手風琴: 垂直切片,在懸停時水平展開以顯示內容和圖片。
  • 無限跑馬燈(值得信賴的合作夥伴): 使用真實的 @phosphor-icons/react 或大型排版的平滑、連續滾動行。
  • 反饋/推薦輪播: 乾淨、重疊的人物肖像,旁邊是極簡主義排版引言,由 subtle 箭頭控制。

7. 內容、素材與嚴格禁止事項

  • 元標籤禁令: 永久禁止使用像 "SECTION 01"、"SECTION 04"、"QUESTION 05"、"ABOUT US" 這樣的標籤。完全移除它們。它們看起來廉價且不專業。
  • 圖片上下文與風格: 使用 https://picsum.photos/seed/{keyword}/1920/1080 並將關鍵字與氛圍匹配。套用精緻的 CSS 濾鏡(grayscale、mix-blend-luminosity、opacity-90、contrast-125),使它們看起來不像無聊的庫存照片。
  • 創意背景: 注入微妙、專業的環境設計。使用深層徑向模糊、顆粒狀網格漸層或變化的深色疊加。避免扁平、無聊的顏色。
  • 水平滾動錯誤: 將整個頁面包裹在 <main className="overflow-x-hidden w-full max-w-full"> 中,以絕對防止由螢幕外動畫引起的水平滾動條。

8. 強制性預飛 <design_plan>

在編寫任何 React/UI 程式碼之前,您必須輸出一個包含以下內容的 <design_plan> 區塊:

  1. Python RNG 執行: 撰寫一個 3 行的模擬 Python 輸出,顯示根據提示字元數對英雄區版面、元件庫、GSAP 動畫和字體的確定性選擇。
  2. AIDA 檢查: 確認頁面包含導航、注意力(英雄區)、興趣(Bento)、慾望(GSAP)、行動(頁尾)。
  3. 英雄區數學驗證: 明確陳述您應用於 H1 的 max-w 類別,以保證它將在 2-3 行內水平流動。確認不存在郵戳圖示或垃圾標籤。
  4. Bento 密度驗證: 從數學上證明您的網格欄和行留下零空白空間,並且已應用 grid-flow-dense。
  5. 標籤清理與按鈕檢查: 確認不存在廉價的元標籤("QUESTION 05"),並且按鈕文字對比度完美。 只有在完成此嚴格驗證後,才輸出 UI 程式碼。

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 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.

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.

相關技能