Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By treeleaves30760v1.0.0In 1 marketplace
Frontend design language of Kohaku-Lab's projects as a skill. Includes gemstone-on-warm-stone tokens, component recipes, density and touch rules, states and microcopy, streaming/chat, dataviz, docs and terminal UI conventions, and a palette guard script.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
把 KohakuBlueleaf / Kohaku-Lab 各專案的前端設計邏輯整理成一個 Agent Skill,讓之後的專案都能直接套用同一套 UI/UX 水準。
English: an Agent Skill that packages the frontend design language of Kohaku-Lab's projects (KohakuTerrarium, Togeari, KohakuNodeIR, TerrariumMarket, Kohaku-Docs, KohakuTUI, …). It covers gemstone accents on warm stone, role-based colour, quiet chrome, no idle motion, separately designed phone layouts and plain copy, and was written from the source, tests and commit history of those projects.
.claude-plugin/ Claude Code plugin + marketplace manifest
skills/kohaku-frontend/
SKILL.md 核心原則、工作流程、速查表(agent 從這裡開始讀)
references/
tokens-and-theme.md 色票規則、角色對應、stone/v2 五層 surface、dark mode、字級 tier
components.md 按鈕、chip、狀態點、卡片、rail、tab、status bar、設定頁、對話框、表格…
layout-density-touch.md 殼層類型、density 訊號、手機/觸控規則、overflow、快捷鍵、偏好儲存
states-and-copy.md 錯誤→載入→空→內容、空狀態、錯誤、連線、文案規則、i18n
streaming-and-chat.md 聊天/agent 介面、串流 markdown、工具呼叫、捲動、composer
dataviz-and-canvas.md 圖表配色紀律、儀表板、節點編輯器、文件圖
docs-and-sites.md 文件站 IA、landing、市集
terminal-ui.md CLI / TUI 的同一套語言
review-checklist.md 交付前檢查表、常見藉口對照
assets/
tokens.css 與框架無關的 CSS 變數(single source of truth)
base.css reset、觸控規則、v2 surface、純 CSS 元件 class
uno.config.js UnoCSS 設定(Kohaku-Lab 專案用的技術棧)
tailwind.preset.js Tailwind preset(取代預設色票)
scripts/check-palette.mjs 色票檢查:找出 Tailwind 預設色、非法 gem shade、散落的 hex、會一直動的狀態點
scripts/shots.mjs 截圖(深淺主題 × 桌面/手機),並檢查閒置動畫、橫向捲動、有沒有載入 reset
examples/ 用這個 skill 做出來的四個範例
research/ 六份原始研究筆記(每條規則的出處:檔案:行號、commit)
Claude Code(plugin):
/plugin marketplace add treeleaves30760/kohaku-frontend-skill
/plugin install kohaku-frontend@kohaku-frontend-skill
直接複製(任何支援 Agent Skills 的工具):
git clone https://github.com/treeleaves30760/kohaku-frontend-skill
# 個人層級
cp -r kohaku-frontend-skill/skills/kohaku-frontend ~/.claude/skills/
# 或專案層級
cp -r kohaku-frontend-skill/skills/kohaku-frontend <your-project>/.claude/skills/
# Codex / 其他 runtime 也可以放在 ~/.agents/skills/
安裝後,請 agent 做 UI(例如「幫這個專案做一個 dashboard」、「照 Kohaku 風格重做設定頁」、「review 這個前端」)時,skill 會自動觸發。
# 檢查專案的色票是否合規
node skills/kohaku-frontend/scripts/check-palette.mjs path/to/src
node skills/kohaku-frontend/scripts/check-palette.mjs path/to/src --allow src/favicon.js --strict
uno.config.js,並引入 tokens.css + base.csspresets: [require("./tailwind.preset.js")],並引入 tokens.css + base.csstokens.css + base.css,使用 .kt-btn--primary、.kt-chip--sage、.kt-dot--live、.kt-v2-card…| 主色 | iolite #5A4FCF:唯一的 accent(主要按鈕、焦點、選取、連結) |
| 狀態 | live aquamarine · ok sage · 需要你 amber · 錯誤 coral · 中性 warm,一律搭配圖示或文字 |
| 表面 | light:stone 外框 #f2eee8 包住近白 canvas;dark:#1a1816 起逐層變亮、卡片無陰影 |
| 字 | Inter + JetBrains Mono;數字一律 mono tabular;字級依「用途」命名 |
| 動畫 | 只有「正在工作」的東西會動,狀態點不動 |
| 手機 | 獨立設計的版面(drawer、tap row、sheet、list→page),不是直接縮小桌面版 |
| 文案 | 句首大寫、動詞按鈕、… 進行中、— 缺值、· 分隔、確認框寫出後果 |
| 專案 | 用途 |
|---|---|
| KohakuTerrarium frontend | 主要來源:token、殼層、聊天/串流、設定頁、色票測試,以及 2700+ commits 裡的設計理由 |
| Togeari dashboard、KohakuNodeIR kir-editor | 較新的方向:v2 surface、圖表配色紀律、節點編輯器互動 |
| KohakuSSHManager、KohakuTPU docs-web | 管理後台模式、閱讀型字級 tier、AGENTS.md 設計契約 |
| TerrariumMarket、Kohaku-Docs、kohaku-lab-home | 市集、文件站、landing 與品牌 |
| KohakuHub、KohakuBoard、KohakuRiver、KohakuPaper | 演化脈絡、資料視覺化(Board) |
| KohakuTUI、KT cli/tui | 終端機語言 |
每條規則的檔案:行號與 commit 出處在 research/。
skill 是照 writing-skills 的 RED → GREEN → REFACTOR 流程寫的。測試題目是一個「GPU job runner」dashboard,需求包含導覽、job 列表、詳細面板、log、表單 dialog、空狀態、斷線狀態、深淺色和手機版。同一題分別交給兩個 agent,一個沒有 skill,一個有。
| 沒有 skill(baseline) | 有 skill(GREEN) | |
|---|---|---|
check-palette.mjs | 51 個錯誤(Tailwind 藍/紅/綠、冷色 slate) | 0 個錯誤、0 個警告 |
shots.mjs 閒置頁面的無限動畫 | 5 個(脈動的狀態點、閃爍的 "Live") | 0 |
| 表面 | 冷灰、全頁同一層 | stone 外框 + 近白 canvas + 卡片,dark mode 逐層變亮 |
| 手機 | 縮小版表格 | tap rows → 詳細頁、全螢幕 dialog、觸控尺寸 |
有 skill:

第二題是 React + Tailwind 的本機 LLM 聊天應用,用來確認 skill 在別的類型和技術棧也能用:

沒有 skill(baseline):

Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub treeleaves30760/kohaku-frontend-skill --plugin kohaku-frontendPlugins from other owners that cover similar ground