8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, porting, configuring, or debugging MCUboot secure boot, image slots, swap modes, image signing, rollback, or bootloader upgrades on MCUs
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill mcuboot-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill mcuboot-integration -a windsurf -y
name: mcuboot-integration description: Use when integrating, porting, configuring, or debugging MCUboot secure boot, image slots, swap modes, image signing, rollback, or bootloader upgrades on MCUs
Use this skill to integrate MCUboot by proving the boot chain, flash map, image format, signing flow, and upgrade policy. Most failures come from slot geometry, trailer layout, or signing metadata mismatches rather than the application itself.
Use this skill when:
Do not use this skill for application-level firmware transfer alone. Use `ota-update-integration` first if the bootloader is already fixed and the issue is delivery. For generic bootloader jump/handoff debugging, use `bootloader-debug`.
Ask for:
1. Freeze the flash map. Slot sizes, erase block size, alignment, scratch size, and trailer offsets must match the target flash.
1. Build a minimal signed image. Verify image header, TLVs, signature, version, and load address before enabling OTA.
1. Prove first boot. Boot one known-good image from the primary slot and record bootloader logs.
1. Prove upgrade behavior. Test pending, test, confirm, revert, and permanent upgrade paths for the selected mode.
1. Add recovery and brick protection. Keep serial recovery, debug access, watchdog policy, and factory image strategy clear.
1. Lock security policy last. Enable key protection, rollback counters, encryption, or anti-tamper only after the basic upgrade loop is repeatable.
Before claiming MCUboot works:
User:
MCUboot 升级后总是回滚。
Agent:
1. Asks for flash layout, swap mode, signing command, image version, and boot log. 1. Checks whether the app calls image confirm after the self-test passes. 1. Verifies trailer flags and interrupted-upgrade behavior before changing OTA logic.
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.