Violet Next.js Conventions
Enforces architectural patterns and development standards for VioletDashboard and Connect applications.
This skill provides specialized guidance for building and maintaining VioletDashboard and Connect using Next.js 12 and React 17. It encapsulates critical domain-specific patterns, such as the AppContext for global state management, nested dynamic routing for e-commerce platforms, and Redux Toolkit integration with redux-saga. By providing deep contextual knowledge of Violet's internal workflows—including merchant pre-registration and authentication middleware—it ensures code consistency, prevents the duplication of core functionality, and accelerates the development of feature-specific logic within the Violet ecosystem.
Key Features
01Middleware-driven API route structures for validation and auth
02Standardized AppContext management for application-wide state and auth
03Type-safe Redux Toolkit and redux-saga integration patterns
04Nested dynamic routing patterns for platform-specific subdomains
051 GitHub stars
06Pre-configured testing conventions for Jest and Playwright
Use Cases
01Building secure Next.js API routes with standard middleware pipelines
02Extending the merchant onboarding flow with new query parameter detection
03Implementing platform-specific pages using nested dynamic route structures