[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NTY4TGMG0ZYY4E3F6SPMRE":3,"skill-same:01M6NTY4TGMG0ZYY4E3F6SPMRE":64},{"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":23,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6NTY4TGMG0ZYY4E3F6SPMRE","grpc-patterns",null,"Protobuf schema design, streaming patterns, interceptor chains, deadline propagation, and error handling for gRPC services.","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fgrpc-patterns\u002Fskill.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36],"grpc","patterns","grpc patterns","design","protobuf","error handling","streaming","services","schema","schema design","propagation","error","for","2026-11-10 10:12:30",false,"---\nname: grpc-patterns\ndescription: Protobuf schema design, streaming patterns, interceptor chains, deadline propagation, and error handling for gRPC services.\n---\n\n# gRPC Patterns\n\nHigh-performance RPC patterns with Protocol Buffers and gRPC.\n\n## Protobuf Schema Design\n\n```protobuf\nsyntax = \"proto3\";\n\npackage order.v1;\n\noption go_package = \"github.com\u002Fmyapp\u002Fgen\u002Forder\u002Fv1;orderv1\";\n\nimport \"google\u002Fprotobuf\u002Ftimestamp.proto\";\nimport \"google\u002Fprotobuf\u002Ffield_mask.proto\";\n\n\u002F\u002F Service definition\nservice OrderService {\n  \u002F\u002F Unary RPC\n  rpc GetOrder(GetOrderRequest) returns (GetOrderResponse);\n  rpc CreateOrder(CreateOrderRequest) returns (CreateOrderResponse);\n\n  \u002F\u002F Server streaming: server sends multiple responses\n  rpc WatchOrderStatus(WatchOrderStatusRequest) returns (stream OrderStatusEvent);\n\n  \u002F\u002F Client streaming: client sends multiple requests\n  rpc BatchCreateOrders(stream CreateOrderRequest) returns (BatchCreateOrdersResponse);\n\n  \u002F\u002F Bidirectional streaming\n  rpc OrderChat(stream ChatMessage) returns (stream ChatMessage);\n}\n\n\u002F\u002F Request\u002FResponse naming: \u003CMethod>Request, \u003CMethod>Response\nmessage GetOrderRequest {\n  string order_id = 1;\n  \u002F\u002F FieldMask for partial responses (bandwidth optimization)\n  google.protobuf.FieldMask field_mask = 2;\n}\n\nmessage GetOrderResponse {\n  Order order = 1;\n}\n\n\u002F\u002F Domain message\nmessage Order {\n  string id = 1;\n  string customer_id = 2;\n  OrderStatus status = 3;\n  repeated OrderItem items = 4;\n  Money total = 5;\n  google.protobuf.Timestamp created_at = 6;\n  google.protobuf.Timestamp updated_at = 7;\n}\n\n\u002F\u002F Enums: always have UNSPECIFIED as 0\nenum OrderStatus {\n  ORDER_STATUS_UNSPECIFIED = 0;\n  ORDER_STATUS_PENDING = 1;\n  ORDER_STATUS_CONFIRMED = 2;\n  ORDER_STATUS_SHIPPED = 3;\n  ORDER_STATUS_DELIVERED = 4;\n  ORDER_STATUS_CANCELLED = 5;\n}\n\n\u002F\u002F Reusable value type\nmessage Money {\n  string currency_code = 1;  \u002F\u002F ISO 4217\n  int64 units = 2;           \u002F\u002F Whole units (dollars)\n  int32 nanos = 3;           \u002F\u002F Nano units (cents * 10^7)\n}\n\n\u002F\u002F Pagination\nmessage ListOrdersRequest {\n  int32 page_size = 1;       \u002F\u002F Max items per page\n  string page_token = 2;     \u002F\u002F Opaque cursor from previous response\n  string filter = 3;         \u002F\u002F e.g., \"status=SHIPPED\"\n  string order_by = 4;       \u002F\u002F e.g., \"created_at desc\"\n}\n\nmessage ListOrdersResponse {\n  repeated Order orders = 1;\n  string next_page_token = 2;  \u002F\u002F Empty = no more pages\n  int32 total_size = 3;\n}\n```\n\n## Server Implementation (Go)\n\n```go\npackage server\n\nimport (\n    \"context\"\n    \"time\"\n\n    \"google.golang.org\u002Fgrpc\u002Fcodes\"\n    \"google.golang.org\u002Fgrpc\u002Fstatus\"\n\n    pb \"github.com\u002Fmyapp\u002Fgen\u002Forder\u002Fv1\"\n)\n\ntype OrderServer struct {\n    pb.UnimplementedOrderServiceServer\n    store OrderStore\n}\n\nfunc (s *OrderServer) GetOrder(ctx context.Context, req *pb.GetOrderRequest) (*pb.GetOrderResponse, error) {\n    \u002F\u002F Validate input\n    if req.OrderId == \"\" {\n        return nil, status.Error(codes.InvalidArgument, \"order_id is required\")\n    }\n\n    \u002F\u002F Check deadline propagation\n    if deadline, ok := ctx.Deadline(); ok {\n        if time.Until(deadline) \u003C 100*time.Millisecond {\n            return nil, status.Error(codes.DeadlineExceeded, \"insufficient time remaining\")\n        }\n    }\n\n    order, err := s.store.GetByID(ctx, req.OrderId)\n    if err != nil {\n        if errors.Is(err, ErrNotFound) {\n            return nil, status.Error(codes.NotFound, \"order not found\")\n        }\n        return nil, status.Error(codes.Internal, \"failed to fetch order\")\n    }\n\n    return &pb.GetOrderResponse{Order: order}, nil\n}\n\n\u002F\u002F Server streaming\nfunc (s *OrderServer) WatchOrderStatus(\n    req *pb.WatchOrderStatusRequest,\n    stream pb.OrderService_WatchOrderStatusServer,\n) error {\n    ctx := stream.Context()\n    ch := s.store.WatchStatus(ctx, req.OrderId)\n\n    for {\n        select {\n        case \u003C-ctx.Done():\n            return status.Error(codes.Cancelled, \"client disconnected\")\n        case event, ok := \u003C-ch:\n            if !ok {\n                return nil  \u002F\u002F Channel closed, stream complete\n            }\n            if err := stream.Send(event); err != nil {\n                return err\n            }\n        }\n    }\n}\n```\n\n## Interceptor Chain (Middleware)\n\n```go\nimport (\n    \"google.golang.org\u002Fgrpc\"\n    \"google.golang.org\u002Fgrpc\u002Fmetadata\"\n)\n\n\u002F\u002F Unary interceptor: logging + metrics\nfunc loggingInterceptor(\n    ctx context.Context,\n    req interface{},\n    info *grpc.UnaryServerInfo,\n    handler grpc.UnaryHandler,\n) (interface{}, error) {\n    start := time.Now()\n\n    resp, err := handler(ctx, req)\n\n    duration := time.Since(start)\n    code := status.Code(err)\n\n    log.Info(\"grpc request\",\n        \"method\", info.FullMethod,\n        \"code\", code,\n        \"duration_ms\", duration.Milliseconds(),\n    )\n\n    \u002F\u002F Prometheus metrics\n    grpcRequestDuration.WithLabelValues(info.FullMethod, code.String()).Observe(duration.Seconds())\n    grpcRequestTotal.WithLabelValues(info.FullMethod, code.String()).Inc()\n\n    return resp, err\n}\n\n\u002F\u002F Auth interceptor\nfunc authInterceptor(\n    ctx context.Context,\n    req interface{},\n    info *grpc.UnaryServerInfo,\n    handler grpc.UnaryHandler,\n) (interface{}, error) {\n    \u002F\u002F Skip auth for health check\n    if info.FullMethod == \"\u002Fgrpc.health.v1.Health\u002FCheck\" {\n        return handler(ctx, req)\n    }\n\n    md, ok := metadata.FromIncomingContext(ctx)\n    if !ok {\n        return nil, status.Error(codes.Unauthenticated, \"missing metadata\")\n    }\n\n    tokens := md.Get(\"authorization\")\n    if len(tokens) == 0 {\n        return nil, status.Error(codes.Unauthenticated, \"missing token\")\n    }\n\n    user, err := validateToken(tokens[0])\n    if err != nil {\n        return nil, status.Error(codes.Unauthenticated, \"invalid token\")\n    }\n\n    \u002F\u002F Attach user to context\n    ctx = context.WithValue(ctx, userKey, user)\n    return handler(ctx, req)\n}\n\n\u002F\u002F Chain interceptors\nserver := grpc.NewServer(\n    grpc.ChainUnaryInterceptor(\n        recoveryInterceptor,   \u002F\u002F Panic recovery (outermost)\n        loggingInterceptor,    \u002F\u002F Request logging\n        authInterceptor,       \u002F\u002F Authentication\n        rateLimitInterceptor,  \u002F\u002F Rate limiting\n    ),\n)\n```\n\n## Client with Deadline and Retry\n\n```go\nimport (\n    \"google.golang.org\u002Fgrpc\"\n    \"google.golang.org\u002Fgrpc\u002Fcredentials\u002Finsecure\"\n    grpcRetry \"github.com\u002Fgrpc-ecosystem\u002Fgo-grpc-middleware\u002Fretry\"\n)\n\nfunc newOrderClient(addr string) (pb.OrderServiceClient, error) {\n    conn, err := grpc.Dial(addr,\n        grpc.WithTransportCredentials(insecure.NewCredentials()),\n        grpc.WithChainUnaryInterceptor(\n            grpcRetry.UnaryClientInterceptor(\n                grpcRetry.WithMax(3),\n                grpcRetry.WithBackoff(grpcRetry.BackoffExponential(100*time.Millisecond)),\n                grpcRetry.WithCodes(codes.Unavailable, codes.ResourceExhausted),\n            ),\n        ),\n    )\n    if err != nil {\n        return nil, err\n    }\n\n    return pb.NewOrderServiceClient(conn), nil\n}\n\n\u002F\u002F Always set deadline on client calls\nfunc getOrder(client pb.OrderServiceClient, orderID string) (*pb.Order, error) {\n    ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)\n    defer cancel()\n\n    resp, err := client.GetOrder(ctx, &pb.GetOrderRequest{OrderId: orderID})\n    if err != nil {\n        return nil, fmt.Errorf(\"get order %s: %w\", orderID, err)\n    }\n    return resp.Order, nil\n}\n```\n\n## Checklist\n\n- [ ] Enum field 0 is always UNSPECIFIED (proto3 default value)\n- [ ] Request\u002FResponse wrapper messages (not bare domain types)\n- [ ] FieldMask for partial reads and updates\n- [ ] Cursor-based pagination (page_token), not offset\n- [ ] Deadline set on every client call (5-30s typical)\n- [ ] Propagate deadline to downstream calls (context forwarding)\n- [ ] Interceptors: recovery, logging, auth, rate limit (in that order)\n- [ ] Health check endpoint (grpc.health.v1.Health)\n\n## Anti-Patterns\n\n- Missing UNSPECIFIED enum value: 0 means \"not set\" in proto3\n- Returning domain errors as codes.Internal (use specific codes)\n- No deadline on client calls: request hangs forever on server failure\n- Large messages (>4MB default limit): use streaming or chunking\n- Breaking proto schema changes: never change field numbers or remove fields\n- Catching all errors as codes.Internal: map each error to appropriate gRPC code\n","# gRPC Patterns\n\nHigh-performance RPC patterns with Protocol Buffers and gRPC.\n\n## Protobuf Schema Design\n\n```protobuf\nsyntax = \"proto3\";\n\npackage order.v1;\n\noption go_package = \"github.com\u002Fmyapp\u002Fgen\u002Forder\u002Fv1;orderv1\";\n\nimport \"google\u002Fprotobuf\u002Ftimestamp.proto\";\nimport \"google\u002Fprotobuf\u002Ffield_mask.proto\";\n\n\u002F\u002F Service definition\nservice OrderService {\n  \u002F\u002F Unary RPC\n  rpc GetOrder(GetOrderRequest) returns (GetOrderResponse);\n  rpc CreateOrder(CreateOrderRequest) returns (CreateOrderResponse);\n\n  \u002F\u002F Server streaming: server sends multiple responses\n  rpc WatchOrderStatus(WatchOrderStatusRequest) returns (stream OrderStatusEvent);\n\n  \u002F\u002F Client streaming: client sends multiple requests\n  rpc BatchCreateOrders(stream CreateOrderRequest) returns (BatchCreateOrdersResponse);\n\n  \u002F\u002F Bidirectional streaming\n  rpc OrderChat(stream ChatMessage) returns (stream ChatMessage);\n}\n\n\u002F\u002F Request\u002FResponse naming: \u003CMethod>Request, \u003CMethod>Response\nmessage GetOrderRequest {\n  string order_id = 1;\n  \u002F\u002F FieldMask for partial responses (bandwidth optimization)\n  google.protobuf.FieldMask field_mask = 2;\n}\n\nmessage GetOrderResponse {\n  Order order = 1;\n}\n\n\u002F\u002F Domain message\nmessage Order {\n  string id = 1;\n  string customer_id = 2;\n  OrderStatus status = 3;\n  repeated OrderItem items = 4;\n  Money total = 5;\n  google.protobuf.Timestamp created_at = 6;\n  google.protobuf.Timestamp updated_at = 7;\n}\n\n\u002F\u002F Enums: always have UNSPECIFIED as 0\nenum OrderStatus {\n  ORDER_STATUS_UNSPECIFIED = 0;\n  ORDER_STATUS_PENDING = 1;\n  ORDER_STATUS_CONFIRMED = 2;\n  ORDER_STATUS_SHIPPED = 3;\n  ORDER_STATUS_DELIVERED = 4;\n  ORDER_STATUS_CANCELLED = 5;\n}\n\n\u002F\u002F Reusable value type\nmessage Money {\n  string currency_code = 1;  \u002F\u002F ISO 4217\n  int64 units = 2;           \u002F\u002F Whole units (dollars)\n  int32 nanos = 3;           \u002F\u002F Nano units (cents * 10^7)\n}\n\n\u002F\u002F Pagination\nmessage ListOrdersRequest {\n  int32 page_size = 1;       \u002F\u002F Max items per page\n  string page_token = 2;     \u002F\u002F Opaque cursor from previous response\n  string filter = 3;         \u002F\u002F e.g., \"status=SHIPPED\"\n  string order_by = 4;       \u002F\u002F e.g., \"created_at desc\"\n}\n\nmessage ListOrdersResponse {\n  repeated Order orders = 1;\n  string next_page_token = 2;  \u002F\u002F Empty = no more pages\n  int32 total_size = 3;\n}\n```\n\n## Server Implementation (Go)\n\n```go\npackage server\n\nimport (\n    \"context\"\n    \"time\"\n\n    \"google.golang.org\u002Fgrpc\u002Fcodes\"\n    \"google.golang.org\u002Fgrpc\u002Fstatus\"\n\n    pb \"github.com\u002Fmyapp\u002Fgen\u002Forder\u002Fv1\"\n)\n\ntype OrderServer struct {\n    pb.UnimplementedOrderServiceServer\n    store OrderStore\n}\n\nfunc (s *OrderServer) GetOrder(ctx context.Context, req *pb.GetOrderRequest) (*pb.GetOrderResponse, error) {\n    \u002F\u002F Validate input\n    if req.OrderId == \"\" {\n        return nil, status.Error(codes.InvalidArgument, \"order_id is required\")\n    }\n\n    \u002F\u002F Check deadline propagation\n    if deadline, ok := ctx.Deadline(); ok {\n        if time.Until(deadline) \u003C 100*time.Millisecond {\n            return nil, status.Error(codes.DeadlineExceeded, \"insufficient time remaining\")\n        }\n    }\n\n    order, err := s.store.GetByID(ctx, req.OrderId)\n    if err != nil {\n        if errors.Is(err, ErrNotFound) {\n            return nil, status.Error(codes.NotFound, \"order not found\")\n        }\n        return nil, status.Error(codes.Internal, \"failed to fetch order\")\n    }\n\n    return &pb.GetOrderResponse{Order: order}, nil\n}\n\n\u002F\u002F Server streaming\nfunc (s *OrderServer) WatchOrderStatus(\n    req *pb.WatchOrderStatusRequest,\n    stream pb.OrderService_WatchOrderStatusServer,\n) error {\n    ctx := stream.Context()\n    ch := s.store.WatchStatus(ctx, req.OrderId)\n\n    for {\n        select {\n        case \u003C-ctx.Done():\n            return status.Error(codes.Cancelled, \"client disconnected\")\n        case event, ok := \u003C-ch:\n            if !ok {\n                return nil  \u002F\u002F Channel closed, stream complete\n            }\n            if err := stream.Send(event); err != nil {\n                return err\n            }\n        }\n    }\n}\n```\n\n## Interceptor Chain (Middleware)\n\n```go\nimport (\n    \"google.golang.org\u002Fgrpc\"\n    \"google.golang.org\u002Fgrpc\u002Fmetadata\"\n)\n\n\u002F\u002F Unary interceptor: logging + metrics\nfunc loggingInterceptor(\n    ctx context.Context,\n    req interface{},\n    info *grpc.UnaryServerInfo,\n    handler grpc.UnaryHandler,\n) (interface{}, error) {\n    start := time.Now()\n\n    resp, err := handler(ctx, req)\n\n    duration := time.Since(start)\n    code := status.Code(err)\n\n    log.Info(\"grpc request\",\n        \"method\", info.FullMethod,\n        \"code\", code,\n        \"duration_ms\", duration.Milliseconds(),\n    )\n\n    \u002F\u002F Prometheus metrics\n    grpcRequestDuration.WithLabelValues(info.FullMethod, code.String()).Observe(duration.Seconds())\n    grpcRequestTotal.WithLabelValues(info.FullMethod, code.String()).Inc()\n\n    return resp, err\n}\n\n\u002F\u002F Auth interceptor\nfunc authInterceptor(\n    ctx context.Context,\n    req interface{},\n    info *grpc.UnaryServerInfo,\n    handler grpc.UnaryHandler,\n) (interface{}, error) {\n    \u002F\u002F Skip auth for health check\n    if info.FullMethod == \"\u002Fgrpc.health.v1.Health\u002FCheck\" {\n        return handler(ctx, req)\n    }\n\n    md, ok := metadata.FromIncomingContext(ctx)\n    if !ok {\n        return nil, status.Error(codes.Unauthenticated, \"missing metadata\")\n    }\n\n    tokens := md.Get(\"authorization\")\n    if len(tokens) == 0 {\n        return nil, status.Error(codes.Unauthenticated, \"missing token\")\n    }\n\n    user, err := validateToken(tokens[0])\n    if err != nil {\n        return nil, status.Error(codes.Unauthenticated, \"invalid token\")\n    }\n\n    \u002F\u002F Attach user to context\n    ctx = context.WithValue(ctx, userKey, user)\n    return handler(ctx, req)\n}\n\n\u002F\u002F Chain interceptors\nserver := grpc.NewServer(\n    grpc.ChainUnaryInterceptor(\n        recoveryInterceptor,   \u002F\u002F Panic recovery (outermost)\n        loggingInterceptor,    \u002F\u002F Request logging\n        authInterceptor,       \u002F\u002F Authentication\n        rateLimitInterceptor,  \u002F\u002F Rate limiting\n    ),\n)\n```\n\n## Client with Deadline and Retry\n\n```go\nimport (\n    \"google.golang.org\u002Fgrpc\"\n    \"google.golang.org\u002Fgrpc\u002Fcredentials\u002Finsecure\"\n    grpcRetry \"github.com\u002Fgrpc-ecosystem\u002Fgo-grpc-middleware\u002Fretry\"\n)\n\nfunc newOrderClient(addr string) (pb.OrderServiceClient, error) {\n    conn, err := grpc.Dial(addr,\n        grpc.WithTransportCredentials(insecure.NewCredentials()),\n        grpc.WithChainUnaryInterceptor(\n            grpcRetry.UnaryClientInterceptor(\n                grpcRetry.WithMax(3),\n                grpcRetry.WithBackoff(grpcRetry.BackoffExponential(100*time.Millisecond)),\n                grpcRetry.WithCodes(codes.Unavailable, codes.ResourceExhausted),\n            ),\n        ),\n    )\n    if err != nil {\n        return nil, err\n    }\n\n    return pb.NewOrderServiceClient(conn), nil\n}\n\n\u002F\u002F Always set deadline on client calls\nfunc getOrder(client pb.OrderServiceClient, orderID string) (*pb.Order, error) {\n    ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)\n    defer cancel()\n\n    resp, err := client.GetOrder(ctx, &pb.GetOrderRequest{OrderId: orderID})\n    if err != nil {\n        return nil, fmt.Errorf(\"get order %s: %w\", orderID, err)\n    }\n    return resp.Order, nil\n}\n```\n\n## Checklist\n\n- [ ] Enum field 0 is always UNSPECIFIED (proto3 default value)\n- [ ] Request\u002FResponse wrapper messages (not bare domain types)\n- [ ] FieldMask for partial reads and updates\n- [ ] Cursor-based pagination (page_token), not offset\n- [ ] Deadline set on every client call (5-30s typical)\n- [ ] Propagate deadline to downstream calls (context forwarding)\n- [ ] Interceptors: recovery, logging, auth, rate limit (in that order)\n- [ ] Health check endpoint (grpc.health.v1.Health)\n\n## Anti-Patterns\n\n- Missing UNSPECIFIED enum value: 0 means \"not set\" in proto3\n- Returning domain errors as codes.Internal (use specific codes)\n- No deadline on client calls: request hangs forever on server failure\n- Large messages (>4MB default limit): use streaming or chunking\n- Breaking proto schema changes: never change field numbers or remove fields\n- Catching all errors as codes.Internal: map each error to appropriate gRPC code\n",{"name":5,"description":7},"main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fgrpc-patterns","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add rubicanjr\u002FFinCognis --skill grpc-patterns",{"tool":56,"command":57},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill grpc-patterns",{"tool":59,"command":60},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill grpc-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fgrpc-patterns\u002Fskill.md",true,[],[65,84,93,109,138,157],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":74,"publishedAt":37},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[71],{"categoryNo":72,"categoryName":73,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[75,76,77,78,79,80,81,82,83],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":37},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[86,91,92],"verification","false",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":100,"publishedAt":37},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[99],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[101,25,102,27,103,104,105,106,107,108],"websocket","websocket patterns","protocol","management","message","strategies","binary","connection",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":37},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[115,118],{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":72,"categoryName":73,"taxonomyType":21,"taxonomyTypeDesc":22},[120,121,122,123,124,125,126,127,128,36,129,130,131,27,132,133,134,135,136,137],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":37},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[145,146,91,147,148,149,150,151,152,153,154,155,156],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":37},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[164,165,166,167,25,168,169,170,171,106,172,173,174,175,176,36,177,178],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]