zephyr-foundations
CommunityBuild robust Zephyr apps with solid foundations.
Authorberiberikix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured set of foundational Zephyr RTOS patterns and best practices, enabling developers to write reliable, idiomatic embedded C that scales.
Core Features & Use Cases
- Idiomatic C Patterns: Master macros and patterns like CONTAINER_OF, BIT, GENMASK, and container-based data structures; map hardware with device trees using standard conventions.
- Real-Time Concurrency: Use safe synchronization primitives (k_mutex, k_sem, k_spinlock), ISR-safe coding, and atomic operations to build responsive, deterministic drivers and tasks.
- Hardware Literacy (Devicetree): Understand how hardware topology and overlays drive driver behavior, with proper use of nodes, properties, phandles, and overlays.
- Robust Error Handling: Apply defensive coding with BUILD_ASSERT, parameter validation, and disciplined return code handling to prevent crashes.
Quick Start
Review the template_driver.c in assets/foundation_examples as a complete skeleton, then consult the references for macros and concurrency primitives to adapt the patterns to your specific driver or core logic task.
Dependency Matrix
Required Modules
None requiredComponents
referencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: zephyr-foundations Download link: https://github.com/beriberikix/zephyr-agent-skills/archive/main.zip#zephyr-foundations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.