What problem does it solve?
This skill focuses on implementing and maintaining the frontend layer of the AiToEarn web project, covering UI components, state management, routing, API integration, i18n, and agent interactions via SSE to ensure a cohesive and scalable user experience.
Core Features & Use Cases
- Modular UI Components: Create reusable React/Next.js components that compose the user interface for the AiToEarn web app.
- State Management: Implement and maintain a centralized state store (zustand) to ensure predictable UI behavior across pages.
- Routing & Navigation: Define robust app routing and navigation patterns that scale with feature growth.
- API Layer & Requests: Standardize API wrappers and request handling to ensure consistent data flow and error handling.
- Internationalization (i18n): Integrate i18n for multi-language support across the frontend.
- Agent Interaction Flow: Align frontend interactions with the SSE-based agent workflow to support real-time updates.
Quick Start
Start by inspecting the main components under project/aitoearn-web for the primary UI modules, then run the development server to preview changes in real time.