Get your app ready for PostHog analytics.
Adds and verifies PostHog SDK integration in an application, including initialization, user identification, and environment configuration.
When to use it
Use when setting up PostHog for the first time or reviewing pull requests that need PostHog initialization.
Give it an application project; it adds PostHog integration and checks the changed code.
What you provide
Checks existing project environment files for the token. If missing, retrieves the project's api_token through PostHog MCP; if MCP is unavailable or unauthenticated, asks the user for the token instead.
This skill
PostHog
Retrieves PostHog project configuration
PostHog SDK
Installs the PostHog SDK