Adding a new app route

From artsy/force · View interactive version

Adding a new app route is an AI agent skill from the GitHub repository artsy/force. Fully wires up a new route with required boilerplate, following this repo's conventions for subapps. Use when user wants to add a new route or app or subapp or page or screen.

How to use this skill

Skill file

Adding a new route

Use this checklist to track your work:

Determine name & route for the new app

If the name of the new app and the desired route have not already been specified, AskUserQuestion to determine that information, e.g. MyApp at /my-app.

Determine the kind of app to create

Use the answer in the next step.

Create a folder for the new app

Mount the new app in the global routes listing

Add the new route to the main route list at src/routes.tsx. Follow existing conventions re: alphabetization.

Consider next steps

Additional dev advice:

Celebrate

Indicate you are done with a /beep

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.