Hacker

Rahul G N

@rahulgowdagn575_ops

Joined Nov 2026Computer Science and Engineering (Data Science) Engineering Student at BMS College Of EngineeringIndia

Elsewhere

Projects

  • Flagsmith Flag Debt

    Flagsmith Experimentation HackathonNov 2026

    flagsmith-flag-debt is an Agent Skill that lets a coding agent such as Claude Code clean up stale feature flags end to end with the Flagsmith CLI. It finds flags that are no longer needed, deletes the dead code path, opens a pull request, and archives the flags once the change ships. The problem: feature flags are meant to be temporary, but removing one is tedious and risky. You have to work out which way it resolves in every environment, delete the right branch, make sure no other app still reads it, and only then switch it off. So flags pile up as dead code. Agents could do this work, but without guidance they guess: they delete the wrong branch, archive a flag a mobile app still uses, or remove a kill switch. Who would use it: engineering teams on Flagsmith who want flag cleanup handled by their coding agent, or run as a weekly check in CI that opens an issue listing what's ready to remove. How it works: the agent follows four phases, each with a check before the next. Inventory. It reads Flagsmith's lifecycle stage for each flag (built from the Stale tag, code-reference scans, usage analytics and permanent tags), plus each flag's state in every environment. A flag is marked for retirement only if it resolves the same way everywhere, with no overrides and no variants. Anything else is held with a reason, and permanent flags such as kill switches are never touched. Remove code. The agent finds every call site, keeps the right branch, and must get references to zero and tests passing. Pull request. The description is generated, including rollback steps. Archive. Only after the merge, and after rechecking each flag live. It holds any flag still being evaluated by clients or still found by Flagsmith's code scan in another repo. It archives rather than deletes, and records how to undo it. Every CLI call uses --jq to keep responses small. A full run on a 10-flag, 3-environment project reads about 470 tokens of tool output. An offline self-test (demo/run_demo.sh) checks every decision and refusal.

    Spartans@sanjaysv,@kirito69