cleaning-up-stale-feature-flags

Official

Safely prune stale feature flags

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify and clean up stale feature flags in a PostHog project to reduce technical debt and prevent unused or misconfigured flags from affecting experiments and deployments.

Core Features & Use Cases

  • Staleness detection: identify flags with no usage data for 30+ days or fully rolled out with no conditions.
  • Risk-aware assessment: check for experiment ties and dependencies before cleanup.
  • Cleanup guidance: generate a safe code-change plan and actions (disable or delete) with step-by-step prompts.

Quick Start

Follow the workflow to scan for stale flags, assess each candidate, and produce a safe cleanup plan.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: cleaning-up-stale-feature-flags
Download link: https://github.com/PostHog/skills/archive/main.zip#cleaning-up-stale-feature-flags

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.