NATS Rules
High-performance message streaming commands. Manage subjects, streams, consumers, and publish-subscribe messaging.
3 rules
NATS Server Configuration Standards
Intermediate
Configure NATS servers with proper security defaults — TLS required, authentication enabled, authorization with accounts, and JetStream storage limits for production deployments.
globs: **/nats*.conf, **/nats-server.conf, **/jetstream.conf
nats-config, tls, authentication, jetstream
View Rule
JetStream Stream and Consumer Design
Advanced
Design JetStream streams and consumers correctly — proper retention policies, consumer acknowledgment patterns, replay policies, and stream partitioning for scalability.
globs: **/nats*.conf, **/*.go, **/*.ts, **/jetstream*
jetstream, streams, consumers, acknowledgment
View Rule
Subject Naming Conventions
Beginner
Enforce consistent NATS subject naming with dot-delimited hierarchies — define clear taxonomy for services, events, and commands with proper wildcard usage patterns.
globs: **/nats*.conf, **/nats-server.conf, **/*.go, **/*.ts
subject-naming, messaging, event-taxonomy, pubsub
View Rule