Communitygithub.com

ComeOnOliver/skillshub

创建具有鲜明美学特色的、可用于生产环境的前端用户界面。适用于使用任何框架(React、Next.js、Angular、Vue、HTML/CSS)构建 Web 组件、页面、界面、仪表板或应用程序时。触发词包括:'构建页面'、'创建组件'、'设计仪表板'、'着陆页'、'UI 用于'、'构建布局'、'让它看起来不错'、'改进设计'、构建用户界面、创建界面、设计屏幕。

skillshub 是什么?

该技能("ComeOnOliver/skillshub")定义了一套严谨的设计思考流程,帮助 AI 代理在编写任何前端 UI 代码之前,先确立有意的美学方向。它将 UI 开发分为两个关键阶段:首先进行强制性的“设计思考”,明确界面的目的、语气和差异化特征;然后进入具体的美学维度执行,涵盖排版、色彩与主题、动效、空间构成以及背景与深度。 该技能的价值在于,它通过提供具体的反模式(如避免使用通用字体和泛滥的渐变配色)和丰富的参考结构(如字体配对和动效模式),有效防止了 AI 生成千篇一律、缺乏性格的用户界面。它支持所有主流前端框架(如 React、Next.js、Angular、Vue 和原生 HTML/CSS),并特别强调使用自托管字体和 CSS 自定义属性来保证设计的一致性与性能。 简而言之,这个技能是 AI 代理的设计指南,确保其生成的 UI 不仅功能完善,更具备独特的视觉识别度和专业感。它通过一套可执行的规则,将主观的“好看”转化为结构化的决策树和检查清单,非常适合需要构建生产级、具有品牌感或创意性界面的开发场景。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/HoangNguyen0403/agent-skills-standard/common-ui-design

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

UI 设计方向

优先级: P0 (基础性)

在编写任何代码之前,承诺一个深思熟虑的美学方向。

阶段 0: 设计思考 (编码前必做)

在触及实现之前,回答以下问题:

  1. 目的: 这个 UI 解决什么问题?谁在使用它?
  2. 语气: 选择一个极端并坚持——极简主义 | 极繁主义 | 复古未来主义 | 编辑/杂志风 | 奢华/精致 | 粗野主义/原始 | 趣味/玩具感 | 有机/自然 | 装饰艺术 | 工业/实用主义
  3. 差异化: 说出用户会记住这个界面的一个点。

大胆的极繁主义和精致的极简主义都有效——关键在于有意,而非强烈。

美学维度

排版

  • 配对使用一个独特的展示字体 + 一个精致的正文字体;切勿默认使用系统字体。
  • 通过 next/font、@font-face 或 Google Fonts API 自托管——在生产环境中切勿使用 CDN <link>。
  • 参见字体配对和语气示例

颜色与主题

  • 主色 + 锐利强调色 > 色调均匀分布的胆小调色板。
  • 使用 CSS 自定义属性 (--color-primary、--color-accent) 以确保一致性。
  • 承诺:深色或浅色——不要因为觉得“安全”而默认使用浅色。

动效

  • 一个编排良好的入场(交错揭示、animation-delay)> 散落的微交互。
  • CSS 优先:@keyframes、transition、animation-delay;React:对于复杂序列使用动效库。
  • 参见动效模式

空间构成

  • 有意打破网格:不对称、重叠、对角流动、打破网格的元素。
  • 慷慨的留白或可控的密度——切勿出现意外的中庸布局。

背景与深度

  • 营造氛围:渐变网格、噪点纹理、分层透明度、颗粒叠加。
  • 戏剧性的阴影和装饰性边框应与所选语气相匹配。
  • 纯白/灰背景 = 错失创意机会。

反模式

  • 不使用通用字体默认值:Inter/Roboto/Arial/system-ui 会产生乏味的 UI;选择有特色的字体。
  • 不使用紫色渐变配白色:最被滥用的 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

相关技能