Integrates nanopb Protocol Buffers for embedded systems by controlling schema generation, callback usage, and buffer sizing. Use when debugging serialization failures or porting protobuf to MCUs.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
.proto, .options, nanopb_generator.py, pb_encode, pb_decode, repeated fields, strings, bytes, callbacks, or fixed-size arrays.Do not use this skill for general JSON/INI parsing. Use embedded-data-parsing-libs instead.
Ask for:
.proto, .options, generated .pb.c/.pb.h, and host-side schema version.Lock schema and generated files together.
Regenerate .pb.c/.pb.h whenever .proto or .options changes.
Bound variable fields. Use nanopb options for max string, bytes, repeated field, or callback-based streaming.
Size buffers explicitly. Know max encoded size and transport frame limits.
Check return values.
Always inspect pb_encode/pb_decode failure and error text.
Validate compatibility. Test device-generated payload with host decoder and host-generated payload with device decoder.
.proto.Before claiming nanopb works:
User:
nanopb 解码一直失败,但 PC 端 protobuf 能解析。
Agent:
.proto, .options, generated files, payload framing, and error string.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
nanopb, protocol-buffers, embedded-serialization, mcu, pb-encode, pb-decode
/aix-skills:nanopb-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumpsOther plugins' skills for the same job