crush/skills/go-doc/SKILL.md
Get documentation for any Go library using `go doc`. Use when asked about Go package documentation, API reference, function signatures, or how to use a specific Go library/package.
npx skillsauth add meowgorithm/dotfiles go-docInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieve Go package documentation using go doc.
If the package isn't available locally, fetch it first:
# Use version from go.mod if available
go get package/path@version
# Otherwise use @latest
go get package/path@latest
To find the version in go.mod:
grep 'package/path' go.mod
# Package overview
go doc package/path
# Specific symbol (function, type, method)
go doc package/path.Symbol
# Show unexported symbols
go doc -u package/path
# Show source code
go doc -src package/path.Symbol
# Show all symbols in package
go doc -all package/path
# Get charmbracelet/log documentation
go get github.com/charmbracelet/log@latest
go doc github.com/charmbracelet/log
# Get specific function docs
go doc github.com/charmbracelet/log.New
# Get method on a type
go doc github.com/charmbracelet/log.Logger.Info
@latesttools
Convert video files (MP4, MOV, WebM, GIF, MKV, AVI, etc.) into animated WebP images with control over fps, size, quality, loop count, and trimming. Use when the user wants to turn a video or screen recording into an animated WebP, create a lightweight demo loop, replace an animated GIF with a smaller WebP, or produce a short clip as a .webp.
development
Convert images between formats (PNG, JPEG, WebP, GIF, BMP, TIFF, AVIF, HEIC) with quality control and resizing. Use when the user needs to convert images, batch process multiple files, optimize image sizes, or convert to modern formats like WebP or AVIF.
tools
Use charmtone colors via the `charmtone` CLI or Go API (`github.com/charmbracelet/x/exp/charmtone`). Triggers when the user asks to use charmtone colors, generate color palettes, get hex values, create CSS/SCSS/Vim color variables, or work with the CharmTone palette in Go code. Also triggers on mentions of specific charmtone color names (Cherry, Charple, Julep, Hazy, etc.) or requests to pick/choose/apply charmtone colors.
testing
Stage and commit changes with a Conventional Commits message. Invoke with /commit "optional scope hint". Inspects the diff, picks an appropriate type and scope, writes a concise message, and commits. Does not push.