feature-flags-web

Official

Enable live feature flags for web apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Web applications often need controlled feature rollouts and A/B experiments, but implementing feature flags from scratch is error-prone and hard to maintain.

Core Features & Use Cases

  • Boolean flags: Enable or disable features per user or segment.
  • Multivariate flags: Run experiments with multiple variants.
  • Payloads: Retrieve extra data from feature flags to customize UI.
  • Use Case: Gate a new UI feature behind a flag in a React app and gradually roll it out.

Quick Start

Install the PostHog JavaScript SDK in your web app and start gating features using isFeatureEnabled or getFeatureFlag.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: feature-flags-web
Download link: https://github.com/PostHog/skills/archive/main.zip#feature-flags-web

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.