iot-embedded-patterns

Provides IoT/AI development patterns covering sensors, LLMs, and cloud/device workflows.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/atstaeff/ai-agents --skill iot-embedded-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iot-embedded-patterns
Source: https://github.com/atstaeff/ai-agents/tree/main/skills/iot-embedded-patterns
Command: npx skills add https://github.com/atstaeff/ai-agents --skill iot-embedded-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides best practices and code patterns for building robust and scalable IoT and embedded systems, addressing challenges in hardware integration, data handling, and industrial communication.

Core Features & Use Cases

  • Pattern Library: Offers reusable code snippets and architectural patterns for sensors, actuators, MQTT, edge pipelines, and more.
  • Protocol Guidance: Details communication protocols like MQTT, OPC UA, Modbus, and EtherCAT with their use cases.
  • Best Practices: Outlines recommended approaches and common pitfalls in industrial automation and IoT development.
  • Use Case: When designing an edge gateway for a factory floor, use this Skill to implement a reliable data pipeline that handles sensor readings, validates data, aggregates it, and buffers it for transmission via MQTT, even during network outages.

Quick Start

Apply the Sensor Abstraction Layer pattern to decouple hardware-specific sensor drivers from your application logic.

Frequently Asked Questions about iot-embedded-patterns

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

FAQPage Schema
How do I design an MQTT topic structure for industrial IoT edge devices?

MQTT topic design for industrial IoT devices requires structured patterns to route sensor and actuator data efficiently. This Skill provides specific architectural patterns for organizing MQTT topics to handle edge data pipelines and ensure reliable factory floor communication.

What is the best way to decouple hardware sensor drivers from application logic in embedded systems?

Decoupling hardware sensor drivers from application logic uses a Sensor Abstraction Layer pattern to isolate hardware-specific code. This Skill provides reusable architectural patterns to implement this abstraction, ensuring scalable and maintainable embedded system development.

How do I implement store-and-forward mechanisms for edge computing pipelines during network outages?

Store-and-forward mechanisms in edge computing pipelines buffer sensor data locally during network outages to prevent data loss. This Skill details architectural patterns to implement reliable data buffering and transmission via MQTT once connectivity is restored.

Does this Skill provide guidance on integrating with Siemens, Beckhoff, and Revolution Pi PLCs?

Yes, this Skill provides specific guidance on industrial automation integration for Siemens, Beckhoff, and Revolution Pi platforms. It addresses communication protocols and mechatronics patterns required to connect these PLC systems within an industrial IoT architecture.

When should I use OPC UA versus Modbus or EtherCAT for industrial automation communication?

Choosing between OPC UA, Modbus, and EtherCAT depends on specific industrial automation requirements for data exchange and real-time control. This Skill outlines communication protocol use cases and best practices to guide your selection for mechatronics and IoT integration.

How do I build a protocol gateway to connect factory floor sensors to an edge data pipeline?

Building a protocol gateway to connect factory floor sensors involves translating industrial communication protocols into a unified edge data pipeline. This Skill provides architectural patterns for protocol gateways, sensor data validation, and aggregation for downstream transmission.