What problem does it solve?
This Skill provides a clear, organized structure for Single Page Application (SPA) routes and features, ensuring maintainability and scalability by defining where different types of code should reside.
Core Features & Use Cases
- Route vs. Feature Separation: Clearly delineates responsibilities between
src/routes/ (page segments) and src/features/ (business logic and UI by domain).
- File Organization Guidelines: Offers specific rules for what belongs in route files versus feature files.
- Adding New Routes: Guides users through the process of creating new SPA routes and integrating them with features.
- Use Case: When developing a new section of the application, this Skill helps determine whether a new component should be a thin route wrapper or part of a larger, reusable feature module.
Quick Start
Follow the guidelines in this skill to add a new feature route to the application.