Next.js Frontend
Generates React components and Next.js App Router pages with TanStack Query, Tailwind CSS, and modern React 19 patterns for the SO1 console.Quick Reference
| Property | Value |
|---|---|
| Domain | Engineering |
| FORGE Stage | 3 (Documentation) |
| Repository | so1-console |
| Stack | Next.js 16, React 19, TanStack Query 5, Tailwind 4 |
Core Capabilities
Components
Server and Client Components (React 19)
Routing
App Router pages, layouts, loading states
Data Fetching
TanStack Query for API calls
Styling
Tailwind CSS 4 utility classes
Usage Example
Output
Best Practices
- Use Server Components by default, Client Components only when needed (‘use client’)
- Fetch data in Server Components, pass as props to Client Components
- Use TanStack Query for client-side data fetching and mutations
- Follow Tailwind conventions for responsive design
- Implement loading.tsx and error.tsx for route segments
Related Agents
- TypeScript Shared - Provides type definitions
- Hono Backend - API endpoints to consume
Agent Definition
View full agent markdown