GRACENOBLE

New Route — Development skill for Claude Code

Development community

Scaffold a new API route end-to-end in the Go backend.

How to install New Route

Installs to ~/.claude/commands/gracenoble-fullstack-template-new-route.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/GRACENOBLE/fullstack-template/HEAD/.claude/commands/new-route.md -o ~/.claude/commands/gracenoble-fullstack-template-new-route.md

Restart Claude Code, or start a new session, for it to be picked up.

What New Route does

Scaffold a new API route end-to-end in the Go backend.

You need from the user:

  • Route path (e.g. /api/users)
  • HTTP method (GET / POST / PUT / DELETE / PATCH)
  • Brief description of what it does
  • Whether it needs database access

Steps to follow exactly

1. Register the route in `backend/internal/server/routes.go`

Add inside `RegisterRoutes()`, grouped with related routes:

r.GET("/api/users", s.listUsersHandler)

2. Add the handler in `backend/internal/server/routes.go`

Alternatives in Development

  • Om Dump — Freeform capture mode 4.6k ★
  • Route Eval — /route-eval — Evaluate a project and set its routing profile 705 ★
  • Maestro Learn — User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions 530 ★

Full documentation available on GitHub

View Source Repository