nats-jetstream

Implement NATS Core and JetStream messaging with durable streams and consumers.

5|1|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/roanbrasil/engineer-grade-agent-skills --skill nats-jetstream
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nats-jetstream
Source: https://github.com/roanbrasil/engineer-grade-agent-skills/tree/main/skills/nats-jetstream
Command: npx skills add https://github.com/roanbrasil/engineer-grade-agent-skills --skill nats-jetstream

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity of building and operating scalable, low-latency messaging and durable event streaming systems, avoiding the heavy operational overhead of traditional solutions like Apache Kafka.

Core Features & Use Cases

  • Core NATS Patterns: Lightweight pub/sub, request/reply, and queue groups for high-throughput, low-latency internal communication.
  • JetStream Capabilities: Durable streams, push/pull consumers, key-value stores, object stores, and exactly-once delivery for persistent, auditable event workflows.
  • Production Readiness: Clustering, leaf nodes for edge/IoT deployments, security configuration, observability best practices, and anti-pattern avoidance for production-grade systems.
  • Use Case Example: Implement a durable order processing pipeline with exactly-once delivery, distributed feature flags via the JetStream KV store, and edge device messaging via leaf nodes.

Quick Start

Use the nats-jetstream skill to implement a durable order processing stream with pull consumers and distributed feature flags via the JetStream key-value store.

Frequently Asked Questions about nats-jetstream

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

FAQPage Schema
How do I implement exactly-once delivery in a durable event streaming system?

You can implement exactly-once delivery by configuring JetStream durable streams with pull consumers. This ensures persistent, auditable event workflows for your distributed messaging system.

What is the best way to handle edge device messaging without heavy operational dependencies like ZooKeeper or JVM runtimes?

Edge device messaging can be handled using NATS leaf nodes for lightweight operational deployment. This connects edge or IoT deployments to the cloud without external dependencies like ZooKeeper.

How do I manage distributed configuration and feature flags in a polyglot microservices environment?

Distributed feature flags and configuration management are managed using the JetStream key-value store. This provides a lightweight, cloud-native approach for polyglot development environments.

Does NATS support both at-least-once and exactly-once message delivery guarantees?

Yes, NATS JetStream supports both at-least-once and exactly-once message delivery guarantees. This is achieved through durable streams and specific consumer configurations for production event systems.

When should I use Core NATS patterns versus JetStream capabilities for microservices communication?

Use Core NATS patterns like pub/sub and queue groups for high-throughput, low-latency internal communication. Use JetStream capabilities when you require durable streams, persistent storage, and exactly-once delivery workflows.