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, porting, or debugging TJpgDec, Tiny JPEG Decompressor, embedded JPEG decoding, MCU image assets, display callbacks, or memory-constrained rendering
$ npx -y skills add easyzoom/aix-skills --skill tjpgd-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tjpgd-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, or debugging TJpgDec, Tiny JPEG Decompressor, embedded JPEG decoding, MCU image assets, display callbacks, or memory-constrained rendering
name: tjpgd-integration description: Use when integrating, porting, or debugging TJpgDec, Tiny JPEG Decompressor, embedded JPEG decoding, MCU image assets, display callbacks, or memory-constrained rendering
Use this skill to integrate TJpgDec by proving the input callback, output callback, work buffer, color format, scaling, and display path. TJpgDec is small, but it still needs careful ownership of input streams and pixel blocks.
Use this skill when:
Do not use this skill when the display driver itself is not proven. Use `lvgl-integration`, `u8g2-integration`, or `epd-integration` as appropriate.
Ask for:
1. Validate the JPEG format. Confirm baseline JPEG support and reject unsupported progressive or oversized images.
1. Prove input callback semantics. Reads, skips, short reads, and EOF must match TJpgDec expectations.
1. Allocate the work buffer deliberately. Keep the buffer aligned and sized for the selected build and platform.
1. Match output color. Convert RGB/BGR, RGB565 endian, grayscale, and alpha assumptions at the output boundary.
1. Clip and scale safely. Handle destination rectangles, scaling factors, and display bounds before pushing pixels.
1. Test multiple asset shapes. Include tiny, wide, tall, odd-sized, and maximum-resolution images.
Before claiming JPEG decode works:
User:
TJpgDec 图片能解码但颜色不对。
Agent:
1. Checks output format, RGB/BGR order, and RGB565 endian. 1. Renders a small color-bar JPEG through the same callback. 1. Fixes conversion at the output boundary instead of changing asset data first.
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…