/posthog-all:omnibus-instrument-feature-flagsfrom posthog-all
Adds PostHog feature flags to gate new functionality with safe rollouts. Handles initial SDK setup and supports many platforms and languages.
Ships in posthog-all. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to add PostHog feature flags that gate new or changed functionality. Use it after implementing features or reviewing PRs to ensure safe rollouts with feature flag controls. If PostHog is not yet installed, this skill also covers initial SDK setup. Supports any platform or language.
Supported platforms: React, Next.js, React Native, Web (JavaScript), Node.js, Python, PHP, Ruby, Go, Java, Rust, .NET, Elixir, Android, iOS, Flutter, and the REST API.
Follow these steps IN ORDER:
STEP 1: Analyze the codebase and detect the platform.
STEP 2: Research instrumentation. (Skip if PostHog is already set up.) 2.1. Find the reference file below that matches the detected platform — it is the source of truth for SDK initialization, flag evaluation methods, and framework-specific patterns. Read it now. 2.2. If no reference matches, fall back to your general knowledge and web search. Use posthog.com/docs as the primary search source.
STEP 3: Create or find the feature flag.
STEP 4: Plan release conditions.
STEP 5: Instrument the feature.
STEP 6: Set up environment variables.
references/react.md - React feature flags installation - docsreferences/react-native.md - React native feature flags installation - docsreferences/web.md - Web feature flags installation - docsreferences/nodejs.md - Node.js feature flags installation - docsreferences/python.md - Python feature flags installation - docsreferences/php.md - Php feature flags installation - docsreferences/ruby.md - Ruby feature flags installation - docsreferences/go.md - Go feature flags installation - docsreferences/java.md - Java feature flags installation - docsreferences/rust.md - Rust feature flags installation - docsreferences/dotnet.md - .net feature flags installation - docsreferences/elixir.md - Elixir feature flags installation - docsreferences/android.md - Android feature flags installation - docsreferences/ios.md - Ios feature flags installation - docsreferences/flutter.md - Flutter feature flags installation - docsreferences/api.md - API feature flags installation - docsreferences/next-js.md - Next.js - docsreferences/adding-feature-flag-code.md - Adding feature flag code - docsreferences/best-practices.md - Feature flag best practices - docsEach platform reference contains SDK-specific installation, flag evaluation, and code examples. Find the one matching the user's stack. If unlisted, use the API reference as a fallback.
references/adding-feature-flag-code.md (opens in a new tab)references/android.md (opens in a new tab)references/api.md (opens in a new tab)references/best-practices.md (opens in a new tab)references/dotnet.md (opens in a new tab)references/elixir.md (opens in a new tab)references/flutter.md (opens in a new tab)references/go.md (opens in a new tab)references/ios.md (opens in a new tab)references/java.md (opens in a new tab)references/next-js.md (opens in a new tab)references/nodejs.md (opens in a new tab)references/php.md (opens in a new tab)references/python.md (opens in a new tab)references/react-native.md (opens in a new tab)references/react.md (opens in a new tab)references/ruby.md (opens in a new tab)references/rust.md (opens in a new tab)references/web.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
PostHog, React, Next.js, JavaScript, Node, Python, React Native, Flutter
posthog, feature-flags, sdk-setup, rollout-strategy, a-b-testing
posthog@bokendell-skills is listed by aaronkendell/skills-marketplace — review the source before installing
npx claudepluginhub aaronkendell/skills-marketplace --plugin posthog79 skills in this plugin
/error-tracking-goPostHog error tracking for GoOther plugins' skills for the same job