Saltar al contenido
Skillpedia
APIs y servidores (backend)40 mil · #7350

python-azure-iot-edge-modules

Qué hace

Esta herramienta te ayuda a crear y gestionar programas en Python (módulos) que se ejecutan en dispositivos conectados a internet (IoT Edge). Se asegura de que estos programas funcionen bien, envíen los datos correctamente y sean fáciles de actualizar.

Cuándo usarla

  • ✓Crear un programa para procesar datos de sensores en un dispositivo.
  • ✓Enviar datos de forma fiable desde un dispositivo a la nube.
  • ✓Adaptar los datos del dispositivo a un formato que entienda la nube.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/github/awesome-copilot/blob/main/skills/python-azure-iot-edge-modules/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un módulo en Python que recoja datos de temperatura de un sensor y los envíe a la nube.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta usa las buenas prácticas de Python y las pautas de Microsoft Azure para crear el módulo. Define cómo se comunicará el módulo, cómo gestionará los fallos de red y cómo se desplegará en los dispositivos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes

¿Qué es IoT Edge?

Es una plataforma de Microsoft que permite ejecutar IA y otros servicios de Azure directamente en los dispositivos de borde, en lugar de hacerlo en la nube.

¿Qué son los módulos en IoT Edge?

Los módulos son los componentes de software que se ejecutan en IoT Edge. Pueden ser aplicaciones propias, como las hechas con Python, o servicios de Azure.

¿Por qué usar Python para IoT Edge?

Python es un lenguaje popular y versátil, con muchas bibliotecas útiles para procesar datos, aprendizaje automático y comunicación, lo que lo convierte en una gran opción para crear módulos de IoT Edge.

Detalles

Descripción original del autor

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

repo: github/awesome-copilot

Popularidad

Estrellas en GitHub
40 mil
Posición en el ranking
#7350
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas