Agent skill

frontend-ui-integration

Implement or extend a user-facing workflow in a web application, integrating with existing backend APIs. Use when the feature is primarily a UI/UX change backed by existing APIs, affects only the web frontend, and requires following design system, routing, and testing conventions.

Stars 148
Forks 21

Install this agent skill to your Project

npx add-skill https://github.com/julianromli/ai-skills/tree/main/skills/frontend-ui-integration

SKILL.md

Skill: Frontend UI integration

Purpose

Implement or extend a user-facing workflow in our primary web application, integrating with existing backend APIs and following our design system, routing, and testing conventions.

When to use this skill

  • The feature is primarily a UI/UX change backed by one or more existing APIs.
  • The backend contracts, auth model, and core business rules already exist.
  • The change affects only the web frontend (no schema or service ownership changes).

Inputs

  • Feature description: short narrative of the user flow and outcomes.
  • Relevant APIs: endpoints, request/response types, and links to source definitions.
  • Target routes/components: paths, component names, or feature modules.
  • Design references: Figma links or existing screens to mirror.
  • Guardrails: performance limits, accessibility requirements, and any security constraints.

Out of scope

  • Creating new backend services or changing persistent data models.
  • Modifying authentication/authorization flows.
  • Introducing new frontend frameworks or design systems.

Conventions

  • Framework: React with TypeScript.
  • Routing: use the existing router and route layout patterns.
  • Styling: use the in-house design system components (Buttons, Inputs, Modals, Toasts, etc.).
  • State management: prefer the existing state libraries (e.g., React Query, Redux, Zustand) and follow established patterns.

Required behavior

  1. Implement the UI changes with strong typing for all props and API responses.
  2. Handle loading, empty, error, and success states using existing primitives.
  3. Ensure the UI is keyboard accessible and screen-reader friendly.
  4. Respect feature flags and rollout mechanisms where applicable.

Required artifacts

  • Updated components and hooks in the appropriate feature module.
  • Unit tests for core presentation logic.
  • Integration or component tests for the new flow (e.g., React Testing Library, Cypress, Playwright) where the repo already uses them.
  • Minimal CHANGELOG or PR description text summarizing the behavior change (to be placed in the PR, not this file).

Implementation checklist

  1. Locate the relevant feature module and existing components.
  2. Confirm the backend APIs and types, updating shared TypeScript types if needed.
  3. Implement the UI, wiring in API calls via the existing data layer.
  4. Add or update tests to cover the new behavior and edge cases.
  5. Run the required validation commands (see below).

Verification

Run the following (adjust commands to match the project):

  • pnpm lint
  • pnpm test -- --runInBand --watch=false
  • pnpm typecheck (if configured separately)

The skill is complete when:

  • All tests, linters, and type checks pass.
  • The new UI behaves as specified across normal, error, and boundary cases.
  • No unrelated files or modules are modified.

Safety and escalation

  • If the requested change requires backend contract changes, stop and request a backend-focused task instead.
  • If design references conflict with existing accessibility standards, favor accessibility and highlight the discrepancy in the PR description.

Expand your agent's capabilities with these related and highly-rated skills.

julianromli/ai-skills

gemini-to-seedream-migration

Migrate AI image generation from Google Gemini 2.5 Flash to BytePlus SeeDream v4.5. Use when: (1) User wants to switch from Gemini to SeeDream/BytePlus for image generation, (2) User asks about migrating image generation APIs or replacing Gemini with BytePlus, (3) User needs cost optimization or better image quality for AI-generated images, (4) User mentions SeeDream, BytePlus, or wants SDK-to-REST API migration for image generation

148 21
Explore
julianromli/ai-skills

task-generator

Generate structured task lists from specs or requirements. IMPORTANT: After completing ANY spec via ExitSpecMode, ALWAYS ask the user: "Would you like me to generate a task list for this spec?" Use when user confirms or explicitly requests task generation from a plan/spec/PRD.

148 21
Explore
julianromli/ai-skills

clone-website

Clone/replicate websites into production-ready Next.js 16 code using Firecrawl MCP. Use when user asks to: clone website, vibe clone, replicate landing page, copy website design, rebuild this site, recreate this page, clone specific sections (hero, pricing, footer, etc). Triggers: "clone this website", "vibe clone [url]", "replicate this landing page", "rebuild this site in Next.js", "clone the hero section from [url]", "copy this design".

148 21
Explore
julianromli/ai-skills

rsc-data-optimizer

Optimize Next.js App Router data fetching by converting slow client-side fetching to fast server-side fetching using React Server Components (RSC). Use when: - User reports slow initial page load with loading spinners - Page uses useEffect + useState for data fetching - StoreContext/useStore pattern causes waterfall fetching - Need to improve SEO (content not in initial HTML) - Converting "use client" pages to Server Components Triggers: "slow loading", "optimize fetching", "SSR data", "RSC optimization", "remove loading spinner", "server-side fetch", "convert to server component", "data fetch lambat", "loading lama"

148 21
Explore
julianromli/ai-skills

shadcn-management

Manage shadcn/ui components using MCP tools. Use when user needs to: (1) Add new shadcn components to a project (2) Build complex UI features requiring multiple components (3) Research component implementations and examples (4) Get component installation commands Triggers: "add shadcn", "shadcn component", "build UI with shadcn", "install component", "create form", "create dialog"

148 21
Explore
julianromli/ai-skills

frontend-ui-animator

Analyze and implement purposeful UI animations for Next.js + Tailwind + React projects. Use when user asks to add animations, enhance UI motion, animate pages/components, or improve visual feedback. Triggers on "add animations", "animate UI", "motion design", "hover effects", "scroll animations", "page transitions", "micro-interactions".

148 21
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results