Loading...
FlagShark does one thing: scan your repo, then propose the cleanup PR. Everything below is built on that single move, the capabilities that make cleanup automatic at team and org scale.
Tree-sitter WASM grammars parse your code into a real syntax tree. We match flag SDK calls structurally. No regex, no false positives from comments or strings. Works with LaunchDarkly, Statsig, Split, ConfigCat, Flagsmith, Unleash, PostHog, OpenFeature, and any custom flag pattern.
Click a finding, FlagShark opens a separate PR that removes the dead else-branches, deletes the SDK call sites, removes orphan helper functions, updates affected tests. Your CI runs. You review in 30 seconds. We never auto-merge.
Health scores 0-100 per repo. Age distribution charts. Weekly trends. The number that matters: MAER (Monthly Active Engaged Repos), repos where a FlagShark PR comment was acted on in the last 30 days.
Multi-workspace management. Role-based access control. Activity timeline that survives team turnover. Complete audit trail for compliance reviews. Slack digest every Monday.
WebSocket-powered live updates. See findings stream in as PRs open across your org.
Mark critical flags (kill switches, region toggles) to permanently exclude from cleanup proposals.
Power-user shortcuts with ⌘K. Navigate, search, act without leaving the keyboard.
CSV / JSON / SOC2-ready audit export. Required for compliance reviews and incident retros.
Event-sourced history showing every state change for every flag. Survives team turnover.
Per-team staleness rules. 30-day default; tighten or loosen per repo via .flagshark.yaml.
Native PR-based workflow. Automatic detection on every PR opened. Cleanup PRs ship from the GitHub App. No webhook config, no API tokens, no setup.
Sync with your LD environment. Detect flags archived in LD but still in code. Cleanup PRs auto-open. Reduces your LaunchDarkly bill by removing unused evaluations.
8 lines of YAML in .github/workflows/ gets you all of it. Free for 3 repos, forever.
No credit card · 30s install · works with any flag SDK