Device management

From rnavarych/alpha-engineer · View interactive version

Device management is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. IoT device lifecycle management including zero-touch provisioning, firmware OTA updates with rollback, device registry, device twin/shadow state patterns, command-and-control mechanisms, and fleet-wide operations.

How to use this skill

Skill file

IoT Device Management

When to use

Core principles

  1. Provision from hardware roots — private keys belong in secure elements or TPMs; never in firmware flash or environment variables
  2. A/B partitions over in-place updates — the inactive slot absorbs the risk; rollback is a reboot, not a crisis
  3. Twin delta is the source of truth — desired vs reported gap tells you exactly what the fleet hasn't converged on yet
  4. Commands must be idempotent and TTL-bound — offline devices wake up; stale reboot commands should not execute
  5. Fleet operations are canary-first — 1% → 10% → 50% → 100% with automated pause on error rate threshold

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.