What problem does it solve?
Provides a consistent, production-oriented set of frontend conventions to reduce ad hoc UI implementations, prevent performance regressions, and speed development of the Argus web application.
Core Features & Use Cases
- Tech Stack Conventions: Defines Next.js 14+ App Router structure, TypeScript strict mode, and Tailwind CSS dark-mode-first styling.
- State & Data Patterns: Recommends React Query for server state and Zustand for client state with examples for chart and backtest data flows.
- Component & Design Guidance: Enforces functional components, co-location of types and styles, lazy loading, React.memo for heavy charts, and design tokens for consistent UI (accent colors, spacing, typography).
- Use Case: Rapidly build an authenticated backtesting dashboard that displays equity curves, strategy cards, and interactive parameter controls while following performance and styling conventions.
Quick Start
Scaffold a TypeScript Next.js strategy card component with Tailwind styling, React Query for fetching backtest results, Zustand for client state, and NextAuth-protected routes.