Zum Inhalt springen
Skillpedia
APIs & Server (Backend)40k · #7350

python-azure-iot-edge-modules

Was er macht

Dieses Tool hilft dir, Python-Programme (Module) zu erstellen und zu verwalten, die auf internetfähigen Geräten (IoT Edge) laufen. Es sorgt dafür, dass diese Programme zuverlässig funktionieren, Daten korrekt senden und sich einfach aktualisieren lassen.

Wann du ihn nutzt

  • ✓Du möchtest ein Programm erstellen, das Sensordaten direkt auf einem Gerät verarbeitet.
  • ✓Du willst Daten zuverlässig von einem Gerät in die Cloud senden.
  • ✓Du brauchst Gerätedaten in einem Format, das die Cloud versteht.

Link zum Skill

https://github.com/github/awesome-copilot/blob/main/skills/python-azure-iot-edge-modules/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/github/awesome-copilot/blob/main/skills/python-azure-iot-edge-modules/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle ein Python-Modul, das Temperaturdaten von einem Sensor sammelt und an die Cloud sendet.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool nutzt Best Practices für Python und die Richtlinien von Microsoft Azure, um das Modul zu bauen. Es legt fest, wie das Modul kommuniziert, wie es Netzwerkausfälle behandelt und wie es auf die Geräte gebracht (deployt) wird.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Python Azure IoT Edge Modules

Use this skill to design, implement, and validate Python-based IoT Edge modules for telemetry processing, local inference, protocol translation, and edge-to-cloud integration.

When To Use

Use this skill for requests like:

  • "quiero crear un modulo Python para IoT Edge"
  • "como despliego modulos edge con manifest"
  • "necesito filtrar/agregar telemetria antes de subirla"
  • "como manejo desconexiones y reintentos en edge"

Mandatory Docs Review

Before recommending runtime behavior or deployment decisions, review:

Minimum checks:

  • Runtime architecture and module lifecycle.
  • Supported host OS and versions.
  • Deployment model and configuration flow.
  • Current release/version guidance.

If documentation cannot be fetched, proceed with explicit assumptions and flag them clearly.

Python Official References and Best Practices (Required)

Before proposing Python implementation details, consult official Python sources:

Prefer official docs over community snippets unless there is a specific compatibility reason to deviate.

Goals

  • Deliver module architecture and implementation plan that is production-focused.
  • Ensure reliable edge messaging under network variability.
  • Provide deployment, observability, and validation artifacts.

Module Use Cases

  • Protocol adapter (serial/Modbus/OPC-UA to IoT message format).
  • Telemetry enrichment and normalization.
  • Local anomaly detection or inference.
  • Command orchestration and local actuator control.

Delivery Workflow

1) Contract and Interfaces

Define:

  • Module inputs and outputs.
  • Message schema and versioning policy.
  • Routes and priorities for normal vs critical telemetry.
  • Desired properties used for dynamic configuration.

2) Runtime and Packaging

Specify:

  • Python runtime version target.
  • Container image strategy (base image, slim footprint, CVE hygiene).
  • Resource profile (CPU/memory bounds).
  • Startup and health checks.

3) Reliability Design

Implement and validate:

  • Retries with exponential backoff and jitter.
  • Graceful degradation on upstream failures.
  • Local queueing strategy where needed.
  • Idempotent processing for replayed messages.

4) Security Controls

Require:

  • No plaintext secrets in code or manifest.
  • Least-privilege module behavior.
  • Secure transport and trusted cert chain handling.
  • Traceability for command handling and state changes.

5) Deployment and Operations

Define:

  • Environment-specific deployment manifests.
  • Rollout strategy (pilot, staged, broad).
  • Rollback criteria.
  • SLOs and alerting conditions.

Reuse Other Skills

When relevant, combine with:

  • azure-smart-city-iot-solution-builder for platform-level architecture.
  • appinsights-instrumentation for telemetry instrumentation approaches.
  • azure-resource-visualizer for architecture diagrams and dependency mapping.

Also use references/python-official-best-practices.md as baseline quality criteria for module design and implementation guidance.

Required Output

Always provide:

  1. Module design brief (purpose, inputs, outputs).
  2. Deployment model (image, manifest, env settings).
  3. Reliability and error-handling strategy.
  4. Security and operations checklist.
  5. Test matrix (functional, chaos, performance, rollback).

Output Template

Use references/python-edge-module-template.md to structure implementation proposals and reviews.

  1. Context and assumptions
  2. Module architecture
  3. Deployment and configuration
  4. Reliability, security, observability
  5. Validation and rollout plan

Guardrails

  • Do not recommend direct production rollout without pilot stage.
  • Do not embed secrets in Dockerfiles, source, or manifests.
  • Do not omit health probes, restart behavior, and rollback criteria.
Häufige Fragen

Was ist IoT Edge?

IoT Edge ist eine Plattform von Microsoft, mit der du KI und andere Azure-Dienste direkt auf Edge-Geräten ausführen kannst, statt in der Cloud.

Was sind Module in IoT Edge?

Module sind die Softwarekomponenten, die auf IoT Edge laufen. Das können eigene Anwendungen sein, zum Beispiel mit Python erstellt, oder Azure-Dienste.

Warum Python für IoT Edge?

Python ist eine beliebte und vielseitige Sprache mit vielen nützlichen Bibliotheken für Datenverarbeitung, Machine Learning und Kommunikation. Deshalb eignet sie sich sehr gut für IoT-Edge-Module.

Details

Originalbeschreibung des Autors

Build and operate Python Azure IoT Edge modules with robust messaging, deployment manifests, observability, and production readiness checks.

repo: github/awesome-copilot

Beliebtheit

GitHub-Sterne
40k
Platz im Ranking
#7350
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills