Skip to content

Stale Feature Flag Finder

Find feature flags that are fully rolled out and can be removed.

Beginner10h1 person16/20 fit
TL;DR

Build Stale Feature Flag Finder for engineering teams in ~10h with 1 person. Stack: Node.js + Tree-sitter + GitHub API.

Why it wins: Tech debt cleanup automated.

Build flow

01 · Problem
Old flags pile up and make code hard to reason about.
02 · Solution
Scan code for flag references, compare with flag service state and open cleanup PRs for flags at 100 percent for weeks.
03 · Build
  1. 1Scan references
  2. 2Fetch flag state
  3. 3Generate patch
  4. 4Open PR
04 · Demo
Show a cleanup PR generated for a stale flag.

MVP checklist

  • Flag scan
  • Rollout state
  • Cleanup PRs
  • Report

Tech stack

TechRole
Node.jsBackend runtime
Tree-sitterCode parsing
GitHub APIRepo + PR data

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More Devtools
  • Find unused exports, files and functions safely

    Intermediate14h1
    Tree-sitterNode.js
    16/20
  • Catch missing or mismatched environment variables before deploys fail

    Beginner8h1
    Node.jsTree-sitter
    17/20
  • Paste an error and get the likely cause, the relevant line and a fix

    Beginner10h1
    LLMNode.jsTree-sitter
    17/20