Loading...
FlagShark is an automated feature flag lifecycle management platform that integrates with GitHub to detect, track, and clean up stale feature flags across your codebase using deterministic tree-sitter AST parsing. It monitors pull requests, identifies when flags are added or removed, and creates safe cleanup PRs to eliminate technical debt.
From installation to your first cleanup PR in under 3 minutes
Connect FlagShark to your GitHub repositories in under 30 seconds. No code changes, no CI pipeline modifications required.
FlagShark monitors every pull request, parses code diffs using tree-sitter AST parsing, 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 flags become stale, FlagShark creates safe cleanup pull requests that deterministically remove dead code while preserving business logic.
FlagShark parses your code into abstract syntax trees for accurate detection. No false positives from comments, strings, or variable names.
Cleanup PRs use deterministic code transformations — not AI-generated suggestions. The output is always syntactically valid and semantically correct.
FlagShark never modifies your code directly. Every change comes as a standard pull request that your team reviews and merges through your existing workflow.
FlagShark uses tree-sitter parsers for accurate syntax-aware detection across 12 programming languages:
Works with all major feature flag platforms and custom implementations:
FlagShark is an automated feature flag lifecycle management platform that integrates with GitHub to detect, track, and clean up stale feature flags across your codebase using deterministic tree-sitter AST parsing.
FlagShark uses tree-sitter to parse your code into an abstract syntax tree (AST), then matches flag provider method calls based on your configuration. This syntax-aware approach produces accurate results without false positives from comments or string literals.
FlagShark supports 12 programming languages: Go, TypeScript, JavaScript, Python, Rust, C#, Java, Kotlin, Ruby, PHP, Swift, and C++.
FlagShark works with LaunchDarkly, Unleash, Split.io, PostHog, Flagsmith, ConfigCat, Flipt, and any custom flag provider you define via a simple YAML configuration file.
Yes. FlagShark offers a free tier with up to 3 repositories, full flag detection, health scores, and analytics. Paid plans start at $99/month for teams needing more repositories and automated cleanup PRs.
No. FlagShark analyzes your code in isolated environments and never stores source code. Only flag metadata (names, locations, ages) is persisted. Access is read-only with minimal GitHub App permissions.
Install in 30 seconds. Get your first flag health score in minutes. Free forever for up to 3 repositories.