dingjun1028/esggo/oa-design-fix

Claude Code and agent skill by dingjun1028/esggo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user reports color issues, dark theme appearing, broken styles, or visual bugs. Diagnoses and fixes light theme violations across the ESGGO project. Checks for dark backgrounds, glass/blur effects, wrong text colors, and ensures Berkeley Blue #003262 + Gold #FDB515 compliance.

Install

npx vskill@latest install dingjun1028/esggo/oa-design-fix

SKILL.md

The same SKILL.md was published earlier as dingjun1028/esggo/oa-design-fix.

OA Design Fix — 設計修復器 v2

Overview

診斷並修復 ESGGO 專案中的亮色主題違規問題。確保全站符合 OmniBase 設計系統:白底、Berkeley Blue #003262 主色、Gold #FDB515 強調色。

When to Use

  • 用戶回報顏色問題、深色主題出現、樣式錯亂
  • 用戶說「修復設計」、「修復樣式」、「亮色主題違規」
  • 部署前設計合規檢查

Don't use for: 頁面建置(用 oa-page-builder)、部署(用 oa-deploy)、驗證(用 oa-5t-enforcer)

Core Workflow

Step 1: 掃描違規
bash
cd /c/var/www/esggo
# 搜尋深色背景
grep -r "bg-gray-900\|bg-black\|bg-slate-900\|dark:" src/ --include="*.tsx" --include="*.ts"
# 搜尋玻璃/模糊效果
grep -r "backdrop-blur\|bg-opacity-[0-9]\|glass" src/ --include="*.tsx" --include="*.ts"
# 搜尋錯誤文字顏色
grep -r "text-white\|text-gray-100\|text-gray-200" src/ --include="*.tsx" --include="*.ts"
Step 2: 修復違規
違規類型修復目標
深色背景bg-white 或 bg-gray-50
玻璃/模糊移除 backdrop-blur、bg-opacity
白色文字text-berkeley-blue 或 text-gray-900
缺少 Gold 強調關鍵元素加上 text-gold bg-gold border-gold
Step 3: 驗證修復
bash
pnpm build
# 視覺回歸測試

Design Token Reference

css
/* 必須使用的設計 token */
--color-primary: #003262; /* Berkeley Blue */
--color-accent: #FDB515; /* Gold */
--color-bg: #FFFFFF; /* White */
--color-bg-secondary: #F5F5F5; /* Light Gray */
--color-border: #E5E5E5; /* Border Gray */
--color-text-primary: #003262; /* Berkeley Blue */
--color-text-secondary: #525252; /* Neutral Gray */

Common Pitfalls

  1. 只修表面不修根本 — 必須找到來源檔案(通常在 lib/omni-base 或 components/omnibase)
  2. 遺漏 Client Component — 'use client' 檔案也要檢查
  3. Tailwind 類別動態拼接 — className={\bg-\${color}\} 會漏掉 grep,需手動檢查
  4. 第三方元件庫 — 確認是否覆蓋了設計系統樣式

Verification Checklist

  • [ ] 無深色背景類別
  • [ ] 無玻璃/模糊效果
  • [ ] 所有文字符合 Berkeley Blue / Neutral Gray
  • [ ] 關鍵互動元素有 Gold 強調
  • [ ] pnpm build 通過
  • [ ] Git 提交

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dingjun1028/esggo/oa-design-fix/badge)](https://verified-skill.com/skills/dingjun1028/esggo/oa-design-fix)

Something wrong with this skill or its page? Tell us.