agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when about to design or build any user interface: a website, landing page, web or mobile app screen, dashboard, admin panel, form, game menu or HUD, or a single new component, and no layout reference, design tokens or established design system has been identified for it yet.
Claude Code
$ npx -y skills add NoobyGains/godmode --skill ui-research --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill ui-research -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill ui-research -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill ui-research -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill ui-research -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill ui-research -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill ui-research -a windsurf -y
name: ui-research description: "Use when about to design or build any user interface: a website, landing page, web or mobile app screen, dashboard, admin panel, form, game menu or HUD, or a single new component, and no layout reference, design tokens or established design system has been identified for it yet."
Interfaces generated from nothing look generated: random spacing, a palette of accidents, every section centred, no empty or error states. Professional templates and documented design systems already encode the layout, hierarchy and states that work. This skill finds those references, fixes the design tokens, and settles each component's pattern before `godmode:ui-engineering` writes any markup. **Every screen traces to a reference and every visual value traces to a token.**
NO UI CODE BEFORE A PATTERN REFERENCE AND A TOKEN SET
No exceptions. No workarounds. No shortcuts.
Prototypes are included. Prototypes become products, and a prototype built on tokens is a five-minute restyle instead of a rewrite.
**Required:**
**Skip:**
1. **Classify the interface.** What is it (marketing page, data-dense app, e-commerce, developer tool, game, CLI), who uses it, and in what niche or industry? The class decides which pattern family and token preset apply.
2. **Check what the project already has.** Look for an installed design system, a component directory, a token file or theme (detection steps are in `godmode:ui-engineering`). If one exists, it is the reference: research patterns inside it, adopt its tokens, and skip template research.
3. **Research layouts (new sites and new apps).** Survey at least two sources from [template-marketplaces.md](references/template-marketplaces.md) in the right tier for the niche, and study three to five strong examples. For each, record the section order, navigation style, palette approach, typography and what makes it work.
4. **Extract the shared pattern.** What do all the strong examples in this niche do? Those shared elements are the niche's conventions; the differences are the design choices left to make.
5. **Present options and let the user choose.** Show three labelled options with links plus a recommended hybrid, using the format below. **Template and layout selection is always the user's call**, even when the session is otherwise autonomous: wait for the choice.
6. **Fix the tokens before any component.** Adopt the project's tokens, or start from the preset for this interface class in [design-tokens.md](references/design-tokens.md) adjusted to the chosen reference. Colours, type scale, spacing scale, radii, shadows, breakpoints, z-index and motion. Check text and UI contrast now, not after building.
7. **Settle each component's pattern.** For every component on the screen, name its pattern from [pattern-libraries.md](references/pattern-libraries.md) or the project's design system, with its required states.
8. **Run the component validation checklist** below for each new component, then hand over to `godmode:ui-engineering` with: the chosen layout reference, the token set, and the pattern and states for each component.
digraph ui_research {
rankdir=TB;
classify [label="Classify interface"];
ds [label="Project has a\ndesign system?", shape=diamond];
adopt [label="Adopt its tokens\nand components"];
research [label="Survey 2+ sources,\n3-5 examples"];
present [label="Present A/B/C + hybrid;\nuser chooses"];
tokens [label="Fix token set"];
patterns [label="Pattern + states\nper component"];
check [label="Validation checklist"];
eng [label="godmode:ui-engineering", shape=box];
classify -> ds;
ds -> adopt [label="yes"];
ds -> research [label="no"];
research -> present -> tokens;
adopt -> patterns;
tokens -> patterns -> check -> eng;
}I surveyed <niche> layouts on <sources>. Strongest examples: A) <name> - <source> - <link> Structure: <hero type> -> <sections in order> Strength: <what it does best> Palette/type: <approach> B) ... C) ... D) Recommended hybrid: <section order>, taking <X from A>, <Y from B>, <Z from C>. Shared by all strong <niche> sites: <sections and conventions>. Which should I build: A, B, C or D?
Link to live demos or listing pages the user can open. Reference templates are for structure and ideas: do not copy a paid template's code or assets unless the user has bought it and its licence allows the use.
| Anti-pattern | Why it looks amateur | Instead | |---|---|---| | Erratic spacing | Gaps vary between siblings; no rhythm | Every gap is a spacing token from one scale | | Ad-hoc colours | Hex values chosen per component | A defined palette; components use semantic tokens | | Type soup | Too many sizes, weights and families | One or two families, a fixed scale, a deliberate heading hierarchy | | Flat hierarchy | Everything the same size and weight | One primary action per view; secondary elements visibly quieter | | Everything centred | The default generated layout | Left-aligned content on a grid; centre only on purpose (hero headline, empty state) | | Placeholder content | "Lorem ipsum", "Item 1", "User Name" | Realistic content with real lengths and edge cases | | Happy path only | No empty, loading, error or partial states | Design all of them before building | | Missing int
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.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
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…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
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…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration