Toolverse
All skills

generating-grpc-services

by jeremylongshore

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers.\nUse when creating high-performance gRPC services.\nTrigger with phrases like \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend

About this skill

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers.\nUse when creating high-performance gRPC services.\nTrigger with phrases like \

How to use

  1. Zainstaluj wymagane narzędzia: kompilator Protocol Buffers (protoc w wersji 3.21 lub wyższej), plugin gRPC dla Twojego języka (grpc_tools_node_protoc_plugin dla Node.js, grpcio-tools dla Pythona lub plugin Go), oraz opcjonalnie narzędzie buf do walidacji proto i testowania zmian. Przygotuj certyfikaty TLS dla bezpieczeństwa transportu w środowisku produkcyjnym.
  2. Przeczytaj istniejące pliki .proto za pomocą narzędzi Glob i Read, lub zaprojektuj nowe definicje usług zawierające typy wiadomości, metody RPC i wzorce przesyłania dostosowane do wymagań Twojej usługi.
  3. Zdefiniuj typy wiadomości proto3 z odpowiednimi typami pól, używając google.protobuf.Timestamp dla dat, google.protobuf.Struct dla pól dynamicznych i oneof dla wiadomości polimorficznych.
  4. Skompiluj pliki .proto za pomocą protoc z odpowiednim pluginem gRPC, aby wygenerować stubów specyficzne dla języka, interfejsy serwera i biblioteki klienta.
  5. Zaimplementuj handlery RPC po stronie serwera dla każdej metody, zwracając właściwe kody statusu gRPC (OK, NOT_FOUND, INVALID_ARGUMENT, PERMISSION_DENIED) zamiast ogólnych błędów HTTP.
  6. Przetestuj wygenerowaną usługę za pomocą narzędzi takich jak grpcurl, evans lub BloomRPC, aby zweryfikować poprawność komunikacji i obsługę błędów.

Related skills

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130