Skip to content
G

golang-swagger

Golang OpenAPI/Swagger documentation with swaggo/swag

by samberFree

#3550in AI Skills
0In stores

Description

golang-swagger is an agent skill for adding OpenAPI and Swagger documentation to a Go API using the swaggo/swag tool. It tells the agent how…

Highlights

  • Writes swaggo annotation comments for handlers
  • Generates docs with swag init
  • Wires a Swagger UI endpoint into the server
  • Audit mode checks existing annotations

Ratings & Reviews

No ratings yet

Be the first to rate golang-swagger.

People also visit

G

golang-graphql

Implements GraphQL APIs in Golang using gqlgen or graphql-go

AI Skills
Get
A

agent-docs-api-openapi

Agent skill for docs-api-openapi - invoke with $agent-docs-api-openapi

AI Skills
Get
G

golang-documentation

Comprehensive documentation guide for Golang projects, covering godoc comments

AI Skills
Get
G

GoDoc Live

GoDoc Live statically analyzes your Go HTTP services

Productivity
Launch
G

golang-samber-do

Dependency injection in Golang using samber/do

AI Skills
Get
G

golang-how-to

Golang skills orchestrator

AI Skills
Get

golang-swagger FAQ

What does golang-swagger do?

It guides an agent through adding Swagger or OpenAPI documentation to a Go API that uses swaggo/swag, from annotations to generated docs and a UI endpoint.

Which annotations does it cover?

Annotation comments such as @Summary, @Param, @Success, @Router and @Security, which describe each handler's inputs, responses and authentication.

What are the two modes?

Build mode adds Swagger to a project. Audit mode reviews existing annotations for completeness, correctness and security coverage.

What do I need first?

A Go project and the swag command, which is installed with go install github.com/swaggo/swag/cmd/swag@latest.

How do I install the skill?

Run: npx skills add https://github.com/samber/cc-skills-golang --skill golang-swagger

What security audits has it passed?

Gen Agent Trust Hub, Socket and Snyk all passed.

What are the best golang-swagger alternatives?

Popular alternatives to golang-swagger include golang-graphql, agent-docs-api-openapi and golang-documentation. See all golang-swagger alternatives

Developer Stuff

Badges