Agent skill
build-system
Build system management for Zephyr RTOS. Covers West workspace initialization, manifest management, Sysbuild multi-image builds, Kconfig symbols, and CMake integration. Trigger when setting up workspaces, configuring builds, or troubleshooting build-time errors.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/build-system
SKILL.md
Zephyr Build System
Efficiently manage the complex build and configuration stack of Zephyr RTOS.
Core Workflows
1. West Workspace & Manifests
Manage multi-repo projects and dependency allow-lists.
- Reference: west.md
- Key Tools:
west init,west update,west manifest --resolve,name-allowlist.
2. Kconfig Configuration
Tune software features and hardware parameters.
- Reference: kconfig.md
- Key Tools:
west build -t menuconfig, symbol searching (/), help (?).
3. Sysbuild & Multi-Image
Configure complex projects like MCUboot + Application.
- Reference: cmake.md
- Key Tools:
west build --sysbuild,sysbuild.conf.
4. CMake & Project Structure
Core build logic for applications and modules.
- Reference: cmake.md
- Key Tools:
CMakeLists.txt,zephyr_library(),target_sources().
Quick Start (Workspace + Build)
west init -m <manifest-repo-url> zephyr-workspace
cd zephyr-workspace
west update
west build -b native_sim samples/hello_world
Validation Checklist
-
west updateresolves all manifest projects without errors. -
west buildsucceeds for at least one known target board. - Required Kconfig symbols are present in
build/zephyr/.config. -
scripts/find_modules.shreports module names that match the current manifest allow-list.
Automation Tools
- find_modules.sh: Scan your
build/directory to automatically identify which modules you should add to your manifest'sname-allowlist.
Examples & Templates
- west_manifest_template.yml: Minimal starter manifest for west workspaces.
Resources
- References:
west.md: West commands, manifests, and allow-lists.kconfig.md: Project configuration and menuconfig usage.cmake.md: Sysbuild and CMake API integration.
- Scripts:
find_modules.sh: Automated allow-list discovery utility.
- Assets:
west_manifest_template.yml: Base west manifest template.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?