agentsclimarketplace

Bitbake metadata

Skill prashantdivate/awesome-yocto-ai-agent-skills/bitbake-metadata

Official-doc-first BitBake metadata support for AI coding agents. Use when inspecting, creating, editing, or debugging BitBake recipes, appends, classes, include files, configuration, tasks, variables, overrides, fetchers, signatures, sstate, dependency graphs, parse errors, QA errors, or files ending in .bb, .bbappend, .bbclass, .inc, .conf, plus metadata inside conf/, classes/, recipes-*/, and layer.conf.From its SKILL.md

Install
npx -y skills add prashantdivate/awesome-yocto-ai-agent-skills --skill bitbake-metadata

Assembled 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.

SKILL.md

3.0 KB, 600 tokens by cl100k_base, as published. Nobody here has run it

BitBake Metadata

Core Workflow

  1. Determine the release and BitBake version from the workspace before applying syntax guidance. Check bitbake --version, branch names, LAYERSERIES_COMPAT, and the docs selected by the parent Yocto release.
  2. Inspect existing metadata first. Search for the recipe, provider, class, variable, override, task, and package name across all configured layers.
  3. Read official docs for the exact mechanism. Use bitbake_doc_router.py with a topic name to choose a starting URL.
  4. Explain metadata changes in terms of parse-time effects, task effects, package effects, and signature/sstate effects.
  5. Validate with BitBake introspection rather than assumptions.

Introspection Commands

Use the project wrapper if one exists. Otherwise, after sourcing the build environment:

bitbake-layers show-layers
bitbake-layers show-recipes RECIPE
bitbake-layers show-appends
bitbake -e RECIPE | less
bitbake -c listtasks RECIPE
bitbake -g RECIPE
bitbake-dumpsig SIGDATA_OR_SIGINFO
bitbake-diffsigs SIGDATA_A SIGDATA_B

For targeted variable checks, prefer bitbake -e RECIPE and search for the final assignment plus history comments.

Metadata Editing Rules

  • Preserve local style for variable operators, override order, indentation, and layer layout.
  • Prefer :append, :prepend, and :remove override syntax for modern releases, but verify old-release syntax before changing legacy branches.
  • Keep machine, distro, image, and recipe concerns in their correct files.
  • Use .bbappend when changing recipes from another layer.
  • Keep checksums, licenses, and SRC_URI changes explicit and reviewable.
  • Do not set PREFERRED_PROVIDER, PREFERRED_VERSION, BBMASK, or global variables without checking blast radius.

References

Read only the reference file needed for the task:

Guardrails

  • Do not quote outdated underscore override syntax as current without release context.
  • Do not guess final variable values from recipe text alone; BitBake metadata is layered and override-sensitive.
  • Do not silence QA or license checks without identifying the actual package/file/license issue.
  • Do not remove dependencies only because the immediate task builds; check runtime packaging and image consequences.

What ships with it: 5 files

10.5 KB alongside SKILL.md, 1 of them executable

agents/

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.