LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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
Golangtestingmockingcode-generationgo:generate

Capabilities

scan interface definitionsadd go:generate commentsvalidate go:generate commentsprompt go generate execution

Typical Inputs

interface namepackage pathGolang source code

Typical Outputs

updated go:generate commentsgenerated mock filestask summary prompt

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

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.