LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

mockery-generate - Golang Mockery Generation with go:generate

Generates mock implementations for Golang interfaces using mockery and go:generate to eliminate handwritten mock structs

Tags

Updated: 2026-02-13

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • scan interface definitions
  • add go:generate comments
  • validate go:generate comments
  • prompt go generate execution

Inputs

  • interface name
  • package path
  • Golang source code

Outputs

  • updated go:generate comments
  • generated mock files
  • task summary prompt

Requirements

  • Golang development environment
  • mockery tool installed
  • go:generate support
  • source code repository access

Source

  • Spec: SKILL.md
Golang
testing
mocking
code-generation
go:generate
scan interface definitions
add go:generate comments
validate go:generate comments
prompt go generate execution
interface name
package path
Golang source code
updated go:generate comments
generated mock files
task summary prompt