Agent skill

Moai Domain Frontend

by modu-ai in modu-ai/moai-adk

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture.

Apache-2.0Auto-check passedFrontend & Design

Install Moai Domain Frontend

skills CLI
$ npx skills add modu-ai/moai-adk --skill moai-domain-frontend -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modu-ai/moai-adk moai-domain-frontend --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/moai-domain-frontend .claude/skills/moai-domain-frontend && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
moai-domain-frontend
GitHub stars
1.2k
Token cost
~1.8k tokens
SKILL.md length
755 words
Files
1
Skills in repo
48
Repo updated
First seen
Licence
Apache-2.0

At a glance

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture.

  • Building web UIs
  • SKILL.md covers Quick Reference, Patterns, Implementation Quickstart and Works Well With, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Implementing components

What it does

Moai Domain Frontend is an agent skill from modu-ai/moai-adk. Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

It sits in Frontend & Design, covering Frontend development, State management and UI design. It works with React, Next.js and Vue.js. The repository describes itself as: Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16… The licence is Apache-2.0.

When your agent uses it

  • Building web UIs
  • Implementing components
  • Optimizing frontend performance
  • Integrating state management

Example prompts

  • “/moai-domain-frontend”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Grep, Glob

What it can do on your machine

Read from SKILL.md and the folder at commit 2aab5f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • react.dev
    • nextjs.org
    • vuejs.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Moai Domain Frontend loads about 1.8k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 755 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modu-ai/moai-adk at commit 2aab5f7, republished under its Apache-2.0 licence (© modu-ai). 755 words, ~1,772 tokens.

