From go-checker
Use when the user wants to generate Go documentation, API docs, or browse package docs. Trigger on phrases "documentation", "API docs", "godoc", "swagger", "openapi", "generate docs". Supports godoc (browser UI) and swag (OpenAPI/Swagger YAML).
How this skill is triggered — by the user, by Claude, or both
Slash command
/go-checker:docs-generate [godoc|swag][godoc|swag]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate Go documentation using godoc or swag.
Generate Go documentation using godoc or swag.
Run the go-tool-installer agent to verify the environment.
Unless the user specified "godoc" or "swag" as argument, show sample outputs and ask user to choose:
Show this comparison:
godoc:
- Starts a local web server at http://localhost:6060
- Interactive browser UI with all package docs
- Supports search and navigation across all packages
- Must be stopped manually with Ctrl+C
- Best for: browsing and exploring Go package documentation
swag:
- Generates docs/swagger.yaml and docs/docs.go
- OpenAPI 2.0 (Swagger) format
- Requires @swagger annotations in your code comments
- One-shot generation, no server needed
- Best for: REST API documentation, OpenAPI tooling integration
Then ask: "Which tool? (a) godoc or (b) swag"
Wait for user selection.
Run the docs-generate script:
bash "$(ls ~/.claude/plugins/cache/athapong-go-checker/go-checker/*/scripts/docs-generate.sh 2>/dev/null | head -1)" <godoc|swag>
For godoc: Tell the user "Documentation server running at http://localhost:6060 — open that URL in your browser. Press Ctrl+C in the terminal to stop."
For swag: Show the list of generated files. If swag fails with "no @swagger annotations", explain that swag requires // @swagger comments in handler functions and show a brief example annotation.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub athapong/go-checker --plugin go-checker