mockery-generate - Generate Golang mocks with mockery and go:generate
Generates mock implementations for Golang interfaces using mockery.
Tags
Updated: 2026-02-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- scan interface definitions
- insert go:generate comments
- prompt for local command execution
Inputs
- Golang interface name
- package path
Outputs
- updated source code with go:generate comment
- summary prompting developer to run command
Requirements
- mockery tool installed
- Golang project
- write access to source files