Download SKILL.mdSave it as .claude/skills/moai-domain-frontend/SKILL.md (or your agent's skills folder).
name
moai-domain-frontend
description
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.
allowed-tools
Read, Grep, Glob
compatibility
Designed for Claude Code
when_to_use
Use for frontend development: React 19, Next.js 16, Vue 3.5 components, responsive UIs, TypeScript/JavaScript, state management, hooks, props, JSX/TSX, DOM…
license
Apache-2.0
user-invocable
false
metadata.version
2.1.0
metadata.category
domain
metadata.status
active
metadata.updated
2026-03-28
metadata.tags
frontend, react, nextjs, vue, ui, components
metadata.author
MoAI-ADK Team

Frontend Development Specialist

Quick Reference

Modern Frontend Development - Comprehensive patterns for React 19, Next.js 16, Vue 3.5.

Core Capabilities:

  • React 19: Server components, concurrent features, cache(), Suspense
  • Next.js 16: App Router, Server Actions, ISR, Route handlers
  • Vue 3.5: Composition API, TypeScript, Pinia state management
  • Component Architecture: Design systems, compound components, CVA
  • Performance: Code splitting, dynamic imports, memoization, Framer Motion animations

When to Use:

  • Modern web application development
  • Component library creation
  • Frontend performance optimization
  • UI/UX with accessibility

Patterns

Framework Patterns

React 19 Patterns:

  • Server Components, Concurrent features, cache() API, Form handling

Next.js 16 Patterns:

  • App Router, Server Actions, ISR, Route Handlers, Parallel Routes

Vue 3.5 Patterns:

  • Composition API, Composables, Reactivity, Pinia, Provide/Inject
Architecture Patterns

Component Architecture:

  • Design tokens, CVA variants, Compound components, Accessibility

State Management:

  • Zustand, Redux Toolkit, React Context, Pinia

Performance Optimization:

  • Code splitting, Dynamic imports, Image optimization, Memoization

AI-Assisted Frontend Patterns:

  • Visual reference strategy, Playwright verification, motion design, reasoning-level tuning

Vercel React Best Practices:

  • 45 rules across 8 categories from Vercel Engineering
  • Eliminating waterfalls, bundle optimization, server-side performance
  • Client-side data fetching, re-render optimization, rendering performance

Implementation Quickstart

React 19 Server Component

Create an async page component that uses the cache function from React to memoize data fetching. Import Suspense for loading states. Define a getData function that fetches from the API endpoint with an id parameter and returns JSON. In the page component, wrap the DataDisplay component with Suspense using a Skeleton fallback, and pass the awaited getData result as the data prop.

Next.js Server Action

Create a server action file with the use server directive. Import revalidatePath from next/cache and z from zod for validation. Define a schema with title (minimum 1 character) and content (minimum 10 characters). The createPost function accepts FormData, validates with safeParse, returns errors on failure, creates the post in the database, and calls revalidatePath for the posts page.

Vue Composable

Create a useUser composable that accepts a userId ref parameter. Define user as a nullable ref, loading as a boolean ref, and fullName as a computed property that concatenates firstName and lastName. Use watchEffect to set loading true, fetch the user data asynchronously, assign to user ref, and set loading false. Return the user, loading, and fullName refs.

CVA Component

Import cva and VariantProps from class-variance-authority. Define buttonVariants with base classes for inline-flex, items-center, justify-center, rounded-md, and font-medium. Add variants object with variant options for default (primary background with hover) and outline (border with hover accent). Add size options for sm (h-9, px-3, text-sm), default (h-10, px-4), and lg (h-11, px-8). Set defaultVariants for variant and size. Export a Button component that applies the variants to a button element className.


Works Well With

  • moai-domain-backend - Full-stack development
  • moai-ref-ui-polish - Component library integration
  • moai-ref-ui-polish - UI/UX design principles
  • .claude/rules/moai/languages/typescript.md - TypeScript patterns (auto-loaded via paths frontmatter)
  • moai-workflow-testing - Frontend testing

Show full SKILL.md (303 more words)Show less

Technology Stack

Frameworks: React 19, Next.js 16, Vue 3.5, Nuxt 3

Languages: TypeScript 5.9+, JavaScript ES2024

Styling: Tailwind CSS 3.4+, CSS Modules, shadcn/ui

Animation: Framer Motion

State: Zustand, Redux Toolkit, Pinia

Testing: Vitest, Testing Library, Playwright

Verification: Playwright (visual inspection, functional testing)


Resources

Official documentation:


Version: 2.1.0

<!-- moai:evolvable-start id="rationalizations" -->

Common Rationalizations

RationalizationReality
"Accessibility can be added after launch"Post-launch accessibility is a rewrite, not an addition. Semantic HTML and ARIA are foundational, not decorative.
"This component is too simple to need its own test"Simple components compose into complex UIs. A broken simple component cascades failures everywhere it is used.
"Server components are always faster"Server components add network round trips. Client components with proper caching can outperform naive server components. Measure, do not assume.
"I will just use any as the TypeScript type for now"any disables the type checker for everything downstream. One any infects the entire call chain.
"Global CSS is fine for this project"Global CSS creates specificity conflicts as the project grows. Scoped styles (CSS modules, Tailwind) prevent collisions.
<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="red-flags" -->

Red Flags

  • Component renders user-provided HTML without sanitization (XSS vector)
  • TypeScript any type used in component props or state definitions
  • No loading or error states defined for async data fetching components
  • Accessibility attributes (aria-label, role) missing from interactive elements
  • Bundle size increased by more than 50KB without justification
  • Component has more than 300 lines without extraction into sub-components
<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="verification" -->

Verification

  • All interactive elements have accessible names (aria-label or visible text)
  • Components handle loading, error, and empty states
  • No TypeScript any in new or modified code (show grep results)
  • Bundle size impact measured for new dependencies (show analyzer output)
  • User-provided content rendered with proper escaping or sanitization
  • Components under 300 lines or decomposed with clear sub-component boundaries
<!-- moai:evolvable-end -->

© modu-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/moai-domain-frontend of modu-ai/moai-adk.

Open the folder on GitHubat commit 2aab5f7

Compare with similar skills

Moai Domain Frontend next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Moai Domain Frontend compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moai Domain Frontend this skillmodu-ai/moai-adk1.2k—~1.8kAutomated safety check: PassApache-2.0
Premium UI Revampbuildfastwithai/gen-ai-experiments785—~2kAutomated safety check: PassMIT
Common UI DesignHoangNguyen0403/agent-skills-standard572—~849Automated safety check: PassMIT
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Design StyleCastor6/tactus3761 repos~2.1kAutomated safety check: PassApache-2.0
Senior FrontendOhh-889/skyroc7952 repos~1.1kAutomated safety check: NotesMIT

Similar skills

  • Premium UI Revamp

    buildfastwithai/gen-ai-experiments

    Audit and revamp existing web interfaces into polished, professional, product-specific experiences while preserving behavior and working within the current frontend stack.

    785 GitHub stars~2k tokensUpdated 19 days ago
    Frontend & DesignAuto-check passed
  • Common UI Design

    HoangNguyen0403/agent-skills-standard

    Design distinctive, production-grade frontend UI with bold aesthetic choices.

    572 GitHub stars~849 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Design Style

    Castor6/tactus

    A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.

    376 GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • Senior Frontend

    Ohh-889/skyroc

    Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS.

    795 GitHub starsUsed in 2 repos~1.1k tokens
    Frontend & DesignAuto-check: notes
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Frontend & DesignAuto-check passed

More from modu-ai/moai-adk

All 48 skills in this repo
  • Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.

    1.2k GitHub stars~5.2k tokensUpdated yesterday
    Auto-check: notes
  • MoAI Foundation Core

    modu-ai/moai-adk

    Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

    1.2k GitHub stars~5k tokensUpdated yesterday
    Auto-check passed
  • MoAI SPEC Workflow

    modu-ai/moai-adk

    Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.

    1.2k GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • MoAI TDD Workflow

    modu-ai/moai-adk

    Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

    1.2k GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • MoAI Worktree Management

    modu-ai/moai-adk

    Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.

    1.2k GitHub stars~3.9k tokensUpdated yesterday
    Auto-check passed
  • Watches a pull request's CI checks after creation, separates required from auxiliary failures, applies limited safe fixes and escalates anything semantic to you.

    1.2k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check: notes

Questions about Moai Domain Frontend

What does Moai Domain Frontend do?

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Moai Domain Frontend is an agent skill from modu-ai/moai-adk.5, and modern UI/UX patterns with component architecture.

When should I use Moai Domain Frontend?

Moai Domain Frontend fits situations like: building web UIs; implementing components; optimizing frontend performance; integrating state management.

How do I install Moai Domain Frontend in Claude Code?

Run `npx skills add modu-ai/moai-adk --skill moai-domain-frontend -a claude-code`. Or copy the skill folder (.claude/skills/moai-domain-frontend in modu-ai/moai-adk) into .claude/skills/moai-domain-frontend in your project. Claude Code loads it when a task matches its description.

How do I install Moai Domain Frontend in Codex?

Run `npx skills add modu-ai/moai-adk --skill moai-domain-frontend -a codex`. Or copy the skill folder (.claude/skills/moai-domain-frontend in modu-ai/moai-adk) into .agents/skills/moai-domain-frontend in your project. Codex loads it when a task matches its description.

Can I use Moai Domain Frontend in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modu-ai/moai-adk --skill moai-domain-frontend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moai-domain-frontend, .gemini/skills/moai-domain-frontend, .github/skills/moai-domain-frontend and .opencode/skills/moai-domain-frontend in your project.

What does Moai Domain Frontend need to run?

SKILL.md names no scripts, command-line tools or credentials: Moai Domain Frontend is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob. Compatibility (from SKILL.md): Designed for Claude Code.

Does Moai Domain Frontend access the network?

SKILL.md names 3 domains. As links in the text: react.dev, nextjs.org and vuejs.org. This is read from the text; nothing was executed.

Is Moai Domain Frontend safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Moai Domain Frontend use?

Moai Domain Frontend is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Moai Domain Frontend use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Moai Domain Frontend?

Skills that share tags, products or a category with Moai Domain Frontend: Premium UI Revamp (buildfastwithai/gen-ai-experiments, 785 stars), Common UI Design (HoangNguyen0403/agent-skills-standard, 572 stars), UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars) and Design Style (Castor6/tactus, 376 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Moai Domain Frontend?

modu-ai (a GitHub organization) maintains it in modu-ai/moai-adk, which has 1,230 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 9, 2026.

Source: modu-ai/moai-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.