Zephyr module

From beriberikix/zephyr-agent-skills · View interactive version

Zephyr module is an AI agent skill from the GitHub repository beriberikix/zephyr-agent-skills. Creating and integrating out-of-tree Zephyr modules. Covers module.yml configuration, Kconfig and CMake integration within a module, and West manifest inclusion. Trigger when developing reusable libraries, driver packages, or external software components for Zephyr.

How to use this skill

Skill file

Zephyr Modules

Extend the Zephyr RTOS with reusable, out-of-tree modules that integrate seamlessly with the build system.

Core Workflows

1. Defining a Module

Create the directory structure and metadata required for auto-discovery.

2. West Manifest Integration

Adding your module to a workspace for distribution and versioning.

3. Library Wrapping (Glue Code)

Wrapping external C/C++ libraries as Zephyr modules.

Quick Start (module.yml)

build:
  cmake: .
  kconfig: zephyr/Kconfig

Validation Checklist

Automation Tools

Examples & Templates

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.