From aix-skills
Use when integrating, porting, calibrating, or debugging MCU sensor drivers, register maps, I2C/SPI transport, interrupts, FIFO, timing, or data conversion
How this skill is triggered — by the user, by Claude, or both
Slash command
/aix-skills:sensor-driver-integrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to integrate sensors by proving transport, identity, configuration, timing, data readiness, conversion, and calibration in order. Sensor bugs often look like algorithm bugs but start with bus timing, register paging, or unit conversion.
Use this skill to integrate sensors by proving transport, identity, configuration, timing, data readiness, conversion, and calibration in order. Sensor bugs often look like algorithm bugs but start with bus timing, register paging, or unit conversion.
Use this skill when:
Do not use this skill when the electrical bus itself has not been proven. Use hardware-interface-debug first.
Ask for:
Prove physical and bus identity. Check power rails, reset state, WHOAMI/device ID, and basic register reads before configuration.
Freeze the register plan. Document mode, range, bandwidth, output data rate, FIFO, interrupts, and low-power settings.
Read raw data first. Convert bytes with the correct endian, signedness, resolution, and scale only after raw values move plausibly.
Add readiness and timing. Poll or interrupt on data-ready, avoid reading faster than ODR, and timestamp close to acquisition.
Validate calibration. Keep offset, sensitivity, temperature compensation, and factory calibration separate from transport logic.
Test stress cases. Cover FIFO overflow, suspend/resume, bus errors, hot reset, and sensor disconnect.
Before claiming a sensor works:
User:
IMU 数据一直跳,姿态算法不稳定。
Agent:
npx claudepluginhub easyzoom/aix-skills --plugin aix-skillsUse when bringing up embedded GPIO, UART, SPI, I2C, PWM, ADC, timers, DMA, interrupts, or board-level peripheral functionality
Builds device drivers or protocol handlers for I2C sensors, BLE services, MQTT clients, SPI peripherals using interrupt-driven I/O, HAL abstraction, and error handling in embedded projects.
Build a device driver or protocol handler — I2C sensors, BLE services, MQTT clients, SPI peripherals with interrupt-driven I/O and clean HAL abstraction. Use when asked to "write a driver", "I2C device", "BLE service", "MQTT client", or "sensor integration".