8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, configuring, or debugging miniz compression, DEFLATE, zlib streams, gzip-compatible data, ZIP archives, or embedded decompression buffers
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill miniz-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill miniz-integration -a windsurf -y
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,…
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.