posthog-reference-architecture
Installation
SKILL.md
PostHog Reference Architecture
Overview
Production-grade architecture for PostHog analytics in a web application. Covers file structure, event taxonomy design, SDK initialization layers, feature flag management, group analytics for B2B, and data pipeline integration.
Prerequisites
- PostHog Cloud or self-hosted instance
posthog-jsandposthog-nodeSDKs- Next.js or React application (patterns adapt to other frameworks)