Lightlines
By posthog

instrument-integration

posthog502 installs

Get your app ready for PostHog analytics.

What it does

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.

How to use it

Give it an application project; it adds PostHog integration and checks the changed code.

What you provide

  • An existing project

Uses

Latest review

What you need · 1

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.


Access · 2

This skill

PostHog

Read

Retrieves PostHog project configuration

PostHog SDK

Execute

Installs the PostHog SDK