Go Endpoint banner
dsjacobsen dsjacobsen

Go Endpoint

Development community

Description

--- name: go-endpoint description: Add a new REST API endpoint with full implementation --- Add a new API endpoint. Ask for: 1. **Resource name** - What entity (e.g., users, products, orders) 2. **Operations** - CRUD or specific operations needed 3. **Fields** - What data fields to include Use the `go-api-builder` agent to create: **All layers:** - `internal/model/{resource}.go` - Domain model - `internal/dto/{resource}_dto.go` - Request/response types with validation - `internal/repository/

Installation

Installs to ~/.claude/commands/dsjacobsen-agent-resources-go-endpoint.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsjacobsen/agent-resources/HEAD/.claude/commands/go-endpoint.md -o ~/.claude/commands/dsjacobsen-agent-resources-go-endpoint.md

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

Full documentation available on GitHub

View Source Repository