[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713PSY9SQYBEAPVKAQ2ZV1F":3,"skill-same:01M713PSY9SQYBEAPVKAQ2ZV1F":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M713PSY9SQYBEAPVKAQ2ZV1F","grpc-golang",null,"Build production-ready gRPC services in Go with mTLS, streaming, and observability. Use when designing Protobuf contracts with Buf or implementing secure service-to-service transport.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fgrpc-golang\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"golang","grpc","grpc golang","use","2026","when","implementing","production-ready","with","self","build","ready","safe","mtls","Production","services","streaming","observability","protobuf","secure","2026-11-10 10:12:30",false,"---\nname: grpc-golang\ndescription: \"Build production-ready gRPC services in Go with mTLS, streaming, and observability. Use when designing Protobuf contracts with Buf or implementing secure service-to-service transport.\"\nrisk: safe\nsource: self\ndate_added: \"2026-02-27\"\n---\n\n# gRPC Golang (gRPC-Go)\n\n## Overview\n\nComprehensive guide for designing and implementing production-grade gRPC services in Go. Covers contract standardization with Buf, transport layer security via mTLS, and deep observability with OpenTelemetry interceptors.\n\n## Use this skill when\n\n- Designing microservices communication with gRPC in Go.\n- Building high-performance internal APIs using Protobuf.\n- Implementing streaming workloads (unidirectional or bidirectional).\n- Standardizing API contracts using Protobuf and Buf.\n- Configuring mTLS for service-to-service authentication.\n\n## Do not use this skill when\n\n- Building pure REST\u002FHTTP public APIs without gRPC requirements.\n- Modifying legacy `.proto` files without the ability to introduce a new API version (e.g., `api.v2`) or ensure backward compatibility.\n- Managing service mesh traffic routing (e.g., Istio\u002FLinkerd), which is outside the application code scope.\n\n## Step-by-Step Guide\n\n1. **Confirm Technical Context**: Identify Go version, gRPC-Go version, and whether the project uses Buf or raw protoc.\n2. **Confirm Requirements**: Identify mTLS needs, load patterns (unary\u002Fstreaming), SLOs, and message size limits.\n3. **Plan Schema**: Define package versioning (e.g., `api.v1`), resource types, and error mapping.\n4. **Security Design**: Implement mTLS for service-to-service authentication.\n5. **Observability**: Configure interceptors for tracing, metrics, and structured logging.\n6. **Verification**: Always run `buf lint` and breaking change checks before finalizing code generation.\n\nRefer to `resources\u002Fimplementation-playbook.md` for detailed patterns, code examples, and anti-patterns.\n\n## Examples\n\n### Example 1: Defining a Service & Message (v1 API)\n\n```proto\nsyntax = \"proto3\";\npackage api.v1;\noption go_package = \"github.com\u002Forg\u002Frepo\u002Fgen\u002Fapi\u002Fv1;apiv1\";\n\nservice UserService {\n  rpc GetUser(GetUserRequest) returns (GetUserResponse);\n}\n\nmessage User {\n  string id = 1;\n  string name = 2;\n}\n\nmessage GetUserRequest {\n  string id = 1;\n}\n\nmessage GetUserResponse {\n  User user = 1;\n}\n```\n\n## Best Practices\n\n- ✅ **Do:** Use Buf to standardize your toolchain and linting with `buf.yaml` and `buf.gen.yaml`.\n- ✅ **Do:** Always use semantic versioning in package paths (e.g., `package api.v1`).\n- ✅ **Do:** Enforce mTLS for all internal service-to-service communication.\n- ✅ **Do:** Handle `ctx.Done()` in all streaming handlers to prevent resource leaks.\n- ✅ **Do:** Map domain errors to standard gRPC status codes (e.g., `codes.NotFound`).\n- ❌ **Don't:** Return raw internal error strings or stack traces to gRPC clients.\n- ❌ **Don't:** Create a new `grpc.ClientConn` per request; always reuse connections.\n\n## Troubleshooting\n\n- **Error: Inconsistent Gen**: If the generated code does not match the schema, run `buf generate` and verify the `go_package` option.\n- **Error: Context Deadline**: Check client timeouts and ensure the server is not blocking infinitely in streaming handlers.\n- **Error: mTLS Handshake**: Ensure the CA certificate is correctly added to the `x509.CertPool` on both client and server sides.\n\n## Limitations\n\n- Does not cover service mesh traffic routing (Istio\u002FLinkerd configuration).\n- Does not cover gRPC-Web or browser-based gRPC integration.\n- Assumes Go 1.21+ and gRPC-Go v1.60+; older versions may have different APIs (e.g., `grpc.Dial` vs `grpc.NewClient`).\n- Does not cover L7 gRPC-aware load balancer configuration (e.g., Envoy, NGINX).\n- Does not address Protobuf schema registry or large-scale schema governance beyond Buf lint.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns, code examples, and anti-patterns.\n- [Google API Design Guide](https:\u002F\u002Fcloud.google.com\u002Fapis\u002Fdesign)\n- [Buf Docs](https:\u002F\u002Fbuf.build\u002Fdocs)\n- [gRPC-Go Docs](https:\u002F\u002Fgrpc.io\u002Fdocs\u002Flanguages\u002Fgo\u002F)\n- [OpenTelemetry Go Instrumentation](https:\u002F\u002Fopentelemetry.io\u002Fdocs\u002Finstrumentation\u002Fgo\u002F)\n\n## Related Skills\n\n- @golang-pro - General Go patterns and performance optimization outside the gRPC layer.\n- @go-concurrency-patterns - Advanced goroutine lifecycle management for streaming handlers.\n- @api-design-principles - Resource naming and versioning strategy before writing `.proto` files.\n- @docker-expert - Containerizing gRPC services and configuring TLS cert injection via Docker secrets.\n","# gRPC Golang (gRPC-Go)\n\n## Overview\n\nComprehensive guide for designing and implementing production-grade gRPC services in Go. Covers contract standardization with Buf, transport layer security via mTLS, and deep observability with OpenTelemetry interceptors.\n\n## Use this skill when\n\n- Designing microservices communication with gRPC in Go.\n- Building high-performance internal APIs using Protobuf.\n- Implementing streaming workloads (unidirectional or bidirectional).\n- Standardizing API contracts using Protobuf and Buf.\n- Configuring mTLS for service-to-service authentication.\n\n## Do not use this skill when\n\n- Building pure REST\u002FHTTP public APIs without gRPC requirements.\n- Modifying legacy `.proto` files without the ability to introduce a new API version (e.g., `api.v2`) or ensure backward compatibility.\n- Managing service mesh traffic routing (e.g., Istio\u002FLinkerd), which is outside the application code scope.\n\n## Step-by-Step Guide\n\n1. **Confirm Technical Context**: Identify Go version, gRPC-Go version, and whether the project uses Buf or raw protoc.\n2. **Confirm Requirements**: Identify mTLS needs, load patterns (unary\u002Fstreaming), SLOs, and message size limits.\n3. **Plan Schema**: Define package versioning (e.g., `api.v1`), resource types, and error mapping.\n4. **Security Design**: Implement mTLS for service-to-service authentication.\n5. **Observability**: Configure interceptors for tracing, metrics, and structured logging.\n6. **Verification**: Always run `buf lint` and breaking change checks before finalizing code generation.\n\nRefer to `resources\u002Fimplementation-playbook.md` for detailed patterns, code examples, and anti-patterns.\n\n## Examples\n\n### Example 1: Defining a Service & Message (v1 API)\n\n```proto\nsyntax = \"proto3\";\npackage api.v1;\noption go_package = \"github.com\u002Forg\u002Frepo\u002Fgen\u002Fapi\u002Fv1;apiv1\";\n\nservice UserService {\n  rpc GetUser(GetUserRequest) returns (GetUserResponse);\n}\n\nmessage User {\n  string id = 1;\n  string name = 2;\n}\n\nmessage GetUserRequest {\n  string id = 1;\n}\n\nmessage GetUserResponse {\n  User user = 1;\n}\n```\n\n## Best Practices\n\n- ✅ **Do:** Use Buf to standardize your toolchain and linting with `buf.yaml` and `buf.gen.yaml`.\n- ✅ **Do:** Always use semantic versioning in package paths (e.g., `package api.v1`).\n- ✅ **Do:** Enforce mTLS for all internal service-to-service communication.\n- ✅ **Do:** Handle `ctx.Done()` in all streaming handlers to prevent resource leaks.\n- ✅ **Do:** Map domain errors to standard gRPC status codes (e.g., `codes.NotFound`).\n- ❌ **Don't:** Return raw internal error strings or stack traces to gRPC clients.\n- ❌ **Don't:** Create a new `grpc.ClientConn` per request; always reuse connections.\n\n## Troubleshooting\n\n- **Error: Inconsistent Gen**: If the generated code does not match the schema, run `buf generate` and verify the `go_package` option.\n- **Error: Context Deadline**: Check client timeouts and ensure the server is not blocking infinitely in streaming handlers.\n- **Error: mTLS Handshake**: Ensure the CA certificate is correctly added to the `x509.CertPool` on both client and server sides.\n\n## Limitations\n\n- Does not cover service mesh traffic routing (Istio\u002FLinkerd configuration).\n- Does not cover gRPC-Web or browser-based gRPC integration.\n- Assumes Go 1.21+ and gRPC-Go v1.60+; older versions may have different APIs (e.g., `grpc.Dial` vs `grpc.NewClient`).\n- Does not cover L7 gRPC-aware load balancer configuration (e.g., Envoy, NGINX).\n- Does not address Protobuf schema registry or large-scale schema governance beyond Buf lint.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns, code examples, and anti-patterns.\n- [Google API Design Guide](https:\u002F\u002Fcloud.google.com\u002Fapis\u002Fdesign)\n- [Buf Docs](https:\u002F\u002Fbuf.build\u002Fdocs)\n- [gRPC-Go Docs](https:\u002F\u002Fgrpc.io\u002Fdocs\u002Flanguages\u002Fgo\u002F)\n- [OpenTelemetry Go Instrumentation](https:\u002F\u002Fopentelemetry.io\u002Fdocs\u002Finstrumentation\u002Fgo\u002F)\n\n## Related Skills\n\n- @golang-pro - General Go patterns and performance optimization outside the gRPC layer.\n- @go-concurrency-patterns - Advanced goroutine lifecycle management for streaming handlers.\n- @api-design-principles - Resource naming and versioning strategy before writing `.proto` files.\n- @docker-expert - Containerizing gRPC services and configuring TLS cert injection via Docker secrets.\n",{"name":5,"risk":31,"source":28,"date_added":44,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fgrpc-golang","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill grpc-golang",{"tool":57,"command":58},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill grpc-golang",{"tool":60,"command":61},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill grpc-golang","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fgrpc-golang\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"resources\u002Fimplementation-playbook.md","REFERENCE","参考文档",15018,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fgrpc-golang\u002Fresources\u002Fimplementation-playbook.md",[72,82,89,97,103,111],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":81},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":81},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":98,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":81},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":81},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":81},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]