Communitygithub.com

ComeOnOliver/skillshub

使用 Shadcn MCP(原子元件/主題)與 21st.dev MCP(複雜區塊)實作 UI。在需要新增按鈕、佈局或生成登陸頁面時使用。

skillshub 是什麼?

這個技能專注於現代 UI 開發,結合 Shadcn MCP 與 21st.dev MCP 這兩個工具。Shadcn MCP 負責原子級元件(如按鈕、輸入框、對話框)的安裝與主題設定,開發者可透過指令直接添加元件,或使用 pnpm dlx shadcn@latest add 等手動指令。21st.dev Magic MCP 則用於生成高階區塊,例如完整的登陸頁、Hero 區塊或儀表板,使用者只需提供描述即可自動產生相關程式碼,並應放置於 src/components/sections/ 或 src/components/website/ 目錄下。主題與樣式可透過 Shadcn MCP 更新色彩配置(如改用「zinc」中性基底搭配「blue」主色),或直接編輯 src/app/globals.css 中的 CSS 變數(支援 OKLCH 格式)。佈局建立則建議先辨識 Header、Sidebar、內容區等結構,再組合原子元件與區塊元件,若元件僅用於單一頁面則置於該頁面旁的 _components/ 資料夾。此技能支援 Claude Code、Cursor 等具備 MCP 整合能力的 AI 代理平台,適合需要快速建構一致、可維護 UI 的開發者。

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

在你喜歡的 AI 中提問

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

說明文件

UI Handler

使用說明

1. 安裝標準元件(原子元件)

使用 Shadcn MCP 來處理基礎 UI 元素(按鈕、輸入框、對話框)。

  1. 操作:向 Shadcn MCP 發送指令以新增元件。

    「使用 Shadcn MCP 新增按鈕與對話框元件。」

  2. 手動備援:pnpm dlx shadcn@latest add {component}

2. 生成複雜區塊(區塊元件)

使用 21st.dev Magic MCP 處理高階區塊(登陸頁面、Hero 區塊、儀表板)。

  1. 操作:向 21st.dev MCP 提供描述。

    「生成一個現代 SaaS Hero 區塊,包含暗色漸層背景與電子郵件收集表單。」

  2. 放置位置:將生成的檔案放置於 src/components/sections/ 或 src/components/website/。
  3. 整合:在 page.tsx 中匯入並使用這些元件。

3. 主題與樣式

使用 Shadcn MCP 或直接編輯 src/app/globals.css。

  • 主題更新:要求 Shadcn MCP 套用特定主題或色彩配置。

    「將應用程式主題更新為使用『zinc』中性基底搭配『blue』主色。」

  • CSS 變數:我們在 src/app/globals.css 中使用 CSS 變數(通常是 OKLCH)。確保任何新樣式都使用這些變數(例如 bg-background、text-primary)。

4. 建立佈局

  1. 識別:Header、Sidebar、內容區域。
  2. 組合:使用來自 @/components/ui 的原子元件以及來自 @/components/sections 的區塊元件。
  3. 就近放置:如果某個元件僅用於單一頁面,則將其放置在該頁面旁的 _components/ 資料夾中。

參考資料

如需詳細的架構與最佳實踐,請參閱 reference.md。

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

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

Next.js 16+ uses App Router with Server Components by default. Client Components are only used when interactivity is needed (hooks, event handlers, browser APIs).

ComeOnOliver/skillshub

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

相關技能