LogoClawIndex
CasesSkillsAbout
LogoClawIndex

cleaning-up-stale-feature-flags - Safely clean up stale PostHog feature flags

Identify stale PostHog feature flags, verify dependencies and repository usage, and remove their code checks without changing the flags in PostHog.

Tags

Updated: 2026-11-25

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Identify stale feature flags
  • Assess rollout and dependencies
  • Inspect repository call sites
  • Remove obsolete flag checks
  • Run local tests
  • Generate cleanup handoff prompts
  • Open authorized draft PRs

Inputs

  • PostHog project
  • Feature flag keys
  • Audit scope
  • Repository access
  • Repository write access
  • Publishing authorization
  • Product tour usage confirmation
  • Other deployed consumer information

Outputs

  • Stale flag assessment
  • Repository-specific cleanup plan
  • Cleanup handoff prompt
  • Tested local code changes
  • Draft pull requests

Requirements

  • PostHog feature-flag read tools
  • Repository read access for inspection
  • Repository write access for edits
  • Local test environment
  • User authorization for publishing

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
PostHog
feature flags
technical debt
code cleanup
repository analysis
rollout audit
Identify stale feature flags
Assess rollout and dependencies
Inspect repository call sites
Remove obsolete flag checks
PostHog project
Feature flag keys
Audit scope
Stale flag assessment
Repository-specific cleanup plan
Cleanup handoff prompt