rabbitmq-skill
Installation
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/{{CONSUMER_NAME_LOWER}}.go - Variables:
{{PACKAGE_NAME}}: Package name (e.g.,listener){{MODULE_NAME}}: Go module name{{CONSUMER_NAME}}: Consumer struct name (e.g.,MatchStatus){{MESSAGE_TYPE}}: Struct type of the message (e.g.,types.MatchMsg){{QUEUE_NAME}}: Queue name