Token导航 LogoToken导航

Agent Skill · 前端设计

moai-domain-uiux(摩艾域 uiux)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

moai-domain-uiux 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 1,425。

总安装 5,826周安装 238GitHub Stars 964下载 1,866核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/modu-ai/moai-adk --skill moai-domain-uiux

这个 Skill 是做什么的

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

用于辅助前端页面和组件开发,支持 React、Vue 等框架代码生成。可审查样式、布局和交互逻辑,帮助优化组件结构和性能表现。使用时需结合项目现有设计系统和路由,避免生成孤立片段。涉及页面改动时应配合本地预览和构建检查,确认视觉效果正确。

适用于 Codex、Claude、Cursor 和 Gemini CLI,依赖仓库具体实现。

来源仓库内路径:skills/moai-domain-uiux

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/modu-ai/moai-adk --skill moai-domain-uiux;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

moai-domain-uiux 怎么安装?

在终端执行 npx skills add https://github.com/modu-ai/moai-adk --skill moai-domain-uiux。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

moai-domain-uiux 支持哪些 AI 工具?

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

moai-domain-uiux 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

moai-domain-uiux 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

moai-domain-uiux 用的人多吗?

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

moai-domain-uiux 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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只读未明确通过
moai-domain-uiux

摩艾域 uiux · 本页

5,826964调用外部服务MIT通过

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

SKILL.md 原文

Quick Reference

Core UI/UX Foundation - Enterprise-grade UI/UX foundation integrating design systems (W3C DTCG 2025.10), component architecture (React 19, Vue 3.5), accessibility (WCAG 2.2), icon libraries (200K+ icons), and theming systems.

Unified Capabilities:

  • Design Systems: W3C DTCG 2025.10 tokens, Style Dictionary 4.0, Pencil MCP workflows
  • Component Architecture: Atomic Design, React 19, Vue 3.5, shadcn/ui, Radix UI primitives
  • Accessibility: WCAG 2.2 AA/AAA compliance, keyboard navigation, screen reader optimization
  • Icon Libraries: 10+ ecosystems (Lucide, React Icons 35K+, Tabler 5900+, Iconify 200K+, Hugeicons 27K+)
  • Theming: CSS variables, light/dark modes, theme provider, brand customization

When to Use:

  • Building modern UI component libraries with design system foundations
  • Implementing accessible, enterprise-grade user interfaces
  • Setting up design token architecture for multi-platform projects
  • Integrating comprehensive icon systems with optimal bundle sizes
  • Creating customizable theming systems with dark mode support

Module Organization:

  • Components: modules/component-architecture.md (Atomic Design, component patterns, props APIs)
  • Design Systems: modules/design-system-tokens.md (DTCG tokens, Style Dictionary, Pencil MCP)
  • Accessibility: modules/accessibility-wcag.md (WCAG 2.2 compliance, testing, navigation)
  • Icons: modules/icon-libraries.md (10+ libraries, selection guide, performance optimization)
  • Theming: modules/theming-system.md (theme system, CSS variables, brand customization)
  • Web Interface Guidelines: modules/web-interface-guidelines.md (Vercel Labs comprehensive UI/UX compliance, frontend composition rules)
  • Examples: examples.md (practical implementation examples)
  • Reference: reference.md (external documentation links)

Implementation Guide

Foundation Stack

Core Technologies:

  • React 19 with Server Components and Concurrent Rendering
  • TypeScript 5.9+ with full type safety and improved inference
  • Tailwind CSS 4.x with CSS-first configuration, CSS variables, and dark mode
  • Radix UI for unstyled accessible primitives
  • W3C DTCG 2025.10 for design token specification
  • Style Dictionary 4.0 for token transformation
  • Pencil MCP for design-to-code automation
  • Storybook 8.x for component documentation

Quick Decision Guide:

For design tokens, use modules/design-system-tokens.md with DTCG 2025.10 and Style Dictionary 4.0.

For component patterns, use modules/component-architecture.md with Atomic Design, React 19, and shadcn/ui.

For accessibility, use modules/accessibility-wcag.md with WCAG 2.2, jest-axe, and keyboard navigation.

For icons, use modules/icon-libraries.md with Lucide, React Icons, Tabler, Iconify, and Hugeicons.

For Nova preset and design presets, use moai-design-tools skill (reference/pencil-renderer.md).

For theming, use modules/theming-system.md with CSS variables and Theme Provider.

For practical examples, use examples.md with React and Vue implementations.


Quick Start Workflows

Design System Setup

Step 1: Initialize design tokens by creating a JSON file with DTCG schema URL. Define color tokens with type color and primary 500 value. Define spacing tokens with type dimension and md value of 1rem.

Step 2: Transform tokens with Style Dictionary by installing the package and running the build command.

Step 3: Integrate with components by importing colors and spacing from the tokens directory.

See modules/design-system-tokens.md for complete token architecture.

Component Library Setup

Step 1: Initialize shadcn/ui by running the init command, then add button, form, and dialog components.

Step 2: Set up Atomic Design structure with atoms directory for Button, Input, and Label components, molecules directory for FormGroup and Card components, and organisms directory for DataTable and Modal components.

