Loading...
FlagShark is an automated feature flag lifecycle management platform that integrates with GitHub to detect, track, and retire stale feature flags across your codebase using deterministic tree-sitter AST parsing. It monitors pull requests, identifies when flags are added or removed, and opens cleanup PRs to eliminate technical debt.
Connect FlagShark to your GitHub repositories in under 30 seconds. Detection needs no code changes; cleanup PRs run through your existing CI before a human merges.
FlagShark monitors every pull request, parses code diffs with syntax-aware detection (tree-sitter AST for TypeScript, JavaScript, Go, Python, Java, C#, PHP, and Rust; precise regex for the rest), and identifies feature flag additions and removals.
Every detected flag is tracked in a dashboard with health scores, age metrics, and ownership data so your team always knows which flags need attention.
When a flag has terminal-state evidence and a supported call shape, FlagShark opens a draft removal PR from an exact, deterministic recipe. Your CI runs. You review. You merge.
FlagShark parses TypeScript, JavaScript, Go, Python, Java, C#, PHP, and Rust into abstract syntax trees and uses precise regex patterns for the other languages. Matching flag calls by structure means far fewer false positives from comments, strings, or variable names.
Cleanup PRs use deterministic code transformations, not AI-generated suggestions. The same input always produces the same output. You can audit it.
FlagShark never modifies your code directly. Every change comes as a standard pull request that your team reviews and merges through your existing workflow.
Tree-sitter AST for TS, JS, Go, Python, Java, C#, PHP, and Rust; precise regex for the rest. Far fewer false positives than blind text search.
Works with the platform you already pay for. No vendor lock-in.
FlagShark is an automated feature flag lifecycle management platform that integrates with GitHub to detect, track, and retire stale feature flags across your codebase using deterministic, syntax-aware parsing.
FlagShark parses your code with tree-sitter into an abstract syntax tree (AST) for TypeScript, JavaScript, Go, Python, Java, C#, PHP, and Rust, and uses precise regex patterns for the other supported languages, then matches flag provider method calls based on your configuration. This syntax-aware approach produces far fewer false positives from comments or string literals than blind text search.
FlagShark detects feature flags in 13 programming languages: Go, TypeScript, JavaScript, Python, Rust, C#, Java, Kotlin, Ruby, PHP, Swift, C++, and Objective-C. Draft cleanup PRs are registered today for JavaScript, TypeScript, and Python; Go, Java, Kotlin, and Ruby have preview-only retirement cells; the rest are detection-only for now.
FlagShark works with LaunchDarkly, PostHog, Unleash, OpenFeature, ConfigCat, GrowthBook, Flagsmith, and Statsig out of the box (the exact set varies by language). Split and any other flag provider are supported via a simple .flagshark.yaml configuration file where you declare the SDK method and the flag-key argument.
Yes. FlagShark offers a free tier for 3 repositories, with the full GitHub Action and PR commenting. Paid plans start at $49/month for teams needing multi-repo support, dashboard analytics, Slack alerts, and a weekly email digest.
Migration assessment and preview artifacts can contain source and have expiry controls. Repository access and publication permissions depend on the workflow. Confirm retention and deletion terms when scoping a pilot.
Install in 30 seconds. Get your first cleanup PR within the hour. Free forever for 3 repos.