Communitygithub.com

LiChangZheng10086/doyin_ai_video

引導建立獨特且具意圖的視覺設計,適用於新建 UI 或重塑現有 UI。協助美學方向、字體排版,以及做出不流於模板化的選擇。

doyin_ai_video 是什麼?

這項技能旨在幫助開發者或設計師在 AI 代理的輔助下,打造視覺上獨一無二、不落俗套的前端設計。它模擬小型設計工作室主設計師的角色,強調針對每個設計簡報做出有意圖、有觀點的選擇,而非堆疊常見的模板元素。技能涵蓋了從主題定錨、設計原則(如將主視覺作為命題、字體排版傳達個性、結構承載資訊、謹慎運用動畫),到完整的規劃與建構流程:先透過腦力激盪制定緊湊的設計系統(包含色彩、字體、佈局與簽名元素),並在審視其獨特性後才開始編寫程式碼。此技能特別警告了 AI 生成的常見設計陷阱(如奶油色背景、酸性強調色),並鼓勵設計者採取真正的美學風險,同時在單一元素上大膽,其餘部分保持克制與紀律。此外,它也包含了關於設計中文案撰寫的詳細指導,強調文案應以用戶為中心、使用主動語態,並在錯誤與空狀態中提供正向引導。這項技能適用於任何需要生成前端設計程式碼的 AI 代理平台,例如 Claude Code 或 Cursor,旨在提升設計品質,使其脫穎而出。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LiChangZheng10086/doyin_ai_video/tree/HEAD/.agents/skills/frontend-design

在你喜歡的 AI 中提問

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

說明文件

前端設計

以一家小型設計工作室的主設計師身份來處理這個任務。這家工作室以其為每位客戶打造的視覺識別獨一無二、絕不與人混淆而聞名。這位客戶已經拒絕了那些感覺模板化的提案,並期望一個獨特的觀點:針對此簡報,做出關於色板、字體與佈局的有意圖、有主張的選擇,並承擔一個你能證明其合理性的真正美學風險。

以主題為根基

如果設計簡報沒有明確界定產品或主題,請在開始設計前自行定義:命名一個具體的主題、它的目標受眾、以及該頁面的單一任務,並陳述你的選擇。如果你的記憶中有關用戶偏好的任何資訊、他們正在建構的內容背景,或你之前做過的設計——請將其作為提示。主題本身的領域、其材料、工具、工藝品及日常用語,才是獨特設計的靈感來源。在整個設計過程中,堅持使用簡報中的真實內容與主題。

設計原則

對於網頁設計,主視覺就是一個命題。以主題領域中最具代表性的事物開場,並以任何對其有意義的形式呈現:標題、圖片、動畫、即時展示、互動時刻。謹慎做出你的選擇:一個大數字配上小標籤、補充統計數據和漸變強調色是模板答案,僅在這是真正最佳選項時才使用。

字體排版承載著頁面的個性。有意識地搭配標題字體和正文字體,而不是使用你在任何其他專案中都會隨手拿來的字體家族。設定清晰的字體階層,並採用有意的字重、字寬與字距。讓字體處理本身成為設計中令人印象深刻的一部分,而不僅僅是內容的中性載體。

結構即是資訊。結構性元素——編號、引導標題、分隔線、標籤——應該編碼關於內容的真實資訊,而不是裝飾它。許多通用設計會使用編號標記(01 / 02 / 03),但這僅在內容確實是序列時才適用——例如一個真實的流程或一個帶有時間順序、且順序承載讀者所需資訊的列表。在加入編號標記等元素前,先質疑它們是否真的合理。

有目的地運用動畫。思考動畫能在何處及如何服務於主題:頁面載入序列、滾動觸發揭示、懸停微互動、環境氛圍。一個經過編排的時刻通常比零散的效果更能打動人心;根據設計方向的需求來選擇。然而,有時少即是多,過多的動畫會讓設計感覺像是 AI 生成的。

使複雜度與願景相匹配。極繁主義的方向需要精緻的執行;極簡主義的方向則需要在間距、字體與細節上精準。優雅來自於出色地執行所選擇的願景。

仔細考量書面內容。設計簡報通常不包含真實內容,由你來撰寫文案。文案本身也可能讓設計感覺模板化。請參閱下方關於寫作的章節以獲取更多指導。

流程:腦力激盪、探索、規劃、審查、建構、再次審查

