Yocto project
Skill prashantdivate/awesome-yocto-ai-agent-skills/yocto-project
Claude Agent Skills for Yocto Project, OpenEmbedded, and BitBake workflows - AI coding assistant skills for recipes, layers, images, BSPs, SDKs, metadata, QA, sstate, and build troubleshooting.
npx -y skills add prashantdivate/awesome-yocto-ai-agent-skills --skill yocto-projectAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Official-doc-first Yocto Project workflow support for AI coding agents. Use when working with Yocto Project, OpenEmbedded, or Poky repositories; creating or modifying layers, recipes, images, SDKs, BSPs, machine or distro configuration, packagegroups, kernel integration, devtool workflows, builds, troubleshooting, release migration, layer compatibility, or files such as bblayers.conf, local.conf, layer.conf, image recipes, packagegroup recipes, machine .conf files, distro .conf files, kas configs, and oe-init-build-env based workspaces.
SKILL.md
3.5 KB, 698 tokens by cl100k_base, as published. Nobody here has run it
Yocto Project
Core Workflow
- Identify the target release before giving commands or editing metadata. Inspect branch names,
conf/layer.conf,LAYERSERIES_COMPAT,bblayers.conf,README,kas*.yml,poky/meta/conf/distro/include/yocto-uninative.inc, or release tags. - Prefer the workspace's own metadata over generic examples. Search existing layers for the same pattern before inventing a new recipe, image feature, class, override, or machine setting.
- Check official docs for version-sensitive behavior. Use yocto_doc_router.py with a topic name for a quick URL map, then open the relevant docs.
- Make the smallest layer-local change that fits Yocto conventions. Avoid editing
poky/or upstream layers unless the user explicitly asks for an upstream patch. - Validate with BitBake-native tools whenever available:
bitbake-layers,bitbake -e,bitbake -c listtasks,bitbake -c cleansstate,devtool,oe-pkgdata-util, or the existing project build wrapper.
Source Priority
Use official sources first:
- Local workspace metadata and build configuration.
- Yocto Project docs:
https://docs.yoctoproject.org/ - BitBake manual:
https://docs.yoctoproject.org/bitbake/ - Yocto source:
https://git.yoctoproject.org/ - OpenEmbedded source:
https://git.openembedded.org/ - OpenEmbedded Layer Index:
https://layers.openembedded.org/
If the user asks for "latest", "current", "supported", "LTS", package versions, release notes, migration rules, or security status, verify online before answering.
Task Routing
- For recipe syntax, tasks, overrides, fetchers, signatures, or
.bbappendmechanics, use$bitbake-metadataas the primary skill and return here for Yocto workflow context. - For layers, images, SDKs, BSPs, distro/machine policy, build setup, package selection, or migration planning, stay in this skill.
- For kernel recipe and device-tree work, inspect existing machine and kernel metadata first, then read the kernel development sections from the official docs.
References
Read only the reference file needed for the task:
- official-sources.md: source list, docs version notes, release/branch selection rules.
- workflows.md: practical workflows for layers, images, SDKs, BSPs, packages, and troubleshooting.
Guardrails
- Do not assume a variable, class, package manager, init system, or override syntax is valid for every Yocto release.
- Do not use random blog snippets as authority when official docs or source metadata answer the question.
- Do not add broad config changes to
local.confwhen a layer, recipe, image, distro, or machine file is the durable location. - Do not paper over build failures with
INSANE_SKIP,BBMASK,COMPATIBLE_MACHINE, or task disabling unless the reason is documented and locally appropriate. - Prefer
.bbappendin the product layer over copying whole upstream recipes.
What ships with it: 4 files
10.1 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml256 B
references/
- official-sources.md3.1 KB
- workflows.md3.5 KB
scripts/
- yocto_doc_router.pyruns3.3 KB