8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when designing, integrating, testing, or debugging OTA firmware update flows, package formats, transport, rollback, versioning, or power-fail safety on embedded devices
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill ota-update-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill ota-update-integration -a windsurf -y
name: ota-update-integration description: Use when designing, integrating, testing, or debugging OTA firmware update flows, package formats, transport, rollback, versioning, or power-fail safety on embedded devices
Use this skill to build OTA updates as a full pipeline: package creation, transport, staging, validation, activation, rollback, and observability. OTA is only reliable when every reset point is defined.
Use this skill when:
Do not use this skill for bootloader internals. Use `mcuboot-integration` when the image activation or swap logic itself is failing. For generic bootloader jump/handoff debugging, use `bootloader-debug`.
Ask for:
1. Define the update contract. The manifest should include target identity, version, size, hash, signature, compatibility, and install mode.
1. Separate download from activation. Store the image safely, verify it, then mark it pending only after all bytes and metadata are valid.
1. Make reset points explicit. Document what happens during download, after validation, after activation, and during first boot.
1. Verify authenticity and integrity. Use hash checks for corruption and signatures for trust. Do not treat transport TLS as a replacement for image signing.
1. Prove rollback. The device must recover from bad images, failed self-tests, power loss, and interrupted transfers.
1. Add operational visibility. Log update ID, version, byte count, validation result, boot decision, and final status.
Before claiming OTA works:
User:
设备 OTA 偶尔升级后变砖。
Agent:
1. Maps each persistent OTA state and reset point. 1. Reproduces power loss during download, mark-pending, swap, and first boot. 1. Fixes atomic state storage or rollback policy before optimizing transfer speed.
AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start,…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.