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 - Generate Golang Interface Mocks with Mockery

Uses mockery with go:generate to automatically generate mocks for Golang interfaces, eliminating manual mock creation

Tags

Updated: 2026-02-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • scan interface definitions
  • add go:generate comments
  • validate mockery configuration
  • generate mock files
  • import mocks in tests

Inputs

  • Golang source code
  • interface definitions
  • package structure
  • test files

Outputs

  • go:generate annotations
  • mockery configuration
  • mock file generation
  • test code updates

Requirements

  • Golang development environment
  • mockery tool installed
  • go:generate support
  • repository write permissions

Source

  • Spec: SKILL.md
golang
testing
mocking
automation
code-generation
scan interface definitions
add go:generate comments
validate mockery configuration
generate mock files
Golang source code
interface definitions
package structure
go:generate annotations
mockery configuration
mock file generation