Cleaning Up Stale Feature Flags

Identify stale feature flags in a PostHog project and clean up the code that checks them.

About this skill

Identify stale feature flags in a PostHog project and clean up the code that checks them.

Maintained by PostHog. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01When to use this skill
  • 02What makes a flag stale
  • 03Establish what you can do
  • 04Workflow
  • 051. Establish scope
  • 062. Find and assess candidates

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

posthog/ai-plugin / cleaning-up-stale-feature-flags

Source reviewed October 2, 2026 · See publisher source