AGENT SKILL

grpc-and-protobuf

Design and evolve gRPC services and Protocol Buffer contracts with compatibility and clarity in mind. Use when defining internal or external RPC APIs using gRPC/Protobuf.

License 许可
MIT
最近更新
2026-07-22
Stars
★ 7
Forks
1

01 前言 Front Matter

name
grpc-and-protobuf
description
Design and evolve gRPC services and Protocol Buffer contracts with compatibility and clarity in mind. Use when defining internal or external RPC APIs using gRPC/Protobuf.

03 SKILL.md 正文

gRPC and Protocol Buffers

Overview

gRPC + Protobuf provide efficient, strongly-typed RPCs. Compatibility discipline is critical because binary contracts are less forgiving than JSON.

When to Use

  • Designing internal service-to-service APIs
  • High-performance or polyglot RPC needs
  • Reviewing .proto files and breaking-change risks

Key Practices

  • Follow Protobuf best practices for field numbers and reserved fields
  • Prefer additive, backward-compatible changes
  • Use reserved for removed fields/numbers
  • Document expected error model (status codes + details)
  • Consider streaming use cases deliberately (unary vs server/client/bidi)
  • Generate code and keep stubs in sync via CI

Compatibility Rules (High Level)

  • Do not reuse field numbers
  • Do not change field types in incompatible ways
  • Mark fields as reserved when removing them
  • Be cautious with required fields (proto3 optional semantics)

Verification

  • Breaking changes are detected (buf breaking / similar)
  • Generated code is up to date
  • Error handling is consistent across services

04 同仓库更多 Skills

itsual
itsual/agent-skills-collection

win-loss-analysis

Analyze won and lost deals to learn why buyers choose you or alternatives — and feed insights into product, marketing, and sales. Use when improving win rates, refining positioning, or diagnosing systematic deal losses.

★ 7
itsual
itsual/agent-skills-collection

social-selling

Use social platforms to build relationships, share insight, and open sales conversations without hard-sell spam. Use when prospecting via LinkedIn or similar networks, or building a seller’s professional presence.

★ 7
itsual
itsual/agent-skills-collection

sales-strategy

Define sales strategy — target segments, motions, capacity, and goals — that aligns with product, marketing, and revenue targets. Use when designing go-to-market sales motions, choosing PLG vs sales-led balance, or planning sales org structure.

★ 7
itsual
itsual/agent-skills-collection

sales-playbooks

Create sales playbooks that codify how to win specific segments, use cases, or competitive situations with repeatable process and talk tracks. Use when standardizing successful motions, onboarding reps, or scaling what top performers do.

★ 7
itsual
itsual/agent-skills-collection

sales-enablement

Equip sales teams with the content, training, tools, and processes they need to sell effectively and consistently. Use when building enablement programs, onboarding reps, or improving win rates through better readiness.

★ 7
itsual
itsual/agent-skills-collection

sales-compensation-basics

Design or evaluate sales compensation plans that align seller behavior with company revenue goals and are simple enough to motivate. Use when creating comp plans, diagnosing misaligned incentives, or explaining plan mechanics to reps.

★ 7