← ClaudeAtlas

scaffold-routelisted

Turn a declared route into the standard shell-component skeleton (page.tsx + _components/index.tsx + a leaf + a full RouteMeta _meta.ts) with the access shape baked in, instead of hand-typing the convention. Use when a declared /architecture node must become a live page/endpoint, or any new route starts. Hermes orchestrates; a coding agent runs the project-local emitter — pick it with choose-agent + delegate-task.
Fractera/Agent-Engineering-Infrastructure · ★ 29 · AI & Automation · score 75
Install: claude install-skill Fractera/Agent-Engineering-Infrastructure
# scaffold-route Turn a declared route into the standard shell-component skeleton (page.tsx + _components/index.tsx + a leaf + a full RouteMeta _meta.ts) deterministically, with the access shape baked in — instead of hand-typing the convention and drifting from `CRUD-DOCS/workspace-standards/shell-component-architecture.md`. ## When to use - A declared `/architecture` node (a `README.md` with no built file) must become a live page or endpoint (§6.4 declared→live). - Any new page or endpoint is starting and you want the standard skeleton correct on the first try. ## Your role here (Hermes orchestrates, the coding agent emits) You do not run the emitter yourself — you delegate it to a coding agent that owns a terminal in the slot. Pick the agent with `owner_coding_agents_check_readiness` + the `choose-agent` skill, then send the task with `owner_delegate_task_to_platform` (or `owner_coding_platform_send_prompt`). The agent runs the project-local skill. ## Before delegating — decide the access shape (required, §6.3 / HOW-USE-AUTH.md) - `public` — anyone, no session. - `private` — only listed roles (`--roles user,architect`); default `user`. - `guest` — public, but an anonymous visitor becomes a real guest (`requiresGuestRegistration`). ## The command the coding agent runs ```bash node .agents/skills/scaffold-route/scaffold-route.mjs \ --path <route> --access <public|private|guest> [--roles a,b] [--kind page|api] [--force] ``` It emits a thin `page.tsx`, the `_c