8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when integrating, configuring, or debugging miniz compression, DEFLATE, zlib streams, gzip-compatible data, ZIP archives, or embedded decompression buffers
$ npx -y skills add easyzoom/aix-skills --skill miniz-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/miniz-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, configuring, or debugging miniz compression, DEFLATE, zlib streams, gzip-compatible data, ZIP archives, or embedded decompression buffers
name: miniz-integration description: Use when integrating, configuring, or debugging miniz compression, DEFLATE, zlib streams, gzip-compatible data, ZIP archives, or embedded decompression buffers
Use this skill to integrate miniz by separating format choice, memory budget, streaming strategy, and integrity checks. Compression bugs on MCUs usually come from buffer ownership, incomplete streams, or confusing raw DEFLATE, zlib, gzip, and ZIP containers.
Use this skill when:
Do not use this skill for very small streaming compression windows. Use `heatshrink-integration` when heatshrink is already selected for tiny MCU buffers.
Ask for:
1. Pick the exact format. Do not mix raw DEFLATE streams, zlib headers, gzip files, and ZIP archives.
1. Budget memory before coding. Estimate output buffer, dictionary/window needs, file metadata, and stack usage.
1. Prefer streaming for large payloads. Feed bounded chunks and write output incrementally instead of allocating the whole image.
1. Validate sizes and integrity. Check compressed length, decompressed length, CRC/hash, and destination capacity.
1. Handle partial and corrupt data. Every read/write callback should report short I/O and decompressor errors distinctly.
1. Test worst-case input. Include incompressible data, empty streams, truncated streams, and oversized output.
Before claiming miniz works:
User:
用 miniz 解 OTA 资源包偶尔失败。
Agent:
1. Confirms whether the package is ZIP, zlib, or raw DEFLATE. 1. Checks chunked read/write callbacks and decompressed length bounds. 1. Adds corrupt and truncated package tests before changing transport code.
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, UART, or startup failures
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive…