grpc-service-development by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill grpc-service-development使用 Protocol Buffers 定义服务,开发高效的 gRPC 服务,支持一元调用、客户端流、服务器流和双向流通信模式。
最小工作示例:
syntax = "proto3";
package user.service;
message User {
string id = 1;
string email = 2;
string first_name = 3;
string last_name = 4;
string role = 5;
int64 created_at = 6;
int64 updated_at = 7;
}
message CreateUserRequest {
string email = 1;
string first_name = 2;
string last_name = 3;
string role = 4;
}
message UpdateUserRequest {
string id = 1;
string email = 2;
string first_name = 3;
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 指南 | 内容 |
|---|
| Protocol Buffer 服务定义 | Protocol Buffer 服务定义 |
| Node.js gRPC 服务器实现 | Node.js gRPC 服务器实现 |
| Python gRPC 服务器 (grpcio) | Python gRPC 服务器 (grpcio) |
| 客户端实现 | 客户端实现 |
每周安装量
131
代码仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode110
gemini-cli106
claude-code101
codex101
cursor97
github-copilot90
Develop efficient gRPC services using Protocol Buffers for service definition, with support for unary calls, client streaming, server streaming, and bidirectional streaming patterns.
Minimal working example:
syntax = "proto3";
package user.service;
message User {
string id = 1;
string email = 2;
string first_name = 3;
string last_name = 4;
string role = 5;
int64 created_at = 6;
int64 updated_at = 7;
}
message CreateUserRequest {
string email = 1;
string first_name = 2;
string last_name = 3;
string role = 4;
}
message UpdateUserRequest {
string id = 1;
string email = 2;
string first_name = 3;
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Protocol Buffer Service Definition | Protocol Buffer Service Definition |
| Node.js gRPC Server Implementation | Node.js gRPC Server Implementation |
| Python gRPC Server (grpcio) | Python gRPC Server (grpcio) |
| Client Implementation | Client Implementation |
Weekly Installs
131
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode110
gemini-cli106
claude-code101
codex101
cursor97
github-copilot90
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
157,400 周安装