Agent skill

Generating Grpc Services

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers.

MITAuto-check passedBackend & APIs

Install Generating Grpc Services

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-grpc-services -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace generating-grpc-services --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/generating-grpc-services .claude/skills/generating-grpc-services && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
generating-grpc-services
GitHub stars
2.8k
Token cost
~1.3k tokens
SKILL.md length
514 words
Files
4 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers.

  • Works in 9 steps: Read existing .proto files using Glob… → Define proto3 message types with… → Compile .proto files with protoc to… → …
  • Creating high-performance gRPC services
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Generating Grpc Services is an agent skill from jeremylongshore/tons-of-skills-marketplace. Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/errors.md`, `references/examples.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering gRPC and Protobuf. It works with gRPC. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Creating high-performance gRPC services
  • With phrases like generate gRPC service
  • Create gRPC API
  • Build gRPC server

Example prompts

  • “generate gRPC service”
  • “create gRPC API”
  • “build gRPC server”
  • “/generating-grpc-services”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(api:grpc-*)

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Read existing .proto files using Glob and Read, or design new service definitions with message types, RPC methods, and streaming patterns…
  2. Define proto3 message types with appropriate field types, using google.protobuf.Timestamp for dates, google.protobuf.Struct for dynamic…
  3. Compile .proto files with protoc to generate language-specific stubs, server interfaces, and client libraries using the appropriate gRPC…
  4. Implement server-side RPC handlers for each method, returning proper gRPC status codes (OK, NOT_FOUND, INVALID_ARGUMENT…
  5. Add server interceptors for authentication (extracting JWT from metadata), request logging with correlation IDs, and deadline propagation…
  6. Implement health check service (grpc.health.v1.Health) and reflection service for runtime introspection by tools like grpcurl.
  7. Configure TLS transport security, preferring mutual TLS (mTLS) for service-to-service communication with certificate rotation support.
  8. Write integration tests using an in-process test server, validating all RPC methods including streaming scenarios with multiple messages…
  9. Generate a REST-to-gRPC gateway using grpc-gateway annotations for HTTP/JSON clients that need to access gRPC services.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(api:grpc-*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • grpc.io
    • protobuf.dev
    • buf.build
    • grpc-ecosystem.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Generating Grpc Services loads about 1.3k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 514 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 514 words, ~1,314 tokens.

Download SKILL.mdSave it as .claude/skills/generating-grpc-services/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
generating-grpc-services
description
Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(api:grpc-*)
compatibility
Designed for Claude Code
version
1.23.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
api, performance, grpc-services

Generating gRPC Services

Overview

Generate gRPC service definitions, client/server stubs, and implementations from Protocol Buffer (protobuf) .proto files. Scaffold unary, server-streaming, client-streaming, and bidirectional-streaming RPC methods with proper error status codes, interceptors for auth/logging, and health check service registration.

Prerequisites

  • Protocol Buffers compiler (protoc) v3.21+ installed
  • Language-specific gRPC plugin: grpc_tools_node_protoc_plugin (Node.js), grpcio-tools (Python), or Go gRPC plugin
  • buf CLI for proto linting and breaking change detection (recommended)
  • gRPC testing tool: grpcurl, evans, or BloomRPC
  • TLS certificates for production transport security (mTLS recommended for service-to-service)

Instructions

  1. Read existing .proto files using Glob and Read, or design new service definitions with message types, RPC methods, and streaming patterns per service requirements.
  2. Define proto3 message types with appropriate field types, using google.protobuf.Timestamp for dates, google.protobuf.Struct for dynamic fields, and oneof for polymorphic messages.
  3. Compile .proto files with protoc to generate language-specific stubs, server interfaces, and client libraries using the appropriate gRPC plugin.
  4. Implement server-side RPC handlers for each method, returning proper gRPC status codes (OK, NOT_FOUND, INVALID_ARGUMENT, PERMISSION_DENIED) instead of generic errors.
  5. Add server interceptors for authentication (extracting JWT from metadata), request logging with correlation IDs, and deadline propagation across service calls.
  6. Implement health check service (grpc.health.v1.Health) and reflection service for runtime introspection by tools like grpcurl.
  7. Configure TLS transport security, preferring mutual TLS (mTLS) for service-to-service communication with certificate rotation support.
  8. Write integration tests using an in-process test server, validating all RPC methods including streaming scenarios with multiple messages and error conditions.
  9. Generate a REST-to-gRPC gateway using grpc-gateway annotations for HTTP/JSON clients that need to access gRPC services.

See ${CLAUDE_SKILL_DIR}/references/implementation.md for the full implementation guide.

Output

  • ${CLAUDE_SKILL_DIR}/proto/ - Protocol Buffer service and message definitions
  • ${CLAUDE_SKILL_DIR}/generated/ - Auto-generated stubs and client/server code
  • ${CLAUDE_SKILL_DIR}/src/services/ - RPC method handler implementations
  • ${CLAUDE_SKILL_DIR}/src/interceptors/ - Auth, logging, and metrics interceptors
  • ${CLAUDE_SKILL_DIR}/src/health/ - Health check service implementation
  • ${CLAUDE_SKILL_DIR}/gateway/ - REST-to-gRPC gateway configuration (optional)
  • ${CLAUDE_SKILL_DIR}/tests/ - Integration tests with in-process test server
Show full SKILL.md (200 more words)Show less

Error Handling

ErrorCauseSolution
INVALID_ARGUMENT (3)Request message fails field validation constraintsReturn detailed BadRequest error details with field-level violation descriptions
NOT_FOUND (5)Requested resource does not existInclude resource type and ID in error message metadata for client debugging
PERMISSION_DENIED (7)Caller lacks required role or scope in JWT metadataReturn required permission in error details; log denied access attempt
DEADLINE_EXCEEDED (4)RPC took longer than client-specified deadlinePropagate deadlines to downstream calls; implement cascading timeout budgets
UNAVAILABLE (14)Server overloaded or downstream dependency unreachableClient should retry with exponential backoff; server should implement backpressure

Refer to ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error patterns.

Examples

User management service: Define UserService with CreateUser, GetUser, ListUsers (server-streaming for large result sets), and UpdateUser RPCs with field mask support for partial updates.

Real-time event stream: Bidirectional streaming RPC where clients subscribe to event topics and the server pushes filtered events, with flow control via client-side backpressure signals.

gRPC-Web frontend: Generate gRPC-Web compatible stubs for browser clients using Envoy proxy for HTTP/2 to gRPC translation, enabling direct proto-based communication from React/Vue applications.

See ${CLAUDE_SKILL_DIR}/references/examples.md for additional examples.

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/.curated/generating-grpc-services of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/errors.md
  • references/examples.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Generating Grpc Services next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Generating Grpc Services compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generating Grpc Services this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Golang Proantoniopaya22/go-rest-template1723 repos~1.2kAutomated safety check: PassMIT
Debug Grpc ConnectionGetBindu/Bindu10k—~1.2kAutomated safety check: PassCustom licence
Aspnet Corefanslead/ReverseProxy.Store1612 repos~1.4kAutomated safety check: PassApache-2.0
Regenerate Grpc StubsGetBindu/Bindu10k—~810Automated safety check: PassCustom licence

Similar skills

  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Golang Pro

    antoniopaya22/go-rest-template

    Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with…

    172 GitHub starsUsed in 3 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Debug Grpc Connection

    GetBindu/Bindu

    Diagnose gRPC connection issues between the Bindu core and a language SDK.

    10k GitHub stars~1.2k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Aspnet Core

    fanslead/ReverseProxy.Store

    Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development.

    161 GitHub starsUsed in 2 repos~1.4k tokens
    Backend & APIsAuto-check passed
  • Regenerate Grpc Stubs

    GetBindu/Bindu

    Regenerate Python + TypeScript gRPC stubs after editing proto files.

    10k GitHub stars~810 tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Spider King

    aoyunyang/spider-king-skill

    Pure-web protocol reverse skill: turn hostile browser clients into browser-free Python collectors.

    509 GitHub stars~7.3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Generating Grpc Services

What does Generating Grpc Services do?

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Generating Grpc Services is an agent skill from jeremylongshore/tons-of-skills-marketplace. Generate gRPC service definitions, stubs, and implementations from Protocol Buffers.

When should I use Generating Grpc Services?

Generating Grpc Services fits situations like: creating high-performance gRPC services; with phrases like generate gRPC service; create gRPC API; build gRPC server.

How do I install Generating Grpc Services in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-grpc-services -a claude-code`. Or copy the skill folder (skills/.curated/generating-grpc-services in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/generating-grpc-services in your project. Claude Code loads it when a task matches its description.

How do I install Generating Grpc Services in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-grpc-services -a codex`. Or copy the skill folder (skills/.curated/generating-grpc-services in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/generating-grpc-services in your project. Codex loads it when a task matches its description.

Can I use Generating Grpc Services in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-grpc-services -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generating-grpc-services, .gemini/skills/generating-grpc-services, .github/skills/generating-grpc-services and .opencode/skills/generating-grpc-services in your project.

What does Generating Grpc Services need to run?

SKILL.md names no scripts, command-line tools or credentials: Generating Grpc Services is instructions for the agent only. Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(api:grpc-*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Generating Grpc Services access the network?

SKILL.md names 4 domains. As links in the text: grpc.io, protobuf.dev, buf.build and grpc-ecosystem.github.io. This is read from the text; nothing was executed.

Is Generating Grpc Services safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Generating Grpc Services use?

Generating Grpc Services is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Generating Grpc Services use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Generating Grpc Services?

Skills that share tags, products or a category with Generating Grpc Services: Use Yaak (mountain-loop/yaak, 19k stars), Golang Pro (antoniopaya22/go-rest-template, 172 stars), Debug Grpc Connection (GetBindu/Bindu, 10k stars) and Aspnet Core (fanslead/ReverseProxy.Store, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generating Grpc Services?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.