Communitygithub.com

ComeOnOliver/skillshub

UI 樣式修改協作流程。當用戶要求修改頁面樣式、調整佈局、改 UI 細節時使用。透過「截圖定位 → 現狀描述 → 方案選擇 → 改程式碼 → 微調」的結構化流程,減少溝通偏差,避免浪費 token。

skillshub 是什麼?

這是一個專門用於 UI 樣式修改的 AI 技能,透過結構化的協作流程,引導 AI 與用戶逐步完成頁面佈局、間距、顏色及元件搭配等視覺調整。其核心在於避免猜測與無效溝通,強調「截圖是第一語言」與「每次只改一個點」的原則,確保每一步都對齊目標後才動程式碼。該技能支援任何具備文字與程式碼能力的 AI 平台(如 Claude Code、Cursor、Codex),流程包含五個階段:定位問題(讀程式碼並用 ASCII 圖確認現狀)、給出方案(提供 2-3 個附 ASCII 圖的選項)、等待用戶選擇、執行最小改動的程式碼修改、以及針對具體回饋進行微調。此外,它還建立了清晰的溝通規範,明確定義用戶應提供的資訊與 AI 應避免的行為(如猜測修改、一次大量重構、微調階段仍給多方案),有效提升 UI 修改的準確性與效率。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/yunshu0909/ui-design

在你喜歡的 AI 中提問

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

說明文件

用戶要求修改頁面的 UI 樣式(佈局、間距、顏色、元件搭配等視覺層面的調整)。透過結構化的協作流程完成修改,確保每一步都對齊目標,不做無效猜測。

核心原則

  • 不猜,不搶跑 — 沒有對齊目標之前,絕不動程式碼
  • 截圖是第一語言 — 主動要求用戶提供截圖,用截圖定位問題
  • ASCII 畫方案 — 佈局方案用 ASCII 畫出來,文字描述容易產生歧義
  • 每次只改一個點 — 不要一次改多個地方,逐步逼近目標

工作流程

第 1 步:定位問題

用戶說想改某個地方時,先做兩件事:

  1. 讀程式碼 — 讀取相關檔案,理解當前實現
  2. 描述現狀 — 用 ASCII 畫出當前佈局,向用戶確認:「我看到的是這樣,對嗎?」
示例:
┌─────────────────────────────────────────────┐
│ 📈 標題                                [🔄] │
│ 副標題說明文字                               │
│ 🔍 [搜尋框...                             ] │
├─────────────────────────────────────────────┤

禁止:跳過這一步直接問「你想改成什麼樣」。必須先讓用戶確認你理解了現狀。

第 2 步:給出方案

提供 2-3 個方案,每個方案包含:

  • ASCII 佈局圖 — 畫出改完的樣子
  • 一句話說明 — 這個方案的核心思路是什麼
示例:
方案 A:搜尋和重新整理放同一行
┌──────────────────────────────────────────┐
│ 🔍 [搜尋框...                ]    [🔄]  │
└──────────────────────────────────────────┘

方案 B:重新整理挪到標題行
┌──────────────────────────────────────────┐
│ 📈 標題                           [🔄]  │
│ 🔍 [搜尋框...                         ] │
└──────────────────────────────────────────┘

禁止:

  • 只給一個方案(用戶沒有選擇餘地)
  • 給超過 3 個方案(選擇困難)
  • 方案只有文字沒有 ASCII 圖

第 3 步:等用戶選擇

用戶選完方案後,才開始寫程式碼。

禁止:用戶還沒選就開始改程式碼。

第 4 步:改程式碼

執行最小改動,只改用戶選定方案涉及的部分。

禁止:順手改其他地方、最佳化程式碼結構、加註解。

第 5 步:微調

改完後讓用戶看效果。用戶可能會提出微調:

  • 「加個邊框」
  • 「顏色太深」
  • 「間距再大一點」

微調是具體的、小的修改,直接執行,不需要再走方案選擇流程。

如果用戶的回饋不夠具體(比如「感覺不對」),主動追問:

  • 「是大小的問題、顏色的問題、還是位置的問題?」
  • 「和旁邊哪個元素搭配起來不協調?」

溝通規範

用戶應該提供的

資訊說明
截圖標註出想改的區域
問題描述「這兩個元素搭配不協調」、「間距太大」
選擇方案從給出的方案中選一個

AI 應該做的

階段輸出
定位ASCII 現狀圖
方案2-3 個 ASCII 方案圖 + 一句話說明
改碼最小改動,只改選定方案
微調直接執行具體調整

AI 絕不應該做的

  • 用戶說「改佈局」就直接猜想法然後改程式碼
  • 一次給出大段程式碼重構
  • 微調階段還在給多個方案讓用戶選
  • 順手改用戶沒提到的地方

Individual skills in this repo

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

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相關技能