golang-swagger
golang-swagger is an agent skill published by samber, listed under writing & docs. It lives in the samber/cc-skills-golang repository, which has 3,672 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.
Generates OpenAPI/Swagger documentation for Go projects using annotations and code generation, integrating with frameworks like gin, echo, fiber, chi, and net/http, and supporting security definitions and struct tags.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads samber/cc-skills-golang’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add samber/cc-skills-golang
Maintenance
Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Router, @Security), swag init code generation, framework integrations (gin, echo, fiber, chi, net/http), security definitions (Bearer/JWT, OAuth2, API key), and struct tags (swaggertype, enums, example, swaggerignore). Apply when adding or maintaining Swagger/OpenAPI docs in a Go project, or when the codebase imports github.com/swaggo/swag, github.com/swaggo/gin-swagger, github.com/swaggo/echo-swagger, github.com/swaggo/http-swagger, or github.com/swaggo/files.
golang-swagger compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| golang-swagger (this page) | samber | Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Rou… | 3,672 | 2026-10-23 |
| golang-code-style(same repository) | samber | Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when c… | 3,672 | 2026-10-23 |
| golang-documentation(same repository) | samber | Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGEL… | 3,672 | 2026-10-23 |
| golang-pkg-go-dev(same repository) | samber | Golang package and module lookup via `godig`, a pkg.go.dev API client (CLI + MCP server). Use for any Go/Gola… | 3,672 | 2026-10-23 |
| golang-stay-updated(same repository) | samber | Golang ecosystem watch list — official sources (go.dev/blog, pkg.go.dev, tour.golang.org, golang-nuts), newsl… | 3,672 | 2026-10-23 |
| academy-guide | anthropic | Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude produc… | 183,845 | 2026-10-09 |
| doc-coauthoring | anthropic | Guide users through a structured workflow for co-authoring documentation. Use when user wants to write docume… | 183,845 | 2026-10-09 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about golang-swagger
- What does golang-swagger do?
- Generates OpenAPI/Swagger documentation for Go projects using annotations and code generation, integrating with frameworks like gin, echo, fiber, chi, and net/http, and supporting security definitions and struct tags.
- How do I install golang-swagger?
- Run npx skills add samber/cc-skills-golang. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes golang-swagger?
- samber.
- Is golang-swagger maintained, and what licence does it use?
- Its repository has 3,672 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23. The repository declares the MIT licence.
More agent skills for writing & docs
- technical-blog-writingby 101-skills
- documentation-and-adrsby addyosmani
- git-workflow-and-versioningby addyosmani
- source-driven-developmentby addyosmani
- vitepressby antfu
- academy-guideby anthropic