用於校準:目前 AI 生成的設計主要集中在三種樣式:(1) 暖奶油色背景(接近 #F4F1EA)搭配高對比襯線標題字體和陶土色強調色;(2) 近乎黑色背景搭配單一亮酸綠色或硃紅色強調色;(3) 大報風格的佈局,使用極細線條、零邊框圓角、以及密集的新聞報紙式欄位。這三種樣式在某些簡報中都是合理的,但它們是預設選項而非有意識的選擇,並且它們無論主題為何都會出現。當簡報明確規定了視覺方向時,請嚴格遵循——簡報本身的要求永遠優先,包括當它要求採用上述某一種樣式時。當簡報在某一軸線上保持自由時,不要將這種自由浪費在這些預設選項上。就像受僱的人類設計師一樣,經常需要在發揮所長與將每個專案視為嘗試和學習的機會之間取得謹慎的平衡。

分兩階段進行。首先,根據人類用戶的設計簡報進行腦力激盪,制定一個簡短的設計計劃:建立一個包含色彩、字體、佈局與簽名元素的緊湊代號系統。色彩:用 4-6 個命名的十六進制值來描述色板。字體:為 2 個以上角色(一個有特色、有節制使用的標題字體,一個互補的正文字體,以及在需要時用於標題或數據的工具字體)選擇字型。佈局:一個佈局概念,使用一句話的散文描述和 ASCII 線框來構思和比較。簽名:這個頁面將被記住的單一獨特元素,它以適當的方式體現了簡報。

然後在開始建構之前,將該計劃與簡報進行審查:如果它的任何部分讀起來像是你會為任何類似頁面產生的通用預設(可以透過執行類似的提示來看看是否會得出類似的結果),而不是為這個特定簡報所做的選擇——請修改該部分,說明你更改了什麼以及原因。只有在你確認了設計計劃的相對獨特性之後,才應開始編寫程式碼,並嚴格遵循修訂後的計劃,從中衍生每一個色彩和字體決策。

在編寫程式碼時,請注意 CSS 選擇器特定性的結構。很容易生成相互抵消的 CSS 類別(特別是在使用像 .section 這樣的基於類別的選擇器和像 .cta 這樣基於元素的選擇器時)。這種情況在區段之間的邊距/內距上經常發生。

嘗試在你的思考中進行大量的規劃與反覆迭代,只有當你對能夠讓用戶感到驚喜有較高把握時,才向用戶展示想法。

克制與自我審查

將你的大膽集中在一個地方。讓簽名元素成為唯一令人難忘的事物,圍繞它的所有其他部分保持安靜和自律,並刪除任何不服務於簡報的裝飾。不承擔風險本身可能就是一種風險!在沒有宣揚的情況下達到品質底線:響應式直至行動裝置、可見的鍵盤焦點、尊重減少動畫設定。在建構過程中批評自己的作品,如果你的環境支援,可以截圖——一張圖片勝過千言萬語。思考 Chanel 的建議:出門前,照照鏡子,摘掉一件飾品。人類創作者有記憶,並且總是試圖嘗試新事物,所以如果你有空間可以快速記下你嘗試過的筆記,這將有助於你將來的疊代。

更多關於設計中的寫作

設計中出現文字只有一個原因:讓理解變得更簡單,因此讓使用變得更簡單。它們是設計材料,而非裝飾。對文案投入與對間距和色彩同樣的意圖。在撰寫任何內容之前,先問問設計需要表達什麼,以及如何最好地表達它,以幫助人們在體驗中導航。

從最終用戶的角度來寫作。根據人們控制與識別的內容來命名事物,永遠不要根據系統的建構方式。人們管理的是「通知」,而不是「Webhook 配置」。用簡單明瞭的詞語描述某個功能的作用,而不是推銷它。具體永遠比聰明更好。

預設使用主動語態。一個控制項應該準確地說明它被使用時會發生什麼:「儲存變更」,而不是「提交」。一個動作在整個流程中應保持相同的名稱,因此顯示「發布」的按鈕會產生一個顯示「已發布」的通知。介面的詞彙就是導航產品的人的指引。凝聚力和一致性是人們學習如何熟悉環境的方式。

將失敗和空狀態視為引導的時機,而非情緒的表現。解釋出了什麼問題以及如何修復,使用介面本身的語氣而不是人的語氣。錯誤訊息不會道歉,也從不模糊其內容。空螢幕是邀請用戶採取行動。

保持語氣隨談化且經過調整:使用簡單的動詞、句子大小寫、無填充詞,語調與品牌和受眾相匹配。讓每個元素只負責一件事。標籤負責標示,範例負責展示,沒有任何元素會默默地身兼二職。

Individual skills in this repo

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

LiChangZheng10086/doyin_ai_video

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

LiChangZheng10086/doyin_ai_video

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIR...

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

LiChangZheng10086/doyin_ai_video

Grill me about specs for the workflows I want to build, within this workspace.

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

LiChangZheng10086/doyin_ai_video

智能 PPT 生成器。支持 7 种视觉风格(乐高/波普/黏土/黑白/商务/学术/科技),具备根据内容自动推荐风格、生成大纲、绘制配图并组装成片的全自动能力。

LiChangZheng10086/doyin_ai_video

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

LiChangZheng10086/doyin_ai_video

Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.

LiChangZheng10086/doyin_ai_video

Sentry error monitoring and performance tracing patterns for Next.js applications.

LiChangZheng10086/doyin_ai_video

Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.

LiChangZheng10086/doyin_ai_video

✅ "你知道今天所有大模型能读懂你的话,全靠一个叫Transformer的架构吗?"

LiChangZheng10086/doyin_ai_video

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

相關技能