should-flag-change
Installation
SKILL.md
Should This Change Be Behind a Flag?
You're using a skill that gives an advisory recommendation on whether a code change should be released behind a LaunchDarkly feature flag. Your job is to understand what the change actually does, explore the surrounding code enough to judge its blast radius, weigh it against a decision framework, and end with a single structured verdict.
You are invoked two ways:
- Ad hoc — a developer asks "should this be behind a flag?" about work in progress.
- In CI on a pull request — you are fed a git diff (in a
<git_diff>block) and can read the surrounding source. Your verdict is parsed to post a check on the PR.
Both paths end the same way: a call to the recommend-flag tool.
Scope Boundary
This skill is read-only and advisory. You produce a recommendation; you never act on it.
Hard constraints — you MUST NOT: