Communitygithub.com

前端設計

打造獨特、可投入生產的前端介面,避免千篇一律的「AI 生成」審美。專注於創意方向與令人難忘的設計選擇。

前端設計 是什麼?

此技能引導開發者建立視覺上與眾不同的網頁介面,透過在編碼前先確立大膽的審美方向、刻意選擇字體與色彩、以及加入令人驚喜的微互動,來避免常見的 AI 生成 UI 模式。它支援 OpenClaw、Moltbot 和 Clawbot 等平台,安裝方式簡單,只需執行 `npx clawhub@latest install frontend-design`。技能的核心是「設計思考流程」,要求開發者在動手編碼前先理解上下文、選擇一個極端的審美方向(如極簡、極繁、復古未來等),並確定一個令人難忘的元素。此外,它提供了具體的指導方針,包括字體配對(避免使用 Arial、Inter 等通用字體)、色彩主題(避免使用紫色漸層加白色背景的「AI 預設」)、空間構成(鼓勵不對稱與重疊)、以及動態效果(使用 CSS 動畫實現錯開進場)。整體而言,這套方法論幫助開發者產出具備強烈視覺辨識度且不重複的介面設計。

相容平台✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry/tree/HEAD/skills/design/frontend-design-wpank-ai

在你喜歡的 AI 中提問

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

說明文件

前端設計 是做什麼的?

透過大膽的創意選擇,打造令人難忘的前端介面,使其從千篇一律的 AI 生成審美中脫穎而出。

另請參閱: 基礎知識請見 ui-design(字體、色彩、間距),CSS 模式請見 web-design。

安裝

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install frontend-design

此技能的作用

透過以下方式引導打造視覺上與眾不同的網頁介面:

  • 在編碼前先確立大膽的審美方向
  • 刻意選擇字體、色彩與空間安排
  • 實作令人愉悅的動態與微互動
  • 避免 AI 生成 UI 中可預測的模式

使用時機

  • 建立新元件、頁面或網頁應用程式時
  • 製作登陸頁面、行銷網站或產品 UI 時
  • 重新設計介面以使其更令人難忘時
  • 任何視覺效果至關重要的前端工作

關鍵字

前端設計,網頁 UI,UI 設計,登陸頁面,創意 UI,網頁美學,字體排版,視覺設計,動態設計,與眾不同的介面

設計思考流程

在撰寫程式碼之前,先確立審美方向:

1. 理解上下文

  • 目的:此介面解決什麼問題?
  • 受眾:誰在使用它,他們有什麼期望?
  • 限制:框架、效能、無障礙要求

2. 選擇大膽的方向

選擇一個極端的審美方向——中庸只會讓人遺忘:

方向特徵
粗暴極簡樸素、精簡、沒有任何多餘元素
極繁混沌密集、層層疊疊、刻意讓人眼花撩亂
復古未來融合復古美學與現代科技
有機/自然柔和、流暢、受自然啟發
奢華/精緻高級材質、低調優雅
玩趣/玩具風有趣、親和、色彩明亮
編輯/雜誌風以字體為主、基於網格
粗暴/原始裸露結構、反設計
裝飾藝術/幾何大膽形狀、對稱、裝飾
工業/功利功能優先、堅固耐用

3. 找出令人難忘的元素

提到這個介面時,人們會記住哪一件事?堅定執行它。

美學指南

字體排版

絕對不要使用通用字體:

  • Arial、Helvetica、system-ui
  • Inter、Roboto(除非極具刻意性)

務必選擇有特色的字體:

  • 將一個有特色的標題字體與一個精緻的內文字體搭配
  • 探索:Space Grotesk、Clash Display、Cabinet Grotesk、Satoshi、General Sans、Instrument Serif、Fraunces、Newsreader
/* 字體搭配範例 */
--font-display: 'Clash Display', sans-serif;
--font-body: 'Satoshi', sans-serif;

色彩與主題

  • 堅定執行一個協調的調色盤——不要因為安全而猶豫不決
  • 主色 + 強調色的效果遠優於平均分配顏色
  • 使用 CSS 變數以確保一致性
  • 避免在白色背景上使用紫色漸層(「AI 預設」)
:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-text: #fafafa;
  --color-accent: #ff4d00;
  --color-muted: #666666;
}

空間構成

打破常規:

  • 不對稱勝過完美平衡
  • 刻意重疊元素
  • 對角線流動或非傳統佈局
  • 寬敞的留白或受控的密集度——不要取中間值
  • 打破網格的元素來吸引注意

動態與互動

聚焦於高影響力的時刻:

  • 頁面載入:使用 animation-delay 實現錯開進場
  • 觸發於滾動的動畫,令人驚喜
  • 懸停狀態要展現個性
  • 一般 HTML 優先使用 CSS 動畫;React 則使用 Motion 函式庫
/* 錯開進場 */
.card { animation: fadeUp 0.6s ease-out backwards; }
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

背景與氛圍

創造深度與氛圍:

  • 漸層網格與多色漸層
  • 噪點紋理與顆粒覆蓋層
  • 幾何圖案或精細網格
  • 分層透明度
  • 戲劇性陰影或完全平面化
  • 自訂游標用於互動元素

實作原則

將複雜度與願景相匹配

  • 極繁願景 → 用豐富的動畫與詳盡的程式碼
  • 極簡願景 → 克制、精準、完美的間距
  • 優雅 = 完美執行願景,而不是添加更多東西

在不同版本之間變化

永遠不要陷入模式的重複:

  • 交替使用淺色/深色主題
  • 每次使用不同的字體系列
  • 探索不同的審美方向
  • 每個設計都應感覺獨一無二

絕對避免

  1. 絕對不要使用通用的字體系列(Inter、Roboto、Arial、系統字體)
  2. 絕對不要在白色背景上使用紫色漸層——即所謂的「AI 審美」
  3. 絕對不要使用可預測、千篇一律的佈局
  4. 絕對不要跳過設計思考階段——先理解再建構
  5. 絕對不要選擇安全的中庸審美——堅定執行一個方向
  6. 絕對不要忘記,與眾不同的設計需要與眾不同的程式碼
  7. 絕對不要在不同版本之間陷於相同的模式——刻意求變
  8. 絕對不要無目的地增加複雜度——無論極簡還是極繁都需要意圖

Individual skills in this repo

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

majiayu000/claude-skill-registry

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry

BlockRun works with Claude Code and Google Antigravity.

majiayu000/claude-skill-registry

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry

CRITICAL: Use for MolyKit AI chat toolkit. Triggers on: BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

majiayu000/claude-skill-registry

AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.

majiayu000/claude-skill-registry

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

相關技能