LogoClawIndex
CasesSkillsAbout
LogoClawIndex

mockery-generate - Generate Golang mocks with mockery and go:generate

Generates mock implementations for Golang interfaces using mockery.

Tags

Updated: 2026-02-13

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
golang
testing
code-generation
scan interface definitions
insert go:generate comments
prompt for local command execution
Golang interface name
package path
updated source code with go:generate comment
summary prompting developer to run command