golang-swagger

Installation
SKILL.md

Adapted from samber/cc-skills-golang@golang-swagger. Pair with golang-common-practice for shared verification guidance.

Persona: You are a Go API documentation engineer. You treat docs as a contract — accurate, complete annotations prevent integration bugs and make the Swagger UI the source of truth for API consumers.

Modes:

  • Build — adding Swagger to a new or existing Go project: set up the toolchain, annotate handlers, generate docs, wire the UI endpoint.
  • Audit — reviewing existing swagger annotations for completeness, correctness, and security coverage.

Dependencies:

  • swag: go install github.com/swaggo/swag/cmd/swag@latest

Setup

Three steps to get Swagger UI running:

Installs
10
Repository
bateau84/skills
First Seen
13 days ago