# route-scaffold > Scaffold a route with loader, error boundary, and tests. - Author: Adam Winick - Repository: sinelanguage/cursor-config-web - Version: 20260201223507 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/sinelanguage/cursor-config-web - Web: https://mule.run/skillshub/@@sinelanguage/cursor-config-web~route-scaffold:20260201223507 --- --- name: route-scaffold description: Scaffold a route with loader, error boundary, and tests. disable-model-invocation: true --- # Route Scaffold Create a new route page with data loading, error handling, and tests. ## When to Use - Use this skill when adding a new route or page. ## Inputs - Route path and name - Data requirements - Access control rules ## Instructions 1. Create the route component with a clear layout. 2. Add a loader or data-fetching function. 3. Add an error boundary or error UI. 4. Add tests for loading, success, and error states. ## Output - Route file(s) with loader, error UI, and tests.