What problem does it solve? Adding product analytics to a Node.js backend requires choosing the right SDK, planning meaningful events, wiring user identification, and handling error tracking correctly. This Skill guides an AI agent through a complete, phased PostHog integration so nothing important is missed. ## Core Features & Use Cases - Guided four-phase workflow: Plan events, implement capture calls, revise and validate the code, then conclude with a dashboard and setup report. - Server-side best practices: Enforces posthog-node (not posthog-js), environment-variable keys, exception autocapture, correct flush settings for long-running servers versus serverless functions, and distinct ID correlation between client and server. - Bundled reference documentation: Includes PostHog Node.js SDK API references and user-identification guides for accurate implementations. - Use Case: Point an AI coding agent at an Express or Fastify API and have it instrument checkout, signup, and webhook routes with PostHog events, error capture, and a generated analytics dashboard. ## Quick Start Ask your AI agent to use this skill to add PostHog event tracking and error monitoring to your Node.js server application.