DevNullLtd/Yuzu / .codex/skills/yuzu-meson
yuzu-meson
UnverifiedMaintain Yuzu's Meson build graph, source lists, dependency wiring, and platform conditionals. Use when editing any `meson.build`, adding or removing source files, changing dependencies, updating native or cross files, or adjusting CI build behavior.
Yuzu Meson
Scope The Change
- Read root
meson.buildand every affected subdirectorymeson.buildbefore editing. - Treat Meson as the only project build system. Do not add project
CMakeLists.txtfiles. - Treat
.github/workflows/ci.yml,scripts/setup.sh, andmeson/native/*ormeson/cross/*as part of the same build contract when toolchain expectations change.
Keep The Graph Correct
- Add every new
.cppfile to the correct target. - Remove or rename files in the same edit as the code move.
- Keep
build_agent,build_server,build_testsgating intact.build_examplesgates ONLY the four decorative demo plugins (example,chargen,procfetch,netprobe) — a new real plugin'ssubdir()call goes unconditionally underif build_agent, never inside thebuild_examplesblock. - Preserve
include_type: 'system'on third-party dependencies. - Use existing
host_machine.system()patterns for conditional sources and flags.
Preserve Platform Rules
- Preserve the macOS framework pattern in root
meson.buildwhen transport or HTTP dependencies change. - Treat the Windows protobuf and grpc branch in root
meson.buildas load-bearing. Invoke$yuzu-windows-msvcinstead of simplifying it opportunistically. - Keep
scripts/setup.shaligned with any change that alters canonical build directories, triplets, or reconfigure behavior.
Validate
- Reconfigure with
./scripts/setup.shormeson setup --reconfigure. - Compile the affected build directory.
- Run the narrowest relevant test suites after the compile is clean.
Read On Demand
meson.build- affected
*/meson.build scripts/setup.sh.github/workflows/ci.ymlmeson/native/*meson/cross/*
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |