DevNullLtd/Yuzu / .codex/skills/yuzu-build
yuzu-build
UnverifiedConfigure, compile, and test Yuzu with the repo's canonical Meson entrypoints and per-OS build directories. Use when validating code changes, selecting test suites, reconfiguring a build directory, or recovering from host/builddir mismatches on Linux, macOS, or Windows.
Yuzu Build
Start Here
- Use
./scripts/setup.shunless the user explicitly wants rawmeson setup. - Use canonical build directories:
build-linux,build-windows, andbuild-macos. - Use
--testswhen the task needsmeson test. - If
scripts/setup.shreports that a build directory came from another host, re-run with--wipeor a different build directory instead of forcing reuse.
Choose The Path
- On Linux, run
./scripts/setup.sh [--tests]and thenmeson compile -C build-linux. - On macOS, run
./scripts/setup.sh [--tests]and thenmeson compile -C build-macos. - On Windows, invoke
$yuzu-windows-msvcfirst and then usebuild-windows. - Meson resolves the gateway's Erlang/OTP (28.4 or later 28.x) at configure, for the gateway custom target and its tests; source
scripts/ensure-erlang.shonly before runningrebar3orerlby hand.
Choose Tests
- Read
tests/meson.buildto map the change to a suite. - Prefer targeted suites first:
agent,server,echo,proto, anddocs. - Run
meson test -C <builddir> --suite <suite> --print-errorlogs. - Expand to broader coverage only when the change crosses multiple areas or the targeted suite fails unexpectedly.
Invoke Sibling Skills
- Invoke
$yuzu-mesonfor anymeson.build, dependency, or source-list change. - Invoke
$yuzu-protofor any.proto, codegen, or gateway proto mirror change. - Invoke
$yuzu-plugin-abifor SDK or plugin boundary changes. - Invoke
$yuzu-windows-msvcfor any Windows, MSVC, or vcpkg issue.
Read On Demand
scripts/setup.shtests/meson.buildscripts/run-tests.shdocs/windows-build.md
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |