Skip to content
protobuf.kmcd.dev

Practice

Protobuf Practice

Short schema exercises with live compiler feedback. Edit the proto, satisfy the checks, and move on to the next case.

WORKFLOW
1. Edit the schema

Work directly in a proto editor with the broken schema loaded.

2. Compile live

Syntax errors appear as you type, before the exercise checks run.

3. Pass descriptor checks

The compiled descriptor is checked for the specific rule the exercise is teaching.

Covered topics
  • Tag numbers & field styles
  • Varint integer optimizations
  • Compatibility & reserved tags
  • Optionality & field presence
  • Oneof groups & polymorphism
  • Standard library imports
8 exercises // about 15 minutes