rabbitmq-skill

Generate RabbitMQ consumer code and register listeners in Go services.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Penitence1992/go-zero-backend-skills --skill rabbitmq-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rabbitmq-skill
Source: https://github.com/Penitence1992/go-zero-backend-skills/tree/main/skills/rabbitmq-skill
Command: npx skills add https://github.com/Penitence1992/go-zero-backend-skills --skill rabbitmq-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides robust patterns for building RabbitMQ consumers and the surrounding infrastructure, reducing boilerplate and ensuring type-safe handlers with OpenTelemetry support.

Core Features & Use Cases

  • Type-safe consumer templates and standardized listener setup for RabbitMQ.
  • Step-by-step execution guidance to create a consumer, register the listener, and bootstrap the infra.
  • Use cases include building reliable event-driven services that consume messages from queues and process them with structured context.

Quick Start

Create a new consumer under listener/ using the templates/consumer.go.tmpl to generate the consumer code, then register the listener in your service's main.go and ensure the infrastructure skeleton under infra/rabbitmq is in place.

Frequently Asked Questions about rabbitmq-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a type-safe RabbitMQ consumer in Go?

Yes, the RabbitMQ consumer templates include built-in OpenTelemetry support, enabling you to propagate trace context and capture distributed spans automatically for your messaging handlers.

What's the best way to set up RabbitMQ listener infrastructure in a Go service?

Yes, the RabbitMQ consumer templates include built-in OpenTelemetry support, enabling you to propagate trace context and capture distributed spans automatically for your messaging handlers.

How do I generate boilerplate code for Go RabbitMQ message handlers?

Yes, the RabbitMQ consumer templates include built-in OpenTelemetry support, enabling you to propagate trace context and capture distributed spans automatically for your messaging handlers.

Does OpenTelemetry work with RabbitMQ consumers in Go services?

Yes, the RabbitMQ consumer templates include built-in OpenTelemetry support, enabling you to propagate trace context and capture distributed spans automatically for your messaging handlers.

How do I test typed RabbitMQ message handlers in Go?

Yes, the RabbitMQ consumer templates include built-in OpenTelemetry support, enabling you to propagate trace context and capture distributed spans automatically for your messaging handlers.