Skip to content
Agent Orchestration
Skill

/ui-engineering

Use when writing or changing frontend component code, page layouts, forms, client state, responsive behaviour, animation or styling, or when working in a codebase that uses a design system or component library such as shadcn/ui, Material UI, Ant Design, Chakra UI or Mantine.

From plugin
godmode
12333 skills1 agent2 hooks

Claude Code

$ npx -y skills add NoobyGains/godmode --skill ui-engineering --agent claude-code

SKILL.md

ui-engineering.SKILL.md
name: ui-engineering
description: "Use when writing or changing frontend component code, page layouts, forms, client state, responsive behaviour, animation or styling, or when working in a codebase that uses a design system or component library such as shadcn/ui, Material UI, Ant Design, Chakra UI or Mantine."

UI Engineering

`godmode:ui-research` decides what to build: the layout reference, the tokens, the pattern and states of each component. This skill builds it inside the project's design system with sound structure: semantic markup, composed components, clear state ownership, every state implemented, accessible by keyboard and screen reader, and fast. **Use what the design system provides, define structure, states and accessibility before markup, and prove the result in a real browser.**

The Prime Directive

NEVER REBUILD WHAT THE DESIGN SYSTEM PROVIDES; NEVER SHIP A COMPONENT WITHOUT ITS STATES AND KEYBOARD PATH

No exceptions. No workarounds. No shortcuts.

When to Use

**Required:**

  • Building or changing any component, page, layout or form.
  • Adding UI to a project that has a component library, a `components/ui` directory, a theme file or token file.
  • Deciding where state lives, how a layout responds, or how something animates.
  • Bootstrapping the UI layer of a new project.

**Skip:**

  • Pure styling copy edits that change no structure or state.
  • Non-visual code (APIs, jobs) with no interface change.

Run `godmode:ui-research` first when the screen or component has no settled pattern or tokens.

The Protocol

1. **Detect the design system.** Check the dependency manifest, then configuration files, then the source tree, using the detection table in [design-systems.md](references/design-systems.md). Record what you find: library and version, primitive layer, styling method, token location, component directory.

2. **Read its current docs for the component you need.** Library APIs change between major versions (Chakra UI v3 replaced its theming API; shadcn/ui now generates components on Radix, Base UI or React Aria). Verify the API through `godmode:grounding` before writing against it.

3. **Use, compose, or extend, in that order.**

  • The system has the component: use it with its own variant and size props.
  • It has the parts: compose them.
  • It has neither: build a new component that follows the system's conventions (naming, variant API, styling mechanism, token references, accessibility behaviour), in the system's component directory.
  • Never wrap a system component just to override its styles; use the documented extension point (theme overrides, variants, recipes, Styles API).

4. **Define before markup.** For the component, write down: the semantic element, the props surface, every state (default, hover, focus-visible, active, disabled, loading, empty, error, partial, success as relevant), variants and sizes, the responsive behaviour, and the keyboard and screen-reader behaviour (APG pattern for widgets). `godmode:ui-research` usually supplies most of this; fill any gaps.

5. **Write the test first where behaviour exists.** Interaction, validation and state transitions get a failing test through the DOM before the implementation (`godmode:test-first`). Query by role and accessible name; that doubles as an accessibility check.

6. **Build** with the rules below: composition, layout, state ownership, responsive, forms, motion, performance.

7. **Verify in a real browser.** Run the app, open the screen, and check: every state renders (force empty, loading and error), keyboard-only use works, focus is visible and never hidden, layout holds at a small and a large width, and an automated accessibility scan (for example axe) reports no violations. Take screenshots when a reviewer will need them. Report what you saw, not what you expect.

8. **Conformity.** Compare with the nearest existing component (`godmode:codebase-conventions`): same file placement, naming, export style and styling mechanism.

digraph ui_eng {
  rankdir=TB;
  detect [label="Detect design system"];
  has [label="System has the\ncomponent?", shape=diamond];
  use [label="Use it (variants, sizes)"];
  parts [label="Has the parts?", shape=diamond];
  compose [label="Compose primitives"];
  build [label="Build new, in the\nsystem's conventions"];
  define [label="Define semantics, states,\nkeyboard path"];
  verify [label="Verify in browser:\nstates, keyboard, widths, axe"];
  detect -> has;
  has -> use [label="yes"];
  has -> parts [label="no"];
  parts -> compose [label="yes"];
  parts -> build [label="no"];
  use -> define; compose -> define; build -> define;
  define -> verify;
}

No Design System Yet

Choose with the user; do not install one silently. Typical fits:

| Situation | Option | |---|---| | React app, wants owned, editable component code | shadcn/ui on Tailwind CSS (choose the primitive base at init) | | Wants a complete, opinionated library with many data components | Material UI or Ant Design | | Wants a themable library with style props | Chakra UI or Mantine | | Distinctive brand, custom look, full control | Unstyled primitives (Radix, Base UI, React Aria, Headless UI) plus tokens | | Not React | The framework's established library; check with `godmode:reference-first` |

Then set tokens first (from `godmode:ui-research`), and create the base components (button, input, select, card, dialog, toast) before feature screens.

Composition Over Configuration

Prefer small parts that compose over one component with dozens of props.

Good                              Avoid
<Dialog>                          <Dialog title=... description=...
  <DialogHeader>                    footerAlign=... showClose=...
    <DialogTitle/>                  titleSize=... variant=... size=...
    <DialogDescription/>            overlayOpacity=... />
  </DialogHeader>
  <DialogBody/>
  <DialogFooter/>
</Dialog>

Keep variants to a small named set (for example p

Read more
@noobygains
Ships withgodmode

Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.

12333 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
123
Star history of NoobyGains/godmode on GitHub, a chart by star-history.com

Other skills on godmode.

agent-briefing

agent-briefing

Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…

@noobygains@noobygainsInstall Skill
code-review

code-review

Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…

@noobygains@noobygainsInstall Skill
codebase-conventions

codebase-conventions

Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…

@noobygains@noobygainsInstall Skill
completion-gate

completion-gate

Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…

@noobygains@noobygainsInstall Skill
cross-model-review

cross-model-review

Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…

@noobygains@noobygainsInstall Skill
delegated-execution

delegated-execution

Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…

@noobygains@noobygainsInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about ui-engineering.

Which coding agents can use ui-engineering?
ui-engineering installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.