Token导航 LogoToken导航

Agent Skill · 前端设计

xaem-theme-ui(xaem 主题用户界面)

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

xaem-theme-ui 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,536。

总安装 279周安装 12GitHub Stars 1下载 98核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:xaem-theme-ui(xaem 主题用户界面)
来源仓库:https://github.com/cleanexpo/nodejs-starter-v1
仓库路径:skills/xaem-theme-ui
安装命令:
npx skills add https://github.com/cleanexpo/nodejs-starter-v1 --skill xaem-theme-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cleanexpo/nodejs-starter-v1 --skill xaem-theme-ui

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

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

适用于前端开发者和设计师提升界面质量和用户体验。

来源仓库内路径:skills/xaem-theme-ui

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cleanexpo/nodejs-starter-v1 --skill xaem-theme…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

xaem-theme-ui 怎么安装?

在终端执行 npx skills add https://github.com/cleanexpo/nodejs-starter-v1 --skill xaem-theme-ui。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

xaem-theme-ui 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

xaem-theme-ui 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

xaem-theme-ui 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

xaem-theme-ui 用的人多吗?

公开数据是累计安装 279 次,近一周安装 12 次,下载 98 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

xaem-theme-ui 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
xaem-theme-ui

xaem 主题用户界面 · 本页

2791需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

XAEM Theme UI - Theme Generation & Code Translation

Two-pass pipeline for generating high-entropy visual themes and translating them into implementable code. Works upstream of scientific-luxury constraint enforcement.

Description

XAEM Theme UI adds a creative generation layer to the design system. While scientific-luxury enforces structural constraints (OLED black, 0.5px borders, rounded-sm, physics-based easings), it does not generate themes. This skill fills that gap with a two-pass pipeline:

  1. Pass 1 (Generate): Create high-entropy visual themes -- spectral colour palettes, glow intensities, animation timing scales, typography weight distributions, opacity hierarchies
  2. Pass 2 (Translate): Convert generated themes into implementable code -- CSS variables, TypeScript design tokens, Tailwind config extensions, Framer Motion preset overrides, component style maps

The structural skeleton remains immutable. Only the visual skin is customisable.

When to Apply

Positive Triggers

  • Generating new colour palettes or theme variations
  • Creating design tokens for a new feature area
  • Building theme presets (dark variants, branded themes)
  • User mentions: "theme", "palette", "colour scheme", "design tokens", "generate theme"
  • Translating a mood board or colour brief into code
  • Customising glow intensities, animation timing, or opacity scales

Negative Triggers

  • Enforcing existing design constraints (use scientific-luxury instead)
  • Reviewing component layout compliance (use scientific-luxury instead)
  • Optimising algorithm performance (use council-of-logic instead)
  • Writing backend logic, API routes, or database schemas

The Two Laws

Law 1: Generate Then Translate

Every theme goes through both passes sequentially. Never ship a palette without its code translation. Never write design token code without a generation rationale.

Law 2: Never Violate Structural Constraints

The following are immutable and cannot be overridden by any theme:

ConstraintLocked ValueReason
Background#050505 (OLED Black)Foundation of visual hierarchy
Border width0.5pxSingle-pixel precision
Border radiusrounded-sm (2px)Sharp, professional appearance
Animation engineFramer Motion onlyPhysics-based motion
Easing curvesPhysics-based (outExpo, snappy, etc.)No linear transitions
Layout patternTimeline / asymmetricalNo symmetrical card grids
Status iconsBreathing orbsNo Lucide/FontAwesome for status

Pass 1: Theme Generation

1.1 Colour Palette Generation

Every theme defines exactly six spectral colours mapped to semantic roles:

RoleSemantic PurposeDefault Hex
PrimaryActive, in-progress, CTA#00F5FF
SuccessCompleted, approved, positive#00FF88
WarningVerification, awaiting, caution#FFB800
DangerError, failed, rejected#FF4444
AccentEscalation, human intervention#FF00FF
NeutralPending, inactive, disabled#6B7280
Palette Strategies

