Install
openclaw skills install protobuf-linterLint Protocol Buffer (.proto) files for style, naming conventions, breaking changes, and best practices. Supports proto2 and proto3 syntax with 24 rules across structure, naming, security, and compatibility categories.
openclaw skills install protobuf-linterLint .proto files for style violations, naming issues, breaking changes, and best practices.
# Lint a proto file (all rules)
python3 scripts/protobuf_linter.py lint path/to/file.proto
# Check naming conventions only
python3 scripts/protobuf_linter.py naming path/to/file.proto
# Check for breaking changes between two versions
python3 scripts/protobuf_linter.py breaking path/to/old.proto path/to/new.proto
# Validate syntax and structure
python3 scripts/protobuf_linter.py validate path/to/file.proto
# Lint a directory recursively
python3 scripts/protobuf_linter.py lint path/to/protos/ --recursive
# JSON output
python3 scripts/protobuf_linter.py lint path/to/file.proto --format json
# Summary only
python3 scripts/protobuf_linter.py lint path/to/file.proto --format summary