posthog-local-dev-loop

Installation
SKILL.md

PostHog Local Dev Loop

Overview

Set up a fast local development workflow for PostHog integrations. Covers debug mode for event inspection, mocking posthog-node for unit tests, and a dev/test PostHog project to avoid polluting production data.

Prerequisites

  • Completed posthog-install-auth setup
  • Node.js 20+ with npm/pnpm
  • Vitest or Jest for testing
  • Separate PostHog project for development (recommended)

Instructions

Step 1: Project Structure

my-posthog-app/
Related skills
Installs
27
GitHub Stars
2.2K
First Seen
Jan 30, 2026