posthog-core-workflow-b
PostHog Core Workflow B
Overview
Secondary workflow for PostHog. Complements the event capture workflow by focusing on feature flag management, A/B experiment evaluation, and cohort analysis. Use this skill when you need to roll out a feature to a percentage of users, evaluate whether an A/B test reached statistical significance, or build a cohort of users who performed a specific sequence of actions for targeted communication.
Prerequisites
- Completed
posthog-install-authsetup - Familiarity with
posthog-core-workflow-a - Valid API credentials configured
Instructions
Step 1: Setup
Define the feature flag or experiment configuration you want to work with. For feature flags, set the rollout percentage, target cohort filters, and any override rules for internal testing. For experiments, identify the control and variant conditions, select the primary metric to optimize, and calculate the minimum detectable effect size to determine how long the test needs to run before making a decision.
// Step 1 implementation