NATS Documentation
Official NATS docs synced from nats-io/nats.docs, branch master.
Use this skill when answering questions or making changes involving NATS server, NATS clients, JetStream, the nats CLI, NATS security, or NATS deployment/operations.
Hard Rules
- MUST search
references/ before giving version-sensitive commands or configuration details.
- MUST prefer official docs in this skill over memory for JetStream limits, server config, auth/JWT, clustering, leaf nodes, gateways, and monitoring endpoints.
- MUST distinguish Core NATS from JetStream semantics.
- MUST call out when an answer depends on client library language/version, because this skill focuses on product docs rather than every client API.
- NEVER invent NATS subject, stream, consumer, account, or authorization syntax without checking the relevant reference.
Fast Lookup
rg -n "JetStream|stream|consumer|KV|object store" skills/nats-docs/references
rg -n "auth|JWT|account|nkey|token|TLS" skills/nats-docs/references
rg -n "cluster|gateway|leaf|super-cluster" skills/nats-docs/references
rg -n "monitoring|/varz|/connz|/jsz|prometheus" skills/nats-docs/references
rg -n "nats CLI|nsc|nats-server|configuration" skills/nats-docs/references
Reference Map
references/SUMMARY.md — upstream table of contents.
references/README.md / references/overview.md — docs entry points and overview.
references/nats-concepts/ — subjects, Core NATS, request-reply, queue groups, JetStream concepts, security, connectivity.
references/using-nats/ — CLI tools, developing with NATS, JetStream usage, tutorials.
references/running-a-nats-service/ — install/run/deploy, server config, clustering, gateways, leaf nodes, security, monitoring, Kubernetes/Docker.
references/reference/ and references/reference-protocols.md — FAQ, protocol references, roadmap, contribution notes.
references/release_notes/ — NATS release notes.
Common Tasks
- Start with
references/SUMMARY.md to locate the exact topic.
- Search the relevant subtree with
rg.
- Cite concrete paths or config keys from the docs in your answer.
- For operations advice, separate development examples from production guidance.
- For JetStream, check both concepts and running/configuration docs before recommending limits, storage, clustering, or consumer settings.
1---2name: nats-docs3description: Use when working with NATS: core messaging, subjects, request-reply, queue groups, JetStream streams/consumers/KV/object store, nats CLI, server config, clustering, gateways, leaf nodes, accounts/JWT/auth/TLS, monitoring, Kubernetes/Docker, protocol, or troubleshooting NATS deployments.4---56# NATS Documentation78Official NATS docs synced from [`nats-io/nats.docs`](https://github.com/nats-io/nats.docs), branch `master`.910Use this skill when answering questions or making changes involving NATS server, NATS clients, JetStream, the `nats` CLI, NATS security, or NATS deployment/operations.1112## Hard Rules1314- MUST search `references/` before giving version-sensitive commands or configuration details.15- MUST prefer official docs in this skill over memory for JetStream limits, server config, auth/JWT, clustering, leaf nodes, gateways, and monitoring endpoints.16- MUST distinguish Core NATS from JetStream semantics.17- MUST call out when an answer depends on client library language/version, because this skill focuses on product docs rather than every client API.18- NEVER invent NATS subject, stream, consumer, account, or authorization syntax without checking the relevant reference.1920## Fast Lookup2122```bash23rg -n "JetStream|stream|consumer|KV|object store" skills/nats-docs/references24rg -n "auth|JWT|account|nkey|token|TLS" skills/nats-docs/references25rg -n "cluster|gateway|leaf|super-cluster" skills/nats-docs/references26rg -n "monitoring|/varz|/connz|/jsz|prometheus" skills/nats-docs/references27rg -n "nats CLI|nsc|nats-server|configuration" skills/nats-docs/references28```2930## Reference Map3132- `references/SUMMARY.md` — upstream table of contents.33- `references/README.md` / `references/overview.md` — docs entry points and overview.34- `references/nats-concepts/` — subjects, Core NATS, request-reply, queue groups, JetStream concepts, security, connectivity.35- `references/using-nats/` — CLI tools, developing with NATS, JetStream usage, tutorials.36- `references/running-a-nats-service/` — install/run/deploy, server config, clustering, gateways, leaf nodes, security, monitoring, Kubernetes/Docker.37- `references/reference/` and `references/reference-protocols.md` — FAQ, protocol references, roadmap, contribution notes.38- `references/release_notes/` — NATS release notes.3940## Common Tasks41421. Start with `references/SUMMARY.md` to locate the exact topic.432. Search the relevant subtree with `rg`.443. Cite concrete paths or config keys from the docs in your answer.454. For operations advice, separate development examples from production guidance.465. For JetStream, check both concepts and running/configuration docs before recommending limits, storage, clustering, or consumer settings.