/yoe:update-unitfrom yoe
Bumps a unit to the latest upstream version, updating version, tag, and sha256, checking patches and dependencies, and verifying with a test build.
Ships in yoe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bump an existing unit to the latest upstream release. Updates the version, tag, and sha256 (if applicable), checks for patch conflicts or dependency changes, and verifies with a test build.
Find and read the unit's .star file:
Glob: modules/**/units/**/<name>.star
Note the current version, source URL, tag format, and any patches.
Determine the latest stable release from the upstream source:
Identify the new version number and the corresponding tag name. Match the
existing tag format (e.g., if current is V_9_9_P1, the new tag should follow
the same convention like V_9_9_P2).
Check how other distributions have handled the version bump. This helps identify new dependencies, removed features, or required patch updates:
makedepends or configure flag changesAlso review the upstream changelog/release notes for breaking changes, new dependencies, or removed features that might affect the build.
Modify the .star file:
version to the new version stringtag to match the new release tagsha256 if the unit uses tarball sourcesdeps or configure_args if the new version requires changesIf the unit has patches, verify they still apply to the new version. Check
build/<distro>/<unit>/src/ after source preparation for .rej files (the
build tree is segmented by distro — build/alpine/..., build/debian/... — and
<unit> carries its arch suffix). If patches conflict:
Build the updated unit:
yoe build --clean <unit-name>
Use --clean to ensure a fresh build from the new source. If the unit builds
under more than one distro, add --distro <distro> to target each. If the build
fails, read the log with yoe log <unit-name> (or
build/<distro>/<unit>/build.log) and use the diagnose workflow to fix it
iteratively.
After the unit builds, check if artifacts that depend on it still build:
yoe refs <unit-name>
Build any direct dependents to catch API/ABI breakage:
yoe build --force <dependent-unit>
Summarize what changed:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yoebuild/yoe --plugin yoe6 skills in this plugin
/audit-unitThis skill should be used when the user asks to "audit a unit", "review a unit", "check a unit", "/audit-unit", or wants to verify that a unit follows best practices and has no common issues. Reviews a unit for correctness, completeness, and quality.
/diagnoseThis skill should be used when the user asks to "diagnose a build failure", "debug a unit", "debug <unit>", "debug some unit", "fix a build", "why did the build fail", "/diagnose", or mentions a unit that failed to build. Iteratively analyzes build logs, identifies root causes, applies fixes, and rebuilds until the unit succeeds.
/new-unitThis skill should be used when the user asks to "create a unit", "add a unit", "new unit", "package something", "/new-unit", or provides a URL or project name to be packaged for Yoe. Generates a complete Starlark .star unit file from a source URL or description.
/pulling-alpine-packagesUse when a build needs a tool or library that Alpine Linux already packages (cross compilers, niche build tools, language runtimes without a source unit) and the instinct is to write a from-source unit. Triggers: missing-tool build errors, foreign-arch cross toolchain needs (e.g. armv7-R, riscv), questions about whether `module-alpine` already has package X, or "/pull-alpine".
/serial-consoleThis skill should be used when a board is attached to the host and the user asks what it printed, whether it booted, why it stopped at U-Boot or a kernel panic, to "check the serial console", "watch the board boot", "send a command to the board", "/serial-console", or when a build or deploy needs to be verified on real hardware. Reads and drives the board's serial console through `yoe serial`.
Other plugins' skills for the same job