What problem does it solve?
Implementing frontend screens and wiring them to backend services is time-consuming, error-prone, and often leads to duplicated API logic, inconsistent error handling, and fragmented state management. This Skill provides a clear architecture and patterns to deliver consistent, testable, and maintainable UI integration.
Core Features & Use Cases
- Page Implementation: Guidance for implementing pages and feature components using a design system.
- State Management: Recommendations for local, global, and server state (useState/useReducer, Context/Zustand, React Query/SWR).
- API Client & Service Layer: Centralized API client with interceptors, automatic auth token injection, and domain-specific service files to avoid duplicated logic.
- Error Handling & QA: Standardized ApiError class, global error handler, and Zero Script QA patterns for deterministic validation.
- Use Case: Build an authenticated product listing with paginated API calls, caching, and resilient error handling for a production web app.
Quick Start
Use the phase-6-ui-integration guidance to implement a screen, create a centralized apiClient with automatic token injection, and add domain service methods for auth and products.