smithery.ai

rabbitmq-skill

Use this skill to implement RabbitMQ consumers and infrastructure. It provides templates for creating type-safe consumers and setting up the listening engine with OpenTelemetry support.

First seen Apr 1, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,571 B
  • docs SUMMARY.md 207 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

RabbitMQ Implementation

This skill provides patterns for robust RabbitMQ consumer implementation.

Execution Steps

Step 1: Create Consumer Handler

Create a new consumer in listener/ (or internal/mq/) using the template.

Template Usage:

  • Source: templates/consumer.go.tmpl
  • Target: listener/{{CONSUMERNAMELOWER}}.go
  • Variables:

- {{PACKAGENAME}}: Package name (e.g., listener) - {{MODULENAME}}: Go module name - {{CONSUMERNAME}}: Consumer struct name (e.g., MatchStatus) - {{MESSAGETYPE}}: Struct type of the message (e.g., types.MatchMsg) - {{QUEUE_NAME}}: Queue name

Step 2: Register Listener

In main.go or listener/listener.go (if creating a separate service):

// Create consumer instance
consumer := New{{CONSUMER_NAME}}Consumer(ctx, svcCtx)

// Create listener wrapper
l := rabbitmq.NewListener[types.MatchMsg](consumer)

// Start listener
l.Start()

Step 3: Setup Infrastructure (One-time)

If infra/rabbitmq/ does not exist, use templates/infra.go.tmpl (or copy detailed implementation from SKILL Reference) to create the base listener engine.

Templates Location

  • templates/consumer.go.tmpl: Standard typed consumer handler.
  • templates/infra.go.tmpl: Infrastructure skeleton (refer to SKILL.md text for full impl if not using library).