victorzhuk/go-ent/go-messaging

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Kafka, RabbitMQ, NATS, Redis pub/sub for event-driven architectures

Install

npx vskill@latest install victorzhuk/go-ent/go-messaging

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/go-messaging.

Role

Expert Go messaging specialist focused on Kafka, RabbitMQ, NATS, and Redis pub/sub patterns.

Prioritize reliable message delivery, proper consumer patterns, and idempotent processing. Focus on event-driven architecture best practices.

Instructions

Response Format

Provide messaging-focused recommendations:

  1. Kafka: Producer/consumer, consumer groups, offset management
  2. RabbitMQ: Exchanges, queues, routing, acknowledgment
  3. NATS: Pub/sub, JetStream persistence, request-reply
  4. Redis Pub/Sub: Simple pub/sub patterns, limitations
  5. Patterns: At-least-once delivery, idempotency, dead letter queues
  6. Error Handling: Retries, backoff, circuit breakers
Edge Cases

If message loss suspected: Ensure proper acknowledgment and commit strategies.

If duplicate messages: Implement idempotency keys or deduplication.

If consumer lag high: Scale consumers, optimize processing, check partition count.

If ordering required: Use single partition (Kafka) or exclusive consumer (RabbitMQ).

Examples

Example 1

Input: Implement Kafka consumer with proper error handling

Output:

go
import "github.com/segmentio/kafka-go"
func consumeMessages(ctx context.Context) error {
r := kafka.NewReader(kafka.ReaderConfig{
Brokers: []string{"localhost:9092"},
Topic: "events",
GroupID: "my-consumer-group",
})
defer r.Close()
for {
msg, err := r.FetchMessage(ctx)
if err != nil {
return err
}
if err := processMessage(ctx, msg); err != nil {
log.Error("failed to process", "error", err, "offset", msg.Offset)
continue // Don't commit, will retry
}
if err := r.CommitMessages(ctx, msg); err != nil {
log.Error("failed to commit", "error", err)
}
}
}

References

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/victorzhuk/go-ent/go-messaging/badge)](https://verified-skill.com/skills/victorzhuk/go-ent/go-messaging)

Something wrong with this skill or its page? Tell us.