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 nanopb Protocol Buffers, .proto generation, pb_encode, pb_decode, callbacks, fixed sizes, or embedded serialization
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill nanopb-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill nanopb-integration -a windsurf -y
name: nanopb-integration description: Use when integrating, porting, configuring, or debugging nanopb Protocol Buffers, .proto generation, pb_encode, pb_decode, callbacks, fixed sizes, or embedded serialization
Use this skill to integrate nanopb by controlling schema size, generated options, callbacks, and buffer ownership. Embedded protobuf failures usually come from mismatched generated files, unbounded fields, or callback misuse.
Use this skill when:
Do not use this skill for general JSON/INI parsing. Use `embedded-data-parsing-libs` instead.
Ask for:
1. Lock schema and generated files together. Regenerate `.pb.c/.pb.h` whenever `.proto` or `.options` changes.
1. Bound variable fields. Use nanopb options for max string, bytes, repeated field, or callback-based streaming.
1. Size buffers explicitly. Know max encoded size and transport frame limits.
1. Check return values. Always inspect `pb_encode`/`pb_decode` failure and error text.
1. Validate compatibility. Test device-generated payload with host decoder and host-generated payload with device decoder.
Before claiming nanopb works:
User:
nanopb 解码一直失败,但 PC 端 protobuf 能解析。
Agent:
1. Asks for `.proto`, `.options`, generated files, payload framing, and error string. 1. Checks stale generation and max field settings. 1. Tests a golden payload both directions.
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.