Go Documentation

Use when writing or reviewing Go documentation — godoc comments on packages, types, functions, methods, sentinel errors; runnable Example tests; README/CONTRIBUTING/CHANGELOG. Covers the project-type detection (library vs application) that decides which docs are needed, comment grammar (start with name, full sentences), what to document vs what to skip, and Example test conventions. Apply proactively when introducing exported names, even if documentation was not requested.

muratmirgun a3c63a4 5 files · 21.1 KB Updated

File contents

muratmirgun/gophers/tree/main/skills/go-documentation commit a3c63a404a

Frequently asked questions

npx skillmds@latest add muratmirgun/go-documentation