跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Adding Personhog Rpc

技能 活跃

Guide for adding a new RPC to personhog-replica and personhog-router. Covers eligibility checks, proto definition, code generation for Python and Node.js clients, Rust implementation (storage trait, postgres queries, service handler, router wiring), and index compatibility validation. Use when adding a new gRPC endpoint to personhog, migrating a Django ORM query to personhog, or extending the personhog service API.

目的

To guide developers through the complex process of adding new gRPC endpoints to the personhog service, ensuring correctness, efficiency, and adherence to established patterns.

功能

  • Eligibility checks for data categories and routing
  • Guidance on designing SQL queries and validating against database indexes
  • Step-by-step instructions for proto definition and code generation
  • Detailed implementation steps for Rust services
  • Verification checklist for the entire RPC addition process

使用场景

  • When adding a new gRPC endpoint to personhog-replica and personhog-router
  • When migrating a Django ORM query to personhog
  • When extending the personhog service API with new RPCs

非目标

  • Adding RPCs that do not involve person, distinct ID, group, or feature flag data categories
  • Designing new database indexes (this skill assumes existing indexes are used or directs to a separate process)
  • Implementing general gRPC development best practices outside the context of personhog

Trust

  • warning:Issues AttentionThere are 544 open issues and 163 closed issues in the last 90 days, indicating a low closure rate and a significant backlog.

安装

npx skills add PostHog/posthog

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

85 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标34.5k
许可证NOASSERTION
状态
查看源代码

类似扩展

Senior Backend Engineer

100

Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.

技能
alirezarezvani

Cleanup Cycles

100

Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".

技能
raintree-technology

Create Dockerfile

98

Create general-purpose Dockerfiles for Node.js, Python, Go, Rust, and Java projects. Covers base image selection, dependency installation, user permissions, COPY patterns, ENTRYPOINT vs CMD, and .dockerignore. Use when containerizing an application for the first time, creating a consistent build/runtime environment, preparing an app for cloud deployment or Docker Compose, or when no existing Dockerfile is present in the project.

技能
pjt222

Golang Grpc

77

Production gRPC in Go: protobuf layout, codegen, interceptors, deadlines, error codes, streaming, health checks, TLS, and testing with bufconn

技能
bobmatnyc

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Azure Postgres Ts

100

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".

技能
microsoft