What problem does it solve? Shipping unfinished features safely requires hiding code behind remotely controlled switches, but manually wiring PostHog flags, rollout percentages, and server-side gating is error-prone and easy to misconfigure. ## Core Features & Use Cases - Flag Creation: Create boolean PostHog feature flags via the PostHog MCP or REST API with safe defaults (active but 0% rollout) so code ships hidden. - Code Gating: Apply flags in a Next.js App Router website using a server-side layout gate with isBooleanFlagEnabled(), avoiding the boolean-vs-variant misread pitfall. - Rollout & Rollback: Raise or lower rollout_percentage in PostHog to release or retract a feature without touching code. - Use Case: You are building a new /launches page. Use this Skill to create the launches flag at 0% rollout, gate the route segment with a layout.tsx, and preview it locally with EXPERIMENT_launches=true before rolling out to users. ## Quick Start Create a PostHog boolean feature flag named launches and gate the /launches route in the website app behind it.