Complete PostHog integration skill pack with 24 skills covering product analytics, feature flags, session replay, and experimentation. Flagship tier vendor pack.
Installation
Open Claude Code and run this command:
/plugin install posthog-pack@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
Skills (24)
Configure PostHog CI/CD with GitHub Actions: unit tests with mocked PostHog, integration tests against a dev project, and deployment annotations.
Diagnose and fix common PostHog errors: events not appearing, flags returning undefined, 401/429 errors, SDK initialization failures, and identity issues.
Implement PostHog product analytics: event capture, user identification, group analytics, and property management using posthog-js and posthog-node.
Implement PostHog feature flags, A/B experiments, and cohort management.
Optimize PostHog costs: autocapture tuning, event sampling with before_send, bot filtering, session recording sampling, and billing monitoring.
PostHog PII handling, GDPR compliance, consent management, data deletion, property sanitization, and privacy-safe analytics configuration.
Collect PostHog debug evidence for support tickets and troubleshooting.
Deploy PostHog to Vercel, Docker (self-hosted), and Cloud Run.
PostHog enterprise access control: organization/project hierarchy, member roles, scoped API keys, SSO/SAML configuration, and activity audit logging.
Create a minimal working PostHog example with event capture, identify, and feature flags.
PostHog incident response: triage decision tree, immediate actions for 401/429/500 errors, graceful degradation, evidence collection, and postmortem.
Install and configure PostHog SDKs with authentication.
Configure PostHog local development with mocking, debug mode, and testing.
Migrate to PostHog from Google Analytics, Mixpanel, Amplitude, or Segment.
Configure PostHog across development, staging, and production environments.
Monitor PostHog integration health: event ingestion rates, feature flag evaluation latency, billing volume tracking, and Prometheus/Grafana alerting.
Optimize PostHog performance: local flag evaluation, client batching config, event sampling, efficient HogQL queries, and serverless flush patterns.
Production readiness checklist for PostHog integrations: SDK configuration, graceful degradation, health checks, shutdown hooks, and rollback procedures.
Handle PostHog API rate limits with exponential backoff, request queuing, and understanding PostHog's actual limit tiers (240/min analytics, 600/min flags).
Production PostHog architecture: event taxonomy, SDK layering, feature flag strategy, analytics module layout, and data pipeline integration patterns.
Production-ready PostHog SDK patterns: singleton client, typed events, React hooks, Next.
Secure PostHog integration: API key management, project key vs personal key separation, secret rotation, scoped keys, and git-leak prevention.
Upgrade posthog-js and posthog-node SDKs with breaking change detection.
Implement PostHog webhook destinations, Action-triggered notifications, and event querying via the Events API and HogQL.