{"id":"f02716cc-e47e-40ba-8433-71f442e429db","shortId":"DjXe5m","kind":"skill","title":"build-system","tagline":"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.","description":"# Zephyr Build System\n\nEfficiently manage the complex build and configuration stack of Zephyr RTOS.\n\n## Core Workflows\n\n### 1. West Workspace & Manifests\nManage multi-repo projects and dependency allow-lists.\n- **Reference**: **[west.md](references/west.md)**\n- **Key Tools**: `west init`, `west update`, `west manifest --resolve`, `name-allowlist`.\n\n### 2. Kconfig Configuration\nTune software features and hardware parameters.\n- **Reference**: **[kconfig.md](references/kconfig.md)**\n- **Key Tools**: `west build -t menuconfig`, symbol searching (`/`), help (`?`).\n\n### 3. Sysbuild & Multi-Image\nConfigure complex projects like MCUboot + Application.\n- **Reference**: **[cmake.md](references/cmake.md)**\n- **Key Tools**: `west build --sysbuild`, `sysbuild.conf`.\n\n### 4. CMake & Project Structure\nCore build logic for applications and modules.\n- **Reference**: **[cmake.md](references/cmake.md)**\n- **Key Tools**: `CMakeLists.txt`, `zephyr_library()`, `target_sources()`.\n\n## Quick Start (Workspace + Build)\n```bash\nwest init -m <manifest-repo-url> zephyr-workspace\ncd zephyr-workspace\nwest update\nwest build -b native_sim samples/hello_world\n```\n\n## Validation Checklist\n- [ ] `west update` resolves all manifest projects without errors.\n- [ ] `west build` succeeds for at least one known target board.\n- [ ] Required Kconfig symbols are present in `build/zephyr/.config`.\n- [ ] `scripts/find_modules.sh` reports module names that match the current manifest allow-list.\n\n## Automation Tools\n\n- **[find_modules.sh](scripts/find_modules.sh)**: Scan your `build/` directory to automatically identify which modules you should add to your manifest's `name-allowlist`.\n\n## Examples & Templates\n\n- **[west_manifest_template.yml](assets/west_manifest_template.yml)**: Minimal starter manifest for west workspaces.\n\n## Resources\n\n- **[References](references/)**:\n  - `west.md`: West commands, manifests, and allow-lists.\n  - `kconfig.md`: Project configuration and menuconfig usage.\n  - `cmake.md`: Sysbuild and CMake API integration.\n- **[Scripts](scripts/)**:\n  - `find_modules.sh`: Automated allow-list discovery utility.\n- **[Assets](assets/)**:\n  - `west_manifest_template.yml`: Base west manifest template.","tags":["build","system","zephyr","agent","skills","beriberikix","agent-skills","agentic-coding","zephyr-rtos"],"capabilities":["skill","source-beriberikix","skill-build-system","topic-agent-skills","topic-agentic-coding","topic-zephyr-rtos"],"categories":["zephyr-agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/beriberikix/zephyr-agent-skills/build-system","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add beriberikix/zephyr-agent-skills","source_repo":"https://github.com/beriberikix/zephyr-agent-skills","install_from":"skills.sh"}},"qualityScore":"0.462","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 25 github stars · SKILL.md body (2,205 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-24T07:01:41.455Z","embedding":null,"createdAt":"2026-04-18T23:04:51.471Z","updatedAt":"2026-04-24T07:01:41.455Z","lastSeenAt":"2026-04-24T07:01:41.455Z","tsv":"'1':55 '2':84 '3':105 '4':125 'add':223 'allow':67,206,250,269 'allow-list':66,205,249,268 'allowlist':83,230 'api':262 'applic':115,133 'asset':273,274 'assets/west_manifest_template.yml':234 'autom':208,267 'automat':217 'b':165 'base':276 'bash':150 'board':188 'build':2,4,20,32,36,40,46,99,122,130,149,164,180,214 'build-system':1 'build-tim':35 'build/zephyr/.config':195 'cd':157 'checklist':170 'cmake':24,126,261 'cmake.md':117,137,258 'cmakelists.txt':141 'command':246 'complex':45,111 'configur':31,48,86,110,254 'core':53,129 'cover':10 'current':203 'depend':65 'directori':215 'discoveri':271 'effici':42 'error':38,178 'exampl':231 'featur':89 'find_modules.sh':210,266 'hardwar':91 'help':104 'identifi':218 'imag':19,109 'init':75,152 'initi':13 'integr':25,263 'kconfig':21,85,190 'kconfig.md':94,252 'key':72,96,119,139 'known':186 'least':184 'librari':143 'like':113 'list':68,207,251,270 'logic':131 'm':153 'manag':6,15,43,59 'manifest':14,58,79,175,204,226,237,247,278 'match':201 'mcuboot':114 'menuconfig':101,256 'minim':235 'modul':135,198,220 'multi':18,61,108 'multi-imag':17,107 'multi-repo':60 'name':82,199,229 'name-allowlist':81,228 'nativ':166 'one':185 'paramet':92 'present':193 'project':63,112,127,176,253 'quick':146 'refer':69,93,116,136,242,243 'references/cmake.md':118,138 'references/kconfig.md':95 'references/west.md':71 'repo':62 'report':197 'requir':189 'resolv':80,173 'resourc':241 'rtos':9,52 'samples/hello_world':168 'scan':212 'script':264,265 'scripts/find_modules.sh':196,211 'search':103 'set':28 'sim':167 'skill' 'skill-build-system' 'softwar':88 'sourc':145 'source-beriberikix' 'stack':49 'start':147 'starter':236 'structur':128 'succeed':181 'symbol':22,102,191 'sysbuild':16,106,123,259 'sysbuild.conf':124 'system':3,5,41 'target':144,187 'templat':232,279 'time':37 'tool':73,97,120,140,209 'topic-agent-skills' 'topic-agentic-coding' 'topic-zephyr-rtos' 'trigger':26 'troubleshoot':34 'tune':87 'updat':77,162,172 'usag':257 'util':272 'valid':169 'west':11,56,74,76,78,98,121,151,161,163,171,179,239,245,277 'west.md':70,244 'west_manifest_template.yml':233,275 'without':177 'workflow':54 'workspac':12,30,57,148,156,160,240 'zephyr':8,39,51,142,155,159 'zephyr-workspac':154,158","prices":[{"id":"1d937fd3-5362-41fe-accd-6c51b4b57d31","listingId":"f02716cc-e47e-40ba-8433-71f442e429db","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"beriberikix","category":"zephyr-agent-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T23:04:51.471Z"}],"sources":[{"listingId":"f02716cc-e47e-40ba-8433-71f442e429db","source":"github","sourceId":"beriberikix/zephyr-agent-skills/build-system","sourceUrl":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/build-system","isPrimary":false,"firstSeenAt":"2026-04-18T23:04:51.471Z","lastSeenAt":"2026-04-24T07:01:41.455Z"}],"details":{"listingId":"f02716cc-e47e-40ba-8433-71f442e429db","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"beriberikix","slug":"build-system","github":{"repo":"beriberikix/zephyr-agent-skills","stars":25,"topics":["agent-skills","agentic-coding","zephyr-rtos"],"license":"apache-2.0","html_url":"https://github.com/beriberikix/zephyr-agent-skills","pushed_at":"2026-04-20T21:40:18Z","description":"A complete catalog of Agent Skills (agentskills.io) for Zephyr RTOS development.","skill_md_sha":"3539f568f58fea127aea33d4dc03ca41843d5b2c","skill_md_path":"skills/build-system/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/build-system"},"layout":"multi","source":"github","category":"zephyr-agent-skills","frontmatter":{"name":"build-system","description":"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."},"skills_sh_url":"https://skills.sh/beriberikix/zephyr-agent-skills/build-system"},"updatedAt":"2026-04-24T07:01:41.455Z"}}