mqtt-patterns

MQTT Patterns for IoT

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mqtt-patterns" with this command: npx skills add rnavarych/alpha-engineer/rnavarych-alpha-engineer-mqtt-patterns

MQTT Patterns for IoT

When to use

  • Designing MQTT topic hierarchies for a new IoT system

  • Choosing the right QoS level for telemetry, commands, or alerts

  • Implementing device presence detection with retained messages and LWT

  • Selecting or scaling an MQTT broker (Mosquitto, EMQX, HiveMQ, VerneMQ)

  • Adopting MQTT 5.0 features like shared subscriptions, message expiry, or user properties

  • Reviewing client library options for embedded C, Python, Node.js, Java, or Go

Core principles

  • Topic hierarchy is your ACL and filter contract — put the device ID early; flat topics destroy per-device access control and wildcard efficiency

  • QoS 1 is the sane default — deduplicate on the backend; QoS 2's four-way handshake costs more than it saves in most telemetry scenarios

  • LWT plus retained messages equals a free presence system — no polling, no heartbeat endpoint, broker handles it

  • MQTT 5.0 shared subscriptions replace every hand-rolled consumer group — load-balance backend processors without custom coordination

  • Never subscribe to # in production — you will receive everything on the broker; your consumer will not survive it

Reference Files

  • references/topics-and-qos.md — topic naming conventions, hierarchy patterns, QoS comparison table, retained messages, LWT configuration for device presence

  • references/brokers-and-mqtt5.md — broker selection (Mosquitto / EMQX / HiveMQ / VerneMQ), MQTT 5.0 feature guide, client libraries per language, anti-patterns to avoid

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

newsql-distributed

No summary provided by upstream source.

Repository SourceNeeds Review
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated