New route
Scaffold a new route with its page component, test, story, and optional i18n keys. Use this skill whenever the user asks to "create a route", "add a new page", "scaffold /dashboard", "wire up a new route under _public+ or _session+", or anything that implies adding a file under `app/routes/` with a matching `app/pages/{Group}/{PascalName}Page/` folder.From its SKILL.md
npx -y skills add gaia-react/gaia --skill new-routeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `.gaia/cli/gaia scaffold route <name> --group <group> [flags]` and 2 more.
SKILL.md
1.1 KB, 209 tokens by cl100k_base, as published. Nobody here has run it
new-route
Trigger: user asks to add a new page/route.
Workflow
- Confirm with the user: name (kebab-case), group (
_public+or_session+), and which of--loader,--action,--i18nthey want. - Run from the repo root:
.gaia/cli/gaia scaffold route <name> --group <group> [flags](output paths resolve from the working directory). - Verify:
pnpm typecheckclean;pnpm devreaches the new route.
Flags
--group, required,_public+or_session+--loader, emit a loader stub--action, emit an action stub--i18n, emit the locale file and wire the locale barrel--dry-run, print what would be written without touching the filesystem--json, print the scaffold result as JSON
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.