gomega
Ginkgo's Preferred Matcher Library
Gomega is a Claude Code plugin that equips AI agents with comprehensive Go testing matcher idioms for writing assertions. Originally Ginkgo's matcher library, it now provides a full catalog of matchers, asynchronous assertion helpers like Eventually and Consistently, and specialized sub-libraries (gstruct, ghttp, gexec, gbytes, gleak, gmeasure) as Claude Code skills. When installed, the gomega:* skill family activates automatically while an agent writes Go tests, giving it access to best-practice assertion patterns and testing utilities.
Key Features
Use Cases
- 01Enabling AI agents to write idiomatic Go test assertions using Gomega matchers
- 02Assisting agents in creating asynchronous tests with Eventually and Consistently patterns
- 03Providing agents with HTTP testing capabilities through ghttp matchers
- 04Helping agents write struct comparison tests using gstruct utilities
- 05Equipping agents to detect goroutine leaks in Go test suites
- 06Supporting agents in adding performance measurement to Go tests with gmeasure
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
gomega — FAQ
What is the gomega Claude Code plugin?+
The gomega plugin is a Claude Code extension that provides AI agents with Gomega's full testing matcher library and idioms for writing Go test assertions. It includes matchers, asynchronous helpers, and specialized sub-libraries that activate automatically when agents work on Go test code.
How do I install the gomega plugin in Claude Code?+
From inside Claude Code, run '/plugin marketplace add onsi/gomega' to add the marketplace source, then run '/plugin install gomega@gomega' to install the plugin. Non-interactively, you can use 'claude plugin marketplace add onsi/gomega' followed by 'claude plugin install gomega@gomega'.
Which AI clients work with the gomega plugin?+
This plugin is specifically designed for Claude Code, the AI coding assistant from Anthropic. It is not compatible with other AI clients or assistants.
Do I need API keys or prerequisites to use the gomega plugin?+
No API keys are required. You only need Claude Code installed and a Go project where you're writing tests that can benefit from Gomega matchers and testing utilities.
Is the gomega Claude Code plugin free?+
Yes, the gomega plugin is open source and released under the MIT license, making it free to use. The repository is publicly available on GitHub.
What testing capabilities does the gomega plugin provide to AI agents?+
The plugin gives agents access to Gomega's complete matcher catalog, Eventually/Consistently for async assertions, and sub-libraries including gstruct (struct matching), ghttp (HTTP testing), gexec (process execution), gbytes (buffer assertions), gleak (leak detection), and gmeasure (performance measurement).
How do I install gomega?+
Open the source repository on GitHub and follow its README. gomega is a plugin — MCP Agents Market links you directly to the official repo.
Is gomega free?+
gomega is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.