Analogous -- Colours within 30 degrees on the colour wheel. Produces harmonious, low-contrast themes suited for ambient dashboards.

Example: Primary #00F5FF → Success #00FFC8 → Warning #88FF00

Complementary -- Pairs colours from opposite sides of the wheel. High contrast, suited for alert-heavy interfaces.

Example: Primary #00F5FF → Accent #FF0A55

Triadic -- Three colours evenly spaced at 120 degrees. Balanced vibrancy for data-rich views.

Example: Primary #00F5FF → Warning #FF8800 → Accent #AA00FF
Palette Constraints
  • All colours must have sufficient contrast against #050505 (minimum 4.5:1 for text)
  • No pastel or desaturated colours (saturation must be >= 70%)
  • No pure white (#FFFFFF) as a spectral colour
  • Each colour must be visually distinct at 50% opacity over OLED black

1.2 Glow Intensity Curves

Glow is the primary visual feedback mechanism. Three intensity tiers:

TierInner OpacityOuter OpacitySpread (px)Use Case
Low20%10%20Subtle ambient presence
Medium40%20%40Default interactive
High60%30%60Alert, active focus

Themes may adjust these values within these bounds:

  • Inner opacity: 15%--65%
  • Outer opacity: 8%--35%
  • Spread: 12px--80px

1.3 Animation Timing Scale

Themes define a timing scale with six duration values:

TokenDefault (s)Range (s)Purpose
fast0.20.15--0.3Micro-interactions
normal0.40.3--0.6Standard transitions
slow0.60.5--0.9Deliberate, emphasised
breathe2.01.5--3.0Breathing pulse loops
pulse1.51.0--2.5Glow pulse cycles
ambient3.02.0--4.0Background ambient effects

All durations must use physics-based easing. Linear timing is banned.

1.4 Typography Weight Distribution

Themes select from the permitted weight range:

TokenDefaultRangeUsage
heroWeight200100--300Hero titles
titleWeight300200--400Section headings
bodyWeight400300--500Body text
dataWeight500400--600Monospace data
labelWeight400300--500Uppercase labels

Font families are locked: JetBrains Mono (data), Inter/SF Pro (editorial).

1.5 Opacity Hierarchy Tuning

Themes define a six-step text opacity scale and a three-step border opacity scale:

Text:   primary(0.85-0.95) → secondary(0.65-0.75) → tertiary(0.45-0.55)
        → muted(0.35-0.45) → subtle(0.25-0.35) → ghost(0.15-0.25)

Border: visible(0.08-0.12) → subtle(0.04-0.08) → ghost(0.02-0.04)

Pass 2: Code Translation

2.1 CSS Variable Output

:root {
  /* Spectral Palette */
  --spectral-primary: #00F5FF;
  --spectral-success: #00FF88;
  --spectral-warning: #FFB800;
  --spectral-danger: #FF4444;
  --spectral-accent: #FF00FF;
  --spectral-neutral: #6B7280;

  /* Glow Intensities */
  --glow-low-inner: 20;
  --glow-low-outer: 10;
  --glow-med-inner: 40;
  --glow-med-outer: 20;
  --glow-high-inner: 60;
  --glow-high-outer: 30;

  /* Animation Timing */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
  --duration-breathe: 2s;
  --duration-pulse: 1.5s;
  --duration-ambient: 3s;

  /* Text Opacity Hierarchy */
  --text-primary: rgba(255, 255, 255, 0.9);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-subtle: rgba(255, 255, 255, 0.3);
  --text-ghost: rgba(255, 255, 255, 0.2);

  /* Border Opacity Hierarchy */
  --border-visible: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-ghost: rgba(255, 255, 255, 0.03);
}

2.2 TypeScript Design Token File

export const THEME = {
  spectral: {
    primary: '#00F5FF',
    success: '#00FF88',
    warning: '#FFB800',
    danger: '#FF4444',
    accent: '#FF00FF',
    neutral: '#6B7280',
  },
  glow: {
    low: { inner: '20', outer: '10', spread: 20 },
    medium: { inner: '40', outer: '20', spread: 40 },
    high: { inner: '60', outer: '30', spread: 60 },
  },
  durations: {
    fast: 0.2,
    normal: 0.4,
    slow: 0.6,
    breathe: 2.0,
    pulse: 1.5,
    ambient: 3.0,
  },
  weights: {
    hero: 200,
    title: 300,
    body: 400,
    data: 500,
    label: 400,
  },
} as const;

2.3 Tailwind Theme Extension

// tailwind.config.ts (theme.extend block)
{
  colors: {
    spectral: {
      primary: 'var(--spectral-primary)',
      success: 'var(--spectral-success)',
      warning: 'var(--spectral-warning)',
      danger: 'var(--spectral-danger)',
      accent: 'var(--spectral-accent)',
      neutral: 'var(--spectral-neutral)',
    },
  },
  transitionDuration: {
    fast: 'var(--duration-fast)',
    normal: 'var(--duration-normal)',
    slow: 'var(--duration-slow)',
  },
}

2.4 Framer Motion Preset Overrides

import { THEME } from './design-tokens';

export const themeMotion = {
  fadeInLeft: {
    initial: { opacity: 0, x: -20 },
    animate: { opacity: 1, x: 0 },
    transition: {
      duration: THEME.durations.normal,
      ease: [0.19, 1, 0.22, 1],
    },
  },
  breathing: {
    animate: { opacity: [1, 0.6, 1], scale: [1, 1.05, 1] },
    transition: {
      duration: THEME.durations.breathe,
      repeat: Infinity,
      ease: 'easeInOut',
    },
  },
  glowPulse: (colour: string) => ({
    animate: {
      boxShadow: [
        `0 0 0 ${colour}00`,
        `0 0 ${THEME.glow.medium.spread}px ${colour}${THEME.glow.medium.inner}`,
        `0 0 0 ${colour}00`,
      ],
    },
    transition: { duration: THEME.durations.pulse, repeat: Infinity },
  }),
};

2.5 Status Colour Mapping

import { THEME } from './design-tokens';

export const STATUS_MAP = {
  pending: THEME.spectral.neutral,
  in_progress: THEME.spectral.primary,
  awaiting_verification: THEME.spectral.warning,
  verification_in_progress: THEME.spectral.warning,
  verification_passed: THEME.spectral.success,
  verification_failed: THEME.spectral.danger,
  completed: THEME.spectral.success,
  failed: THEME.spectral.danger,
  blocked: THEME.spectral.warning,
  escalated_to_human: THEME.spectral.accent,
} as const;

Existing Design Tokens Reference

The current baseline lives at apps/web/lib/design-tokens.ts. Key exports:

  • SPECTRAL -- Six-colour palette (cyan, emerald, amber, red, magenta, grey)
  • BACKGROUNDS -- OLED black foundation with elevation steps
  • TEXT -- Six-step text opacity hierarchy
  • BORDERS -- Three-step border opacity hierarchy
  • EASINGS -- Four physics-based cubic-bezier curves
  • DURATIONS -- Six animation duration tokens
  • MOTION_PRESETS -- Framer Motion animation presets
  • TW -- Tailwind class helper constants

All generated themes must be compatible with this token structure.


Theme Presets

Scientific Luxury (Default)

The baseline theme. All values match apps/web/lib/design-tokens.ts.

Primary: #00F5FF (Cyan)    Success: #00FF88 (Emerald)
Warning: #FFB800 (Amber)   Danger:  #FF4444 (Red)
Accent:  #FF00FF (Magenta) Neutral: #6B7280 (Grey)
Glow: standard | Timing: standard | Weights: standard

Midnight Aurora

Cool-shifted palette with extended glow spread for ambient dashboards.

Primary: #00D4FF (Ice Blue)   Success: #00E87A (Mint)
Warning: #FF9F00 (Deep Amber) Danger:  #FF3355 (Crimson)
Accent:  #CC44FF (Violet)     Neutral: #5A6270 (Slate)
Glow: high-spread (50px med)  Timing: slower (+20%)
Weights: lighter (hero 100, title 200)

Solar Flare

Warm-shifted palette with snappy timing for alert-dense interfaces.

Primary: #FFAA00 (Solar Gold) Success: #44FF66 (Neon Green)
Warning: #FF6600 (Flame)      Danger:  #FF2222 (Hot Red)
Accent:  #FF44AA (Hot Pink)   Neutral: #7A7A80 (Warm Grey)
Glow: tight (spread 16px)     Timing: faster (-15%)
Weights: heavier (data 600, title 400)

Deep Ocean

Desaturated blue-green palette with slow, ambient timing for monitoring views.

Primary: #0099CC (Deep Teal)  Success: #00CC99 (Sea Green)
Warning: #CCAA00 (Muted Gold) Danger:  #CC3344 (Muted Red)
Accent:  #9944CC (Deep Purple) Neutral: #556677 (Ocean Grey)
Glow: diffuse (spread 70px)   Timing: slowest (+30%)
Weights: standard

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Overriding #050505 background in theme configBreaks OLED black foundationBackground is structural, not thematic. Leave it locked.
Using transition: linear in generated presetsViolates physics-based motion requirementUse outExpo, snappy, or smooth cubic-bezier curves
Generating pastel or low-saturation coloursInsufficient contrast on OLED blackMaintain >= 70% saturation, >= 4.5:1 contrast ratio
Producing grid-cols-2 or grid-cols-4 layoutSymmetrical grids banned by structural rulesTheme controls colour/timing, not layout. Layout is locked.
Setting rounded-lg or rounded-xl in tokensViolates sharp corner constraintrounded-sm is structural. Themes cannot modify border radius.
Using CSS @keyframes instead of Framer MotionBypasses physics-based animation engineAll motion via Framer Motion presets
Generating white text at 100% opacityHarsh, breaks opacity hierarchyMaximum text opacity is 0.95; use the six-step scale

Checklist

Before merging any generated theme:

  • Six spectral colours defined with hex values
  • All colours pass 4.5:1 contrast against #050505
  • Glow intensities within permitted bounds (inner 15-65%, outer 8-35%)
  • Animation durations within permitted ranges (0.15s--4.0s)
  • Typography weights within permitted ranges (100--600)
  • Text opacity scale has six steps, all within bounds
  • Border opacity scale has three steps, all within bounds
  • CSS variables generated and valid
  • TypeScript design token file compiles without errors
  • Tailwind config extension is syntactically correct
  • Framer Motion presets use physics-based easing only
  • Status colour mapping covers all AgentStatus values
  • No structural constraints overridden (background, borders, radius, layout)
  • Australian English used throughout (colour, not color)

Response Format

[AGENT_ACTIVATED]: XAEM Theme UI
[PHASE]: {Generation | Translation | Review}
[PASS]: {1 - Generate | 2 - Translate}
[STATUS]: {in_progress | awaiting_verification | complete}

{theme generation output or code translation}

[NEXT_ACTION]: {what happens next}

Integration Points

SystemRelationship
scientific-luxuryDownstream consumer. XAEM generates, scientific-luxury enforces.
council-of-logicShannon check on token count -- no redundant variables.
design-tokens.tsBaseline reference. Generated themes must be structurally compatible.
genesis-orchestratorTheme generation may be triggered during SECTION_D (frontend shell).

Australian Localisation

ElementFormatExample
DateDD/MM/YYYY13/02/2026
TimeH:MM am/pm2:30 pm
TimezoneAEST/AEDT2:30 pm AEDT
CurrencyAUD ($)$1,234.56
SpellingAustralian Englishcolour, behaviour

All generated tokens, comments, and documentation must use Australian English spelling conventions: colour (not color), customise (not customize), optimise (not optimize), analyse (not analyze).


XAEM THEME UI - GENERATION PIPELINE ACTIVE

平台分布

Codex

34.02%
按下载量换算33

Claude

29.85%
按下载量换算29

Cursor

19.59%
按下载量换算19

Gemini CLI

10.56%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills