Skip to content
Back to skills

Yuzu Proto

ASecurity

Maintain Yuzu's protobuf wire contracts, code generation, and gateway proto mirrors. Use when editing `.proto` files, `proto/gen_proto.py`, `proto/meson.build`, `proto/buf.yaml`, or any file under `gateway/priv/proto`.

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 16, 2026
devopsrustc++gitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add DevNullLtd/Yuzu --skill yuzu-proto --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yuzu Proto?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yuzu Proto
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/devnullltd-yuzu-proto/badge)](https://www.skillsdirectory.com/skills/devnullltd-yuzu-proto)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yuzu-proto
description: Maintain Yuzu's protobuf wire contracts, code generation, and gateway proto mirrors. Use when editing `.proto` files, `proto/gen_proto.py`, `proto/meson.build`, `proto/buf.yaml`, or any file under `gateway/priv/proto`.
---

# Yuzu Proto

## Own The Canonical Sources

- Treat `proto/yuzu/**` as the canonical wire contract.
- Treat `gateway/priv/proto/**` as gateway mirror files consumed by rebar3 and gpb from `gateway/rebar.config`.
- Keep both gateway mirror layouts aligned: nested `gateway/priv/proto/yuzu/**` and flat `gateway/priv/proto/*.proto`.
- Do not trust mirror files to already be current. They have drifted before.

## Preserve Compatibility

- Preserve field numbers.
- Do not remove fields or change field types.
- Never delete anything from a `.proto` (field, oneof, enum value, message, enum, rpc, service, file), even with `reserved` — owner ruling 2026-10-26 (#6555). Retire an item by ceasing to use it and marking it `[deprecated = true]` / `option deprecated = true;` where protobuf has that option (a oneof has none: deprecate its fields). Moving a type to another file counts as a deletion. `proto/buf.yaml` enforces this with the `*_NO_DELETE` breaking rules.
- `deprecated` is metadata only. A security-motivated RPC retirement must also remove every handler that serves it: the server's, the gateway's, and any upstream RPC the gateway forwards it through (each removed handler then answers UNIMPLEMENTED). A deletion that reaches dev is reverted; a deliberate removal needs a new owner ruling and the scoped `ignore_only` procedure in `proto/buf.yaml`. protoc marks a deprecated field's C++ accessors `[[deprecated]]`, so code that still reads it during a mixed-version window will warn.
- Treat `buf breaking` as the baseline contract check, not an optional extra.

## Preserve Codegen Behavior

- Update `proto/meson.build` if a canonical proto file is added, removed, or renamed.
- Preserve `proto/gen_proto.py` header-flattening behavior unless all C++ include sites are being updated intentionally.
- Rebuild both C++ and gateway consumers after changing a wire contract.

## Sync And Validate

- Edit the canonical proto first.
- Propagate the same schema to every gateway mirror file before validating.
- Run `buf lint proto`.
- Run `buf breaking proto --against '.git#subdir=proto,ref=origin/main'` when repository history is available.
- Rebuild the proto library and any affected gateway consumers.

## Invoke Sibling Skills

- Invoke `$yuzu-meson` if the proto target list or build graph changes.
- Invoke `$yuzu-build` for compile and suite selection.

## Read On Demand

- `proto/yuzu/**`
- `proto/meson.build`
- `proto/gen_proto.py`
- `proto/buf.yaml`
- `gateway/rebar.config`
- `gateway/priv/proto/**`

Files in this skill

  • SKILL.md2.7 KB
  • agents/openai.yaml217 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.