/trogonstack-protobuf:protobuf-design-messagesfrom trogonstack-protobuf
Designs or reviews protobuf message and field definitions including naming for JSON consumers, identifier value objects, enums, presence, validation, and file/service layout. Use when writing or reviewing .proto files.
Ships in trogonstack-protobuf. 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.
Read when SKILL.md points to them.
A .proto file is read by more than the compiler: ProtoJSON consumers see only field names, never types, and reviewers see only names and comments, never runtime behavior. A field, message, or enum that relies on tribal knowledge to interpret correctly is a defect, not a style nit. Apply the principles below in order; a design that fails an earlier one makes the later ones moot.
Run buf format -w and buf lint (with STANDARD, buf's default) before anything below, and fix every finding the tool reports. Naming case, file/package/directory layout, enum zero-value and prefix conventions, service and RPC naming, and element ordering are mechanical checks a linter makes faster and more reliably than a manual pass; do not re-check them by hand. The principles below cover what buf lint has no way to judge: whether a name means what it says, whether a value is a primitive in disguise, and whether a shape fits the domain.
<ENUM>_UNSPECIFIED, code must reject it, and a boolean that might need a third state should be an enum instead.protovalidate constraints are schema-level tools with real limits; some invariants need live state and belong in the service.lower_snake_case, a service in <name>_service.proto named <Name>Service, and its own <Method>Request and <Method>Response for every RPC.| When you are... | Load |
|---|---|
| Naming a field that is an identifier, structured reference, or hierarchy position | references/json-field-naming.md |
| Defining an identifier, or a reference to another resource | references/identifiers-and-references.md |
| Defining a pointer to content stored out of line | references/claim-checks.md |
| Defining a quantity, a monetary amount, or an instant in time | references/units-money-and-time.md |
| Defining an enum, naming its values, or designing a preset/option field | references/enums-and-presets.md |
Deciding whether a field should be required, or writing a buf.validate constraint | references/presence-and-validation.md |
| Designing commands, events, state, or faults for an event-sourced resource | references/event-sourced-contracts.md |
| A field, message, or package name echoes a term used elsewhere for a different concept | references/naming-collisions.md |
Creating a .proto file, adding a service, or naming RPC request and response messages | references/file-layout.md |
Wanting to see every principle applied in one complete .proto package | references/example-project-schema.md |
| Reviewing or auditing an existing schema | references/review-checklist.md |
references/claim-checks.md (opens in a new tab)references/enums-and-presets.md (opens in a new tab)references/event-sourced-contracts.md (opens in a new tab)references/example-project-schema.md (opens in a new tab)references/file-layout.md (opens in a new tab)references/identifiers-and-references.md (opens in a new tab)references/json-field-naming.md (opens in a new tab)references/naming-collisions.md (opens in a new tab)references/presence-and-validation.md (opens in a new tab)references/review-checklist.md (opens in a new tab)references/units-money-and-time.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
protobuf, message-design, field-naming, enum-design, proto-file-layout
npx claudepluginhub trogonstack/agentskills --plugin trogonstack-protobuf2 skills in this plugin
Other plugins' skills for the same job