PostHog Feature Flags

•
63
•

Instruments PostHog feature flags across frontend, backend, and mobile codebases to enable safe, targeted feature rollouts.

The PostHog Feature Flags skill automates the setup and instrumentation of PostHog feature flags across any language or framework, including React, Next.js, Node.js, Python, Go, iOS, Android, and Flutter. It automatically analyzes project dependencies to detect your tech stack, installs and initializes PostHog SDKs if absent, configures US/EU cloud environment variables, and interfaces with the PostHog MCP server to create or retrieve flags. Designed for post-implementation and PR review workflows, it applies platform-specific best practices such as server-side evaluation and minimal code modification for flicker-free, production-ready rollouts.

主要功能

01Configures framework-specific environment variables for US and EU PostHog Cloud regions
02Injects minimal, non-disruptive flag evaluations prioritizing server-side rendering when possible
03Integrates with PostHog MCP servers to manage flag definitions and fetch API tokens
04Supports 15+ ecosystems including Next.js, React, Node.js, Python, Ruby, Go, iOS, and Flutter
0563 GitHub stars
06Auto-detects frameworks, package managers, and languages across frontend, backend, and mobile

使用场景

01Bootstrapping initial PostHog SDK installation and environment configuration in existing projects
02Gating newly built features behind boolean or targeted flags before merging pull requests
03Migrating hardcoded conditional logic to managed feature flags for progressive rollouts