Create Go Handler

Generate the HTTP handler (inbound adapter) for ONE entity in an existing Go service — emits framework-agnostic huma handler funcs + `RegisterRoutes` wiring across nethttp/gin/chi/mux/echo, with cursor + offset pagination, request validation, and humares envelopes. Has Mode A (new schema → also generates upstream domain/port/repo/service automatically) and Mode B (existing service → just the handler file). **Use this skill whenever the user wants to expose an entity over HTTP in an existing project — phrasings like 'add REST endpoints for X', 'create the handler for Y', 'wire up HTTP routes for entity Z', 'expose Subscription over HTTP', 'add CRUD endpoints for the new Customer entity', 'add inbound HTTP handling for X'.** Do NOT use to scaffold a fresh project (use `create-go-app`), data-layer only (use `create-go-repository`), or service-layer only (use `create-go-service`).

labspangaea 13960cb 7.5 KB Updated

File contents

labspangaea/pangaealabs-claude-plugins-marketplace/tree/main/plugins/go-scaffolder/skills/create-go-handler commit 13960cbdf8

Frequently asked questions

npx skillmds@latest add labspangaea/create-go-handler