跳到正文
cccskills
免费在 GitHub 公开

godmode-ui-ux

Use when acting as the authoritative design lead for all frontend work, enforcing brand discovery, Anti-Slop rules, DTCG design tokens, fluid motion, and data-driven design generation.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(8)

  • SKILL.md7.1 KB
  • brand-discovery.md3.4 KB
  • design-tokens.json9.8 KB
  • references/anti-slop-rules.md5.5 KB
  • references/bento-paradigm.md3.2 KB
  • references/creative-arsenal.md5.1 KB
  • references/motion-tokens.md4.7 KB
  • references/taste-archetypes.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

UI/UX Godmode

This skill is the single source of truth for all design decisions. It replaces: design-taste-frontend, frontend-design.

Routing: Component lookup order: the project's own design system and sources file first (its components, tokens, DESIGN.md); the BDB library (@bdb registry; version-pinned unpkg entry https://unpkg.com/@hybridlabor-api/ui-motion-library@0.1.0/publish/registry/{name}.json in components.json) only when the project opts in; then the verified registries listed in the UI library's docs/sources.md (link-only entries are documentation links, never code sources).

-1. Design Source Discovery (MANDATORY FIRST STEP)

Look for the project's own design source first: design-tokens.json, tokens.css, the tailwind theme, brand.md or DESIGN.md. Use it if found. If none exists, ask the user; otherwise start from the neutral defaults in design-tokens.json.

0. Brand Discovery (MANDATORY FIRST STEP)

Before ANY design work, gather project context. Never assume colors, fonts, or visual direction.

Discovery Checklist:

  1. Ask: "Do you have existing brand assets? (Logo, CI guideline, Styleguide, screenshots)"
  2. Ask: "What are your brand colors? (Hex, oklch, or description)"
  3. Ask: "Do you use specific fonts?"
  4. Ask: "Any websites/apps whose look you admire?"
  5. Ask: "Should it feel minimalist, playful, luxurious, or technical?"

Output: Project DESIGN.md

Generate a project-specific DESIGN.md containing:

  • Primary/Secondary/Accent colors (oklch)
  • Font stack
  • Spacing preference
  • Motion intensity (1-10)
  • Visual density (1-10)
  • Design variance (1-10)
  • Brand constraints and things to avoid

Anti-Slop Context Logic:

  • IF brand colors defined → Color bans (Lila Ban, etc.) = SUSPENDED
  • IF brand fonts defined → Font bans (Inter Ban, etc.) = SUSPENDED
  • Pattern-level Anti-Slop (no generic dashboards, no emojis, no card overuse) = ALWAYS ACTIVE
  • IF no brand defined → Select ONE aesthetic archetype from references/taste-archetypes.md (Utilitarian Minimalist, Industrial Brutalist, High-End Tactile, Ethereal Modern) + all Anti-Slop bans ACTIVE

1. Anti-Slop Directive

These pattern rules are ALWAYS active regardless of brand:

  • No default sidebar/header dashboard layouts unless explicitly requested
  • No emoji icons — use Phosphor, Radix, or Lucide SVG only
  • No arbitrary border-radius mixing (follow token scale)
  • No flat design without hierarchy — use multi-layered diffuse shadows
  • No centered hero sections when design variance > 4
  • No 3-column equal card grids
  • No generic names ("John Doe", "Acme") in mockups
  • No filler words ("Elevate", "Seamless", "Next-Gen")
  • No broken Unsplash links — use picsum.photos or SVG avatars

Color/Font bans (ONLY when no brand is defined):

  • No AI Purple/Blue gradient aesthetic as default
  • No Inter font — use Geist, Outfit, Cabinet Grotesk, or Satoshi
  • No oversaturated accent colors (saturation < 80%)

Full ban reference: → references/anti-slop-rules.md

2. Design Tokens (Machine-Readable)

