From zephyr-skills
Guides Zephyr RTOS hardware I/O: sensor fetching/triggers, pinctrl/GPIO with Devicetree specs, SoC configs. For sensor apps, pinmux, new peripherals.
npx claudepluginhub beriberikix/zephyr-agent-skills --plugin zephyr-moduleThis skill uses the workspace's default tool permissions.
Interface with the physical world using Zephyr's standardized driver models and hardware abstraction layers.
Delivers Zephyr RTOS foundations: Embedded C patterns (BIT, CONTAINER_OF), concurrency primitives (mutexes, semaphores, spinlocks), devicetree hardware mapping, and defensive programming. For core logic, drivers, troubleshooting.
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".
Develops firmware for microcontrollers like STM32 and ESP32, implements FreeRTOS RTOS applications, configures peripherals, writes interrupt handlers and DMA transfers, optimizes power consumption in real-time systems.
Share bugs, ideas, or general feedback.
Interface with the physical world using Zephyr's standardized driver models and hardware abstraction layers.
Interact with various sensors using a uniform API for data fetching and decoding.
sensor_sample_fetch, sensor_channel_get, struct sensor_value.Manage pin multiplexing, electrical configuration, and basic digital input/output.
pinctrl, gpio_dt_spec, GPIO_DT_SPEC_GET.Tune chip-level parameters and manage hardware across multiple board variants.
Kconfig, soc_common.dtsi, SoC-level overlays.#include <zephyr/drivers/sensor.h>
const struct device *temp_sensor = DEVICE_DT_GET(DT_ALIAS(ambient_temp0));
struct sensor_value val;
void poll_sensor(void) {
if (sensor_sample_fetch(temp_sensor) == 0) {
sensor_channel_get(temp_sensor, SENSOR_CHAN_AMBIENT_TEMP, &val);
}
}
gpio_dt_spec to ensure polarity and pin number are automatically handled by the driver..dtsi to simplify multi-revision hardware support.DEVICE_DT_GET(...) targets are ready at runtime.sensors.md: Reading data, channels, and triggers.pinctrl_gpio.md: Pin multiplexing and GPIO specs.soc_config.md: Multi-variant SoC configuration.gpio_alias_check.py: Alias duplication checker for DTS/overlay sets.sensor_poll_template.c: Polling loop starter template.