/engineering-practices:go-best-practicesfrom engineering-practices
Use when writing or changing Go files (.go, go.mod).
Ships in engineering-practices. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follows the type, error, and assertion law in code-law. This skill covers language-specific idioms only.
Restrict who can do it — when only one scope may perform an effect, unexport its functions and export only the scope that performs it; put packages that other modules must not import under internal/. A capability with an unexported field can be created only by its own package. Correct types are the proof.
gomock.InOrder(...) and mock.EXPECT().Fetch(id).Times(n) (go.uber.org/mock) standing in for your own collaborator assert which calls happened, not what the code produced — the change-detector shape in testing-best-practices. Accept the interface, pass a hand-written fake, and assert the return value in a table test; keep the call assertion only where the count is the contract, such as a retry budget.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/agent-browserUse when driving a browser the agent owns through the agent-browser CLI — opening pages, clicking and filling by snapshot refs, screenshots, testing a web app, or extracting data from a rendered page./agent-deviceUse when driving an iOS, Android, macOS, or TV app through the agent-device CLI — opening an app on a simulator, emulator, or device, tapping and filling by snapshot refs, capturing screenshots, logs, or recordings, or replaying a scripted flow./agent-operabilityUse when designing or changing a CLI, API, control plane, or automation surface that an agent must inspect, operate, and verify safely./atlas-best-practicesUse when working with atlas.hcl, Atlas CLI commands, schema HCL/SQL files, or migration planning and reviews./brief-best-practicesUse when a surface needs a durable quality agreement or the user requests a BRIEF.md; ordinary drafts and repeated edits do not automatically need one./canton-network-reposUse when working with Canton Network participants, DAML smart contracts, Splice applications, or debugging LF version and package ID issues.npx claudepluginhub alleneubank/agent-profile --plugin engineering-practices