Skip to main content
skill GitHub Copilot official · GitHub

python-azure-iot-edge-modules — GitHub Copilot skill guide

Guides the design and deployment of Python Azure IoT Edge modules. Useful for edge telemetry pipelines, protocol translation, and offline message queueing.

Install into GitHub Copilot · Skills CLI (Vercel) All methods and platforms ↓
npx skills add github/awesome-copilot --skill python-azure-iot-edge-modules
Open on GitHub

What python-azure-iot-edge-modules does

The skill enforces structured engineering for edge modules using official Azure IoT Edge and Python standards. It handles tasks like protocol bridging for Modbus or OPC-UA, telemetry normalization, and local inference workloads. Official documentation is required reading before generating module logic.

Reliability rules are built directly into the workflow. The skill requires retries with exponential backoff and jitter, local queues, and idempotent processing for network dropouts. Hardcoded secrets in Dockerfiles or manifests are strictly blocked. It also mandates health probes and staged rollouts.

Install this when deploying production containers to edge hardware under unstable connections. If you only need a standalone script without the IoT Edge runtime, this workflow is overkill.

What it helps with

  • process and normalize telemetry before uploading to cloud
  • bridge industrial protocols like Modbus and OPC-UA to IoT messages
  • create deployment manifests with container resource limits
  • handle edge network drops with exponential backoff and queues

Example prompts for the agent

  • quiero crear un modulo Python para IoT Edge
  • how do I handle edge disconnects and retries in Python
  • generate an Azure IoT Edge deployment manifest for telemetry filtering

How to install python-azure-iot-edge-modules

1Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill python-azure-iot-edge-modules

2GitHub CLI

gh skill install github/awesome-copilot python-azure-iot-edge-modules

3Manually: put the files in place

.github/skills/python-azure-iot-edge-modules/SKILL.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

Questions about python-azure-iot-edge-modules

How do I install python-azure-iot-edge-modules in GitHub Copilot?

Run gh skill install github/awesome-copilot python-azure-iot-edge-modules or npx skills add github/awesome-copilot --skill python-azure-iot-edge-modules in your terminal.

What does the python-azure-iot-edge-modules skill do?

It guides the creation of Python modules for Azure IoT Edge following official best practices. It helps build message routing, container manifests, and error handling for edge devices.

What safety guardrails does this skill enforce?

It rejects plaintext secrets in code or deployment manifests. It also requires health checks, container restart policies, and a pilot stage before broad rollouts.

Source text

SKILL.md · MIT
---
name: python-azure-iot-edge-modules
description: 'Build and operate Python Azure IoT Edge modules with robust messaging, deployment manifests, observability, and production readiness checks.'
---

# 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:

- https://learn.microsoft.com/azure/iot-edge/
- https://learn.microsoft.com/es-es/azure/iot-edge/

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:

- https://www.python.org/
- https://docs.python.org/3/
- https://docs.python.org/3/reference/
- https://docs.python.org/3/library/
- references/python-official-best-practices.md

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.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor