Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

ui-design-stylingui 设计风格

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

984

周安装

41

GitHub Stars

1,117

下载量

328
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-design-styling(ui 设计风格)
来源仓库:https://github.com/ryokun6/ryos
仓库路径:skills/ui-design-styling
安装命令:
npx skills add https://github.com/ryokun6/ryos --skill ui-design-styling
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ryokun6/ryos --skill ui-design-styling

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。

  • 适合根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。
  • 使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素;涉及页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装方式:github,可通过 npx skills add 命令从指定仓库添加。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

ryOS UI Design & Styling

The 4 Themes

ThemeIDKey Traits
System 7system7Black/white, square corners, Chicago font, dotted patterns
macOS AquamacosxPinstripes, traffic lights, glossy buttons, Lucida Grande
Windows XPxpBlue gradients, Luna style, soft shadows, Tahoma
Windows 98win98Gray 3D bevels, classic blue title bars, MS Sans Serif

Essential Utilities

import { cn } from "@/lib/utils";
import { useTheme } from "@/contexts/ThemeContext";

const { osTheme } = useTheme();

// Theme-conditional classes
className={cn(
  "base-classes",
  osTheme === "macosx" && "aqua-specific",
  osTheme === "system7" && "system7-specific"
)}

OS-Aware Tailwind Classes

className="bg-os-window-bg"        // Window background
className="border-os-window"       // Window border
className="rounded-os"             // Theme-appropriate radius
className="font-os-ui"             // UI font stack
className="font-os-mono"           // Monospace font
className="shadow-os-window"       // Window shadow
className="h-os-titlebar"          // Title bar height

CSS Variables

Access via var(--name):

--os-font-ui, --os-font-mono
--os-color-window-bg, --os-color-window-border
--os-color-titlebar-active-bg, --os-color-titlebar-inactive-bg
--os-color-button-face, --os-color-button-highlight, --os-color-button-shadow
--os-color-selection-bg, --os-color-selection-text
--os-metrics-border-width, --os-metrics-radius
--os-metrics-titlebar-height, --os-metrics-menubar-height

Theme-Specific Styling

System 7

<div className={cn(
  "border-2 border-black bg-white rounded-none",
  "font-chicago text-black",
  "shadow-[2px_2px_0px_0px_rgba(0,0,0,0.5)]"
)}>

macOS Aqua

<div className={cn(
  "bg-[#E8E8E8] border border-black/30",
  "rounded-lg font-lucida-grande",
  "shadow-[0_3px_10px_rgba(0,0,0,0.3)]"
)}>
  <button className="aqua-button primary">OK</button>
</div>

Windows XP

<div className={cn(
  "bg-[#ECE9D8] border-[3px] border-[#0054E3]",
  "rounded-[0.5rem] font-tahoma",
  "shadow-[0_4px_8px_rgba(0,0,0,0.25)]"
)}>

Windows 98

<div className={cn(
  "bg-[#C0C0C0] border-2 rounded-none font-ms-sans-serif",
  "border-t-white border-l-white",
  "border-b-[#808080] border-r-[#808080]"
)}>

Theme Specifications

System 7 (system7)

PropertyValue
FontsChicago, Monaco (mono)
Window BG#FFFFFF
Border2px solid #000000
Radius0px
SelectionBlack bg, white text
Shadow2px 2px 0px 0px rgba(0,0,0,0.5)

macOS Aqua (macosx)

PropertyValue
FontsLucida Grande, Monaco (mono)
Window BG#E8E8E8
Border0.5px solid rgba(0,0,0,0.3)
Radius0.45rem (8px)
Selection#3875D7 bg, white text
Shadow0 3px 10px rgba(0,0,0,0.3)
Traffic LightsRed #FF5F57, Yellow #FEBC2E, Green #28C840

Windows XP (xp)

PropertyValue
FontsTahoma, Consolas (mono)
Window BG#ECE9D8
Border3px solid #0054E3
Radius0.5rem (8px)
Selection#316AC5 bg, white text
Shadow0 4px 8px rgba(0,0,0,0.25)
Title BarBlue gradient #0A246A#0054E3

Windows 98 (win98)

PropertyValue
FontsMS Sans Serif, Fixedsys (mono)
Window BG#C0C0C0
Raised Bevelborder: 2px solid; border-color: #FFF #808080 #808080 #FFF
Sunken Bevelborder: 2px solid; border-color: #808080 #FFF #FFF #808080
Radius0px
Selection#000080 bg, white text
Title BarGradient #000080#1084D0

Component Patterns

Theme-Adaptive Button

import { Button } from "@/components/ui/button";

<Button variant="default">Standard</Button>
<Button variant="retro">Retro Style</Button>
<Button variant="aqua">Aqua (macOS)</Button>

Aqua Buttons (CSS classes)

<button className="aqua-button">Default</button>
<button className="aqua-button primary">Primary (pulsing)</button>
<button className="aqua-button secondary">Secondary</button>

Win98 3D Button

<button className={cn(
  "px-4 py-1 bg-[#C0C0C0]",
  "border-2 border-t-white border-l-white",
  "border-b-[#808080] border-r-[#808080]",
  "active:border-t-[#808080] active:border-l-[#808080]",
  "active:border-b-white active:border-r-white"
)}>

Glassmorphism

<div className="bg-white/80 backdrop-blur-lg rounded-lg">
<div className="bg-black/40 backdrop-blur-xl text-white">

Theme-Aware Panel

<div className={cn(
  "p-4 bg-os-window-bg border-os-window rounded-os",
  osTheme === "system7" && "border-2 border-black",
  osTheme === "macosx" && "shadow-md",
  osTheme === "win98" && "border-2 border-t-white border-l-white border-b-[#808080] border-r-[#808080]"
)}>

Custom Components

ComponentUsage
AudioBarsFrequency visualization
PlaybackBarsEqualizer animation
VolumeBarHorizontal volume indicator
DialCircular dial control (sm/md/lg)
RightClickMenuContext menu wrapper

Dial Example

import { Dial } from "@/components/ui/dial";
<Dial value={50} onChange={setValue} size="md" label="Volume" />

Window Materials

ModeUse Case
defaultStandard opaque windows
transparentSemi-transparent (iPod, Photo Booth)
notitlebarImmersive with floating controls (Videos)

Best Practices

  1. Always search for existing patterns before creating new styles or components
  2. Always use cn() for conditional class merging
  3. Use OS-aware classes (bg-os-*, border-os-*) when available
  4. Check theme with useTheme() for complex conditional rendering
  5. Prefer CSS variables over hardcoded colors
  6. Test all 4 themes when adding styled components x

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.58%
按下载量换算117

Claude

26.59%
按下载量换算87

Cursor

19.64%
按下载量换算64

Gemini CLI

9.18%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills