go-api/SKILL.md
Build scalable REST APIs with Go. Perfect for high-performance backends.
npx skillsauth add Heldinhow/awesome-opencode-dev-skills go-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Go is excellent for building high-performance APIs. Its concurrency model, fast compilation, and simple deployment make it ideal for microservices and REST APIs.
mkdir myapi && cd myapi
go mod init github.com/username/myapi
# Choose router: chi, gin, fiber, or stdlib
go get github.com/go-chi/chi/v5
├── cmd/
│ └── api/main.go
├── internal/
│ ├── handlers/
│ ├── models/
│ └── repository/
├── go.mod
└── go.sum
func GetUsers(w http.ResponseWriter, r *http.Request) {
users, err := repository.GetAll()
if err != nil {
http.Error(w, err.Error(), 500)
return
}
json.NewEncoder(w).Encode(users)
}
tools
Implement WebSocket communication for real-time bidirectional client-server communication.
development
Implement webhook handlers for processing incoming events from external services.
development
Test web applications using Playwright for end-to-end browser testing.
development
Build production-quality HTML artifacts using React, Tailwind CSS, and shadcn/ui.