agentsclimarketplace

Yocto layer review

Skill Higangssh/yocto-agent-skills/skills/yocto-layer-review

Review Yocto/OpenEmbedded layer structure, layer.conf, BBFILE collections and patterns, LAYERSERIES_COMPAT, LAYERDEPENDS, BBFILE_PRIORITY, BBFILES_DYNAMIC, bbappend matching, overlayed recipes, provider selection, and layer compatibility. Use for layer creation, layer migration, layer review, or when a bbappend/recipe is not being applied.From its SKILL.md

Install
npx -y skills add Higangssh/yocto-agent-skills --skill yocto-layer-review

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

  • 6 stars6 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

2.4 KB, as published. Nobody here has run it

Yocto Layer Review

Use this skill to review layers and diagnose metadata visibility problems. Layer issues often look like recipe, provider, or package failures; prove whether BitBake sees the metadata first.

Required Evidence

Ask for or inspect:

conf/layer.conf
conf/bblayers.conf
bitbake-layers show-layers
bitbake-layers show-recipes <recipe>
bitbake-layers show-appends
bitbake-layers show-overlayed

Layer Checklist

Review:

BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "mylayer"
BBFILE_PATTERN_mylayer = "^${LAYERDIR}/"
BBFILE_PRIORITY_mylayer = "6"
LAYERSERIES_COMPAT_mylayer = "scarthgap wrynose"
LAYERDEPENDS_mylayer = "core"

Check:

  • collection name is unique and stable
  • LAYERSERIES_COMPAT_* matches the target release
  • required layers are declared with LAYERDEPENDS_*
  • recipe and append globs cover intended files
  • BBFILE_PRIORITY_* is not used to hide provider/version policy problems
  • optional bbappends use BBFILES_DYNAMIC when the target layer may be absent
  • .bbappend filename matches an existing recipe version or intentionally uses %

Common Problems

  • layer is present in the tree but missing from bblayers.conf
  • .bbappend silently not applied due to recipe version mismatch
  • collection name in BBFILES_DYNAMIC does not match target layer collection
  • layer priority causes a recipe to win unexpectedly
  • vendor BSP layer pins an older release and rejects modern syntax
  • dependency layer missing even though a recipe path exists locally

References

Output

Answer with:

  1. whether BitBake sees the layer and append
  2. exact layer.conf or filename issue
  3. metadata visibility command to prove it
  4. minimal fix
  5. validation command

What ships with it: 3 files

22.3 KB alongside SKILL.md

Gives 0 of the 12 instructions most review quality skills give

Counted across 1,273 of the 2,403 authors here whose files we hold, read 2026-09-06

  • Ask one question at a timein 63 of 1273, across 62 files
  • Provide a recommended answer for each questionin 47 of 1273, across 45 files
  • Rank findings by severityin 44 of 1273
  • Use parameterized queries for database accessin 38 of 1273, across 20 files
  • Validate all user input with schemasin 33 of 1273, across 15 files
  • Store secrets in environment variablesin 32 of 1273, across 14 files
  • Explore the codebase to answer questionsin 31 of 1273, across 29 files
  • Store tokens in httpOnly cookiesin 30 of 1273, across 12 files
  • Implement rate limiting on API endpointsin 30 of 1273, across 12 files
  • Sanitize user-provided HTMLin 29 of 1273, across 11 files
  • Return generic error messages to usersin 28 of 1273, across 10 files
  • Cite file and line for every findingin 28 of 1273, across 25 files

Said here and by no other author read

  • Verify layer presence in bblayers.conf
  • Check LAYERSERIES_COMPAT matches target release
  • Validate LAYERDEPENDS declarations
  • Confirm BBFILES globs cover intended files
  • Use BBFILES_DYNAMIC for optional bbappends
  • Ensure bbappend filenames match recipe versions

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.

Keep looking

Skills are one crate of 626,194. 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.