Step 3: Implement with accessibility by adding aria-label attributes to interactive elements.

See modules/component-architecture.md for patterns and examples.

Icon System Integration

Step 1: Choose icon library based on needs. Install lucide-react for general purpose, iconify/react for maximum variety, or tabler/icons-react for dashboard optimization.

Step 2: Implement type-safe icons by importing specific icons and applying className for sizing and color.

See modules/icon-libraries.md for library comparison and optimization.

Theme System Setup

Step 1: Configure CSS variables in root selector for primary and background colors. Define dark class with inverted values for dark mode.

Step 2: Implement Theme Provider by wrapping the application with attribute set to class and defaultTheme set to system.

See modules/theming-system.md for complete theme system.


Key Principles

Design Token First:

  • Single source of truth for design decisions
  • Semantic naming using color.primary.500 format rather than blue-500
  • Multi-theme support for light and dark modes
  • Platform-agnostic transformation

Accessibility by Default:

  • WCAG 2.2 AA minimum with 4.5:1 text contrast
  • Keyboard navigation for all interactive elements
  • ARIA attributes for screen readers
  • Focus management and visible indicators

Component Composition:

  • Atomic Design hierarchy from Atoms to Molecules to Organisms
  • Props API for reusability
  • Variant-based styling rather than separate components
  • Type-safe with TypeScript

Performance Optimization:

  • Tree-shaking for icons by importing specific icons rather than all
  • Lazy loading for large components
  • React.memo for expensive renders
  • Bundle size monitoring

Best Practices

Required Practices:

Use design tokens exclusively for all color, spacing, and typography values. Design tokens provide a single source of truth, enabling consistent theming, multi-platform support, and scalable design systems. Hardcoded values create maintenance debt and break theme switching.

Include ARIA labels on all icon-only interactive elements. Screen readers cannot interpret visual icons without text alternatives. Missing ARIA labels violate WCAG 2.2 AA compliance.

Import icons individually rather than using namespace imports. Namespace imports bundle entire libraries, defeating tree-shaking optimization. Bundle sizes increase by 500KB-2MB per icon library.

Test all components in both light and dark modes. Theme switching affects color contrast, readability, and accessibility compliance.

Implement keyboard navigation for all interactive components. Keyboard-only users require Tab, Enter, Escape, and Arrow key support.

Provide visible focus indicators for all focusable elements. Focus indicators communicate current keyboard position for navigation and accessibility.

Use Tailwind utility classes instead of inline styles. Tailwind provides consistent spacing scale, responsive design, and automatic purging for optimal bundle sizes.

Include loading states for all asynchronous operations. Loading states provide feedback during data fetching, preventing user uncertainty.


Works Well With

Skills:

  • moai-lang-typescript - TypeScript and JavaScript best practices
  • moai-foundation-core - TRUST 5 quality validation
  • moai-library-nextra - Documentation generation
  • moai-library-shadcn - shadcn/ui specialized patterns

Agents:

  • code-frontend - Frontend component implementation
  • design-uiux - Design system architecture
  • mcp-pencil - Pencil MCP design workflows
  • core-quality - Accessibility and quality validation

Commands:

  • /moai:2-run - DDD implementation cycle
  • /moai:3-sync - Documentation generation

Resources

For detailed module documentation, see the modules directory.

For practical code examples, see examples.md.

For external documentation links, see reference.md.

Official Resources:


Last Updated: 2026-03-11 Status: Production Ready Version: 3.0.0

Common Rationalizations

RationalizationReality
"Accessibility is a nice-to-have, not a requirement"WCAG compliance is a legal requirement in many jurisdictions. It is also a core quality dimension, not optional.
"Dark mode is just inverting colors"Naive inversion breaks contrast ratios, image visibility, and semantic color meanings. Dark mode is a design exercise.
"The design system is too rigid, I need custom styles"Custom styles that bypass the design system create inconsistency. Extend the system instead of working around it.
"Icons do not need labels, they are self-explanatory"Icons are ambiguous without context. Screen readers cannot describe unlabeled icons. Always add aria-label.
"I will handle responsive design at the end"Responsive retrofitting breaks layouts. Design for the smallest viewport first, then enhance.

Red Flags

  • Interactive element has no visible focus indicator
  • Color contrast ratio below 4.5:1 for normal text
  • Icon used without aria-label or accompanying text
  • Design token bypassed with hardcoded color or spacing value
  • No dark mode variant defined for a new component
  • Responsive breakpoints absent from new layout components

Verification

  • Color contrast meets WCAG AA (4.5:1 normal text, 3:1 large text) (show contrast check output)
  • All interactive elements have visible focus indicators
  • Icons have accessible names (aria-label or accompanying visible text)
  • Design tokens used for colors, spacing, and typography (no hardcoded values)
  • Dark mode renders correctly without broken contrast or invisible elements
  • Layout tested at mobile (320px), tablet (768px), and desktop (1280px) widths

平台分布

Claude Code

27.14%
按下载量换算506

Antigravity

24.95%
按下载量换算466

Codex

19.32%
按下载量换算361

OpenCode

12.47%
按下载量换算233

Cursor

7.48%
按下载量换算140

Gemini CLI

3.37%
按下载量换算63

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills