What problem does it solve? Product teams often end up with ad hoc analytics sprawl: inconsistently named events, ambiguous user identity, and feature flags scattered through the app without rollout intent. This Skill audits an existing PostHog setup and turns it into a disciplined, actionable instrumentation plan. ## Core Features & Use Cases - Surface Inventory: Scans a repository for PostHog packages, provider and init files, capture/identify/group calls, feature-flag usage, and env vars via a helper script. - Boundary Review: Evaluates where PostHog is initialized, whether identification is intentional, and whether flags are evaluated in the right layer. - Instrumentation Plan Output: Produces a structured markdown plan covering the current surface, event and identity gaps, feature-flag risks, and next steps. - Use Case: Before launching a new onboarding flow, run this Skill against your web app repo to confirm events are named consistently, identify calls are coherent, and the rollout flag is evaluated in the correct layer. ## Quick Start Ask the agent to review the PostHog instrumentation in this repository and produce an instrumentation plan with event, identity, and feature-flag gaps.