Agent skill · Backend & API

go-api-gateway

Build the AgentStack API Gateway in Go with Fiber/Chi. Use for creating REST API endpoints, HTTP handlers, middleware, request validation, and API routing. Triggers on "build API", "create endpoint", "HTTP handler", "REST API", "API gateway", "Fiber handler", "Chi router", or when implementing spec/004-api-design.md endpoints.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-gateway-majiayu000-claude-skill-registr-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/api/api-gateway-majiayu000-claude-skill-registr-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Go API Gateway ## Overview Build production-grade REST API endpoints for the AgentStack platform using Go with Fiber or Chi frameworks, following the specifications in `/spec/004-api-design.md`. ## Project Structure ``` cmd/api/main.go # Entry point internal/api/ ├── handlers/ # HTTP handlers by domain │ ├── agents.go │ ├── chat.go │ ├── deployments.go │ └── health.go ├── middleware/ # Cross-cutting concerns │ ├── auth.go │ ├── logging.go │ ├── ratelimit.go │ └── tracing.go ├── routes/ # Route definitions │ └── router.go ├── dto/ # Request/Response DTOs │ └── agents.go └── server.go # Server configuration ``` ## Core Workflow ### Step 1: Define DTOs Create request/response structures with validation tags: ```go // internal/api/dto/agents.go package dto import "time" type CreateAgentRequest struct { Name string `json:"name" validate:"required,min=3,max=64"` Framework string `json:"framework" validate:"required,oneof=google-adk langchain crewai"` Config AgentConfig `json:"config" validate:"required"` AutoDeploy bool `json:"auto_deploy"` } type AgentConfig struct { Model string `json:"model" validate:"required"` SystemPrompt string `json:"system_prompt"` Tools []string `json:"tools"

What's inside
Steps it walks through
  1. Overview
  2. Project Structure
  3. Core Workflow
  4. Step 1: Define DTOs
  5. Step 2: Create Handler
  6. Step 3: Register Routes
  7. Step 4: Implement Middleware
  8. Step 5: Add SSE Streaming
  9. Error Handling
  10. Validation
  11. Testing
  12. Resources
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the go-api-gateway skill do?

Build the AgentStack API Gateway in Go with Fiber/Chi. Use for creating REST API endpoints, HTTP handlers, middleware, request validation, and API routing. Triggers on "build API", "create endpoint", "HTTP handler", "REST API", "API gateway", "Fiber handler", "Chi router", or when implementing spec/004-api-design.md endpoints.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-gateway-majiayu000-claude-skill-registr-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going