Frontend Builder

Architect React and Next.js frontend architectures with component organization and state management.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/pohlai88/AFENDA-NEXUS --skill frontend-builder-pohlai88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend Builder
Source: https://github.com/pohlai88/AFENDA-NEXUS/tree/main/.agents/skills/frontend-builder
Command: npx skills add https://github.com/pohlai88/AFENDA-NEXUS --skill frontend-builder-pohlai88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds robust frontend architectures for React and Next.js projects, streamlining decisions around component structure, state management, and UI patterns to accelerate delivery.

Core Features & Use Cases

  • Component-driven architecture with Page, Feature, and UI components.
  • Guidance on framework choices between React (Vite) and Next.js for diverse project needs.
  • Comprehensive patterns for state management, data fetching (React Query), forms (React Hook Form + Zod), and styling (Tailwind + shadcn/ui).
  • Practical workflows for setup, performance optimization, and error handling.

Quick Start

Initialize a Next.js app with App Router, install Tailwind and shadcn/ui, and start building with a typed, component-based structure.

Frequently Asked Questions about Frontend Builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What's the best way to structure a React and Next.js frontend architecture?

To structure a React and Next.js frontend architecture, use a component-driven approach separating Page, Feature, and UI components, combined with TypeScript typing and App Router for organized, scalable code.

How do I set up state management and data fetching in a Next.js App Router project?

For state management and data fetching in a Next.js App Router project, use React Query for server state and apply typed component-based structures to handle data fetching, forms with React Hook Form + Zod, and robust error handling.

When should I choose Next.js over React with Vite for my web application?

Choose Next.js over React with Vite when your web application requires App Router capabilities or server-side rendering, whereas React with Vite suits smaller, client-side component libraries or simpler project needs.

Can I use Tailwind and shadcn/ui together for styling in a React project?

Yes, you can use Tailwind and shadcn/ui together for styling in a React project. This combination provides a comprehensive UI pattern that streamlines component styling and accelerates frontend delivery alongside typed, component-based structures.

How do I handle forms and validation in a TypeScript React frontend?

To handle forms and validation in a TypeScript React frontend, implement React Hook Form combined with Zod. This pattern ensures robust type safety and error handling within your component-driven architecture.

Does this frontend architecture approach work for large-scale apps and small component libraries?

Yes, this frontend architecture approach works for both large-scale apps and small component libraries. It scales from basic UI components to complex applications by applying consistent patterns for state management, data fetching, and performance optimization.