Add PostHog feature flags to gate new functionality. Use after implementing features or reviewing PRs to ensure safe rollouts with feature flag controls. Also handles initial PostHog SDK setup if not yet installed.
安装
npx skills add PostHog/ai-plugin --skill instrument-feature-flagsnpx skills add PostHog/ai-plugin --skill instrument-feature-flags -a claude-code -gnpx skills add PostHog/ai-plugin --skill instrument-feature-flags -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/instrument-feature-flagsgh skill install PostHog/ai-plugin instrument-feature-flagsgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/instrument-feature-flags ~/.claude/skills/instrument-feature-flags # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/instrument-feature-flags ~/.agents/skills/instrument-feature-flags # Codex, Cursor, Gemini CLI, Copilot, OpenCode