cloudbees-io/Clean up a feature flag with Claude Code

AI-driven feature flag cleanup action. Analyzes a repository and removes a specified feature flag, replacing all call sites with the given replacement value, then opens a pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
modeDispatch keyword: analyze | applyyes
flag-keyFlag key to remove. Single key; one-flag-per-invocation (v0.1).yes
replacement-valueLiteral to substitute at call sites. Must match the flag's declared type — boolean ('true' or 'false'), string, or number (integer or floating-point). The skill validates this against the flag's SDK declaration.no
languageSource language of the target repo: 'go'|'js'|'ts'|'py'|'java'. When unset, the entrypoint auto-detects by manifest priority (go > ts > js > py > java). Pass explicitly in polyglot repos to override auto-detection.no
report-pathAbsolute path to the analyze-mode report. Required in apply mode; pass through ${{ steps.<analyze>.outputs.report-path }}.no
base-branchUpstream branch to use as the analyze base. Defaults to the remote's default branch (origin/HEAD). Pass explicitly when cleaning a flag from a non-default branch.no
bifrost-base-urlBifrost gateway base URLyes
bifrost-vkBifrost virtual key. Sourced from a component-level secret in the calling workflow.yes
modelBifrost model alias to drive Claude Code with.noclaude-4-5-sonnet-global
namedescription
report-pathAbsolute path to the analyze-mode report.json (under $WORKSPACE/.flag-cleanup/, excluded from the PR via .git/info/exclude).
outcomeCanonical outcome code. See spec.md Outcome Codes table.
files-modifiedCount of files edited (apply modes only).