All design values MUST come from design-tokens.json (DTCG format).

  • Color: oklch() for perceptual uniformity
  • Spacing: 8pt grid (4, 8, 12, 16, 24, 32, 48, 64, 96)
  • Typography: Modular scale (Major Third 1.25)
  • Motion: Spring physics presets (subtle, default, bouncy)
  • Radius: Nested mathematical scale (6, 12, 16, 24, 40)

Never guess spacing values. Never use arbitrary hex colors.

3. Motion & Physics

  • Use spring physics (stiffness/damping/mass), not fixed-duration ease-in-out
  • Animations must be interruptible (reverse from current state, don't snap)
  • Elements expand from origin point (Shared Element Transitions)
  • Use useMotionValue/useTransform for continuous tracking (NOT useState)
  • Perpetual animations must be React.memo'd in isolated Client Components
  • Stagger children for list/grid reveals
  • Never animate top/left/width/height — only transform + opacity
  • Grain/noise filters on fixed pointer-events-none layers only

Spring presets: → design-tokens.json > motion Creative arsenal: → references/creative-arsenal.md Bento paradigm: → references/bento-paradigm.md

4. Enterprise Density & Accessibility

  • WCAG 2.1 AA: contrast ratio ≥ 4.5:1 for normal text
  • Keyboard: all interactive elements reachable via Tab, executable via Enter/Space
  • Focus: visible focus-visible:ring-2 ring-offset-2 states
  • High-density B2B: tabular-nums, right-aligned numbers, compact padding
  • Touch targets: minimum 44x44px
  • prefers-reduced-motion: disable perpetual animations
  • min-h-[100dvh] instead of h-screen (iOS Safari fix)

5. Verification Gate (Mandatory before Code Output)

Silently validate ALL code against this before presenting to user:

Brand

  • Brand Discovery completed or user declined?
  • Colors from DESIGN.md or design-tokens.json defaults?
  • No hardcoded hex values outside token system?

Anti-Slop

  • No forbidden pattern from §1?
  • No emoji icons?

Motion

  • Springs for interactive elements?
  • Perpetual animations in isolated Client Components?

Accessibility

  • Contrast ≥ 4.5:1?
  • Keyboard navigable?
  • Focus states visible?
  • prefers-reduced-motion respected?

States

  • Loading (skeleton, not spinner)?
  • Empty (friendly + next action)?
  • Error (recovery path)?

6. Harness Integration

  • Cursor: injected via .cursor/rules/godmode-ui-ux.mdc
  • Claude Code: reads via CLAUDE.md
  • Antigravity: natively enforced
  • MediaStorm: extends to TouchDesigner/Unreal operator panels via /bdbmediastorm

Overview

Master orchestration skill for UI/UX design, enforcing high-agency design taste and system consistency.

When to Use

  • Triggered when acting as the primary design authority on a frontend project.
  • Exclude when performing pure backend or DevOps tasks.

Core Process

  1. Analyze the requested UI against project DESIGN.md and Anti-Slop guidelines.
  2. Ensure all spacing and colors utilize DTCG design tokens.
  3. Implement explicit loading, error, and empty states.
  4. Apply fluid motion physics for interactions.

Common Rationalizations

RationalizationReality
I'll just add this one CSS override to make it fit.Violates design tokens and creates inconsistent UI; use the designated token.
We don't need a loading state here, it's fast.Network latency varies; missing feedback states cause perceived unresponsiveness.
I'll skip the dark mode check since the primary brand is light.Incomplete dark mode breaks the app for users relying on system preferences.

Red Flags

  • Hardcoded hex colors or arbitrary pixel values in new components.
  • Absence of loading/error states in newly implemented features.
  • Ignoring motion physics and using linear CSS transitions.

Verification

  • All spacing and colors use DTCG design tokens.
  • Loading and error states are explicitly handled.
  • Motion transitions follow the fluid motion physics guidelines.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

查看 hybridlabor-api 的全部技能

报告此技能的问题