/oma:oma-frontendfrom oma
Builds and modifies web UI in React, Next.js, or Angular with TypeScript. Handles components, pages, styles, forms, client state, and frontend API integration.
Ships in oma. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build, modify, and verify React/Next.js or Angular TypeScript user interfaces that follow project architecture, design-system constraints, accessibility expectations, and existing frontend conventions.
shadcn/ui — or Angular + signals + RxJS in Angular projects (resources/angular-rules.md)resources/execution-protocol.md, resources/checklist.md, and the stack references listed under Stack Reference, each loaded on its triggerdesign-reviewer using oma-design through ../oma-design/resources/product-interface-review.md. This review is advisory unless the task explicitly requires design approval.frontend.route-selection per references/_shared/runtime/route-selection.md.serena_repl with the session ID from initial_instructions. Use s.fs for path and text queries and s.lsp for symbols. Native search is limited to the provider exclusions and non-code paths permitted by the project's search policy.resources/specialized-visual-implementation.md. For affected motion, touch, component feedback, or interaction performance, use references/_shared/ui-interaction-quality.md. Ordinary UI work does not preload these paths.Reads and edits frontend routes, components, styles, hooks, and tests, and possibly i18n keys; reads design tokens, i18n files, and resource references. Adds a dependency or shadcn component only when project conventions justify it. Lint, typecheck, test, and browser commands run only when the user or the active workflow requires them; builds run only on explicit user request. Backend APIs and registry tools are called only when the task requires them.
Apply framework, library, architecture, and data-model defaults only when the target project has no established choice. Scoped edits do not authorize a stack migration or unrelated infrastructure.
../../rules/frontend.md is the source for the React/Next.js core rules (component reuse, design fidelity, rendering strategy, accessibility, request proxy convention, prop drilling, auth boundary, animation library, framework version), the FSD-lite architecture, and naming. The guardrails below add what it does not state.
components/ui/* as read-only; customize through wrappers or cva composition.../../rules/frontend.md §Naming Conventions — domain + role readable from the basename alone (order-summary-card.tsx, use-order-polling.ts, cart.atoms.ts). Grab-bag names (utils.ts, helpers.ts, misc.ts) and version suffixes (*-v2, *-final) are banned.resources/angular-rules.md: standalone components + OnPush + signals-first, inject() DI, lazy routes, new control flow. Any non-trivial RxJS pipeline MUST ship with a marble test (TestScheduler from rxjs/testing) — a stream without a marble test fails review. React/Next.js-specific rules (shadcn workflow, proxy.ts, Libraries table below) do not apply in Angular projects.../../rules/frontend.md §Core Rules 7.React/Next.js projects only — Angular projects use the Angular-native equivalents in resources/angular-rules.md (signals, typed Reactive Forms, HttpClient/httpResource, RxJS with mandatory marble tests).
| Category | Library |
|---|---|
| Framework | New-project default: next@16+ (App Router) + react@19+ |
| Date | luxon |
| Styling | TailwindCSS v4 + shadcn/ui (Base UI engine; see resources/tech-stack.md) |
| Hooks | ahooks (default) or @mantine/hooks (standalone, SSR-safe; no Mantine UI required); pre-made hooks preferred; pick one per project, don't mix |
| Utils | es-toolkit (first choice) |
| Types | type-fest (TS type utilities not in the standard lib: SetRequired, Merge, JsonValue, Promisable, etc.; built-in Partial/Pick/Omit stay first choice) |
| State (URL) | nuqs |
| State (Server) | TanStack Query; default is orval-generated hooks from the OpenAPI spec (client: react-query); hand-write hooks only for spec-less endpoints (see resources/tech-stack.md §Server State) |
| State (Client) | Jotai or Zustand (intent-based, no default; minimize use — see resources/tech-stack.md) |
| Forms | @tanstack/react-form (v1+; pass zod schemas directly via Standard Schema; do not add the v0-only @tanstack/zod-form-adapter to v1 projects) + zod (v4) |
| Auth | better-auth (client SDK only in client code) |
| Animation | New-project default: motion with imports from motion/react |
components.json → style: "base-*"). Radix (radix-*) is a
reasoned fallback for existing Radix codebases only; no big-bang migration. Details in
resources/tech-stack.md §shadcn/ui Primitive Engine.npx shadcn@latest search <@registry> -q "<query>"npx shadcn@latest view <item> (registry source) or npx shadcn@latest docs <component> (docs and examples)npx shadcn@latest add <item>; preview with --dry-run or --diff before overwritingWhen a shadcn MCP server is connected, its registry search, example, and add-command tools cover the same three steps; discover the actual tool names before calling them.
generateMetadata, sitemap)useQuery hooksresources/tech-stack.md §Mutations)Card, Sheet, Typography, Table) over div or generic classes.Drawer (mobile) vs Dialog (desktop) via useResponsive.components/ui/* as read-only. Create wrappers (e.g., components/common/ProductButton.tsx) or use cva composition. Never edit components/ui/button.tsx directly.packages/design-tokens or equivalent); never hardcode colorspackages/i18n or equivalent); never hardcode UI textes-toolkit first; if implementing custom logic, use the project or task coverage target and risk-relevant testsProject stack conventions live in dedicated files. Load a file when its trigger applies.
| File | Load when |
|---|---|
resources/tech-stack.md | Choosing or checking framework versions, the shadcn primitive engine, Next.js 16 proxy.ts or React Compiler conventions, mutation ownership (Server Actions vs TanStack Query), the client-state library, or the browser-verification MCP selection |
resources/tailwind-rules.md | Writing or reviewing Tailwind classes, design tokens, focus states, or Tailwind v4 @theme config |
resources/snippets.md | A starting pattern is needed: Next.js canonicals, accessible card, React 19 hooks, TanStack Query/Form, i18n |
resources/angular-rules.md | The target project is Angular (standalone/OnPush/signals conventions, RxJS marble-test policy) |
To extend: add resources/<name>.md and append a row above.
Stack generation spec: resources/stack-generation.md (loaded by /stack-set when it generates this skill's stack/)
../oma-design/resources/product-interface-review.md: recommended design review after substantial product-interface implementation.
Specialized visual implementation: resources/specialized-visual-implementation.md (requested CanvasUI GPU effect, Scroll World scene, or selected GSAP implementation)
Interaction quality: references/_shared/ui-interaction-quality.md (motion, feedback, touch, interruption, or performance changes)
Local code tools: references/_shared/core/code-intelligence.md (code search/navigation)
Project frontend rules: ../../rules/frontend.md (implementing or reviewing React/Next.js code: core rules, FSD-lite architecture, naming)
Execution steps (follow for the selected task): resources/execution-protocol.md
Checklist (applicable items before handoff): resources/checklist.md
Error recovery: resources/error-playbook.md
Context loading: references/_shared/core/context-loading.md
Clarification: references/_shared/core/clarification-protocol.md
Context budget: references/_shared/core/context-budget.md
Lessons learned: references/_shared/core/lessons-learned.md (matching prior failure or requested retrospective)
Observability handoff: ../oma-observability/SKILL.md §Integrations — Core Web Vitals targets and browser-to-backend trace correlation
references/_shared/conditional/experiment-ledger.md (opens in a new tab)references/_shared/conditional/exploration-loop.md (opens in a new tab)references/_shared/conditional/quality-score.md (opens in a new tab)references/_shared/core/api-contracts/README.md (opens in a new tab)references/_shared/core/api-contracts/template.md (opens in a new tab)references/_shared/core/clarification-protocol.md (opens in a new tab)references/_shared/core/code-intelligence.md (opens in a new tab)references/_shared/core/common-checklist.md (opens in a new tab)references/_shared/core/context-budget.md (opens in a new tab)references/_shared/core/context-loading.md (opens in a new tab)references/_shared/core/difficulty-guide.md (opens in a new tab)references/_shared/core/execution-policy.md (opens in a new tab)references/_shared/core/lessons-learned.md (opens in a new tab)references/_shared/core/prompt-structure.md (opens in a new tab)references/_shared/core/session-metrics.md (opens in a new tab)references/_shared/core/skill-routing.md (opens in a new tab)references/_shared/core/test-approach.md (opens in a new tab)references/_shared/core/vendor-detection.md (opens in a new tab)references/_shared/runtime/memory-protocol.md (opens in a new tab)references/_shared/runtime/result-contract.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
react, nextjs, angular, typescript, ui-development, frontend-agent
npx claudepluginhub first-fluke/oh-my-agent --plugin oma64 skills in this plugin
/oma-academic-writingDraft and revise academic prose against a rubric, evidence, and citation requirements. Use for essays, reports, literature reviews, or academic style audits./oma-architectureEvaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs./oma-backendImplement server APIs, authentication, and application data access. Schema modeling and query tuning use oma-db./oma-brainstormExplore goals, constraints, and alternative approaches before choosing a design. Use when the user requests ideation or design exploration./oma-dbDesign schemas and migrations, tune queries, or plan vector retrieval and database operations. Application API implementation uses oma-backend./oma-debugDiagnose a reproducible failure, fix its cause, and verify the regression. Use for crashes, incorrect behavior, and failing tests.Other plugins' skills for the same job