Use when organizing functions within a Go file, formatting function signatures, designing return values, or following Printf-style naming conventions. Also use…
Go Function Design
When this skill does NOT apply: For functional options constructors (WithTimeout, WithLogger), see go-functional-options. For error return conventions, see go-error-handling. For naming functions and methods, see go-naming.
Function Grouping and Ordering
Organize functions in a file by these rules:
Functions sorted in rough call order
Functions grouped by receiver
Exported functions appear first, after struct/const/var definitions
NewXxx/newXxx constructors appear right after the type definition
Plain utility functions appear toward the end of the file
type something struct{ ... }don't have the plugin yet? install it then click "run inline in claude" again.