flag-publish

Installation
SKILL.md

flag-publish

Get a GrowthBook feature flag draft revision live, or undo a change. Handles the full publish flow including the two common failure modes — approval-required (blocked) and merge conflict (stale base) — and the escape hatches: discard and revert.

All API calls go through the bundled helper: ${CLAUDE_PLUGIN_ROOT}/scripts/gb-call. It needs GB_API_KEY set in env or written to ~/.config/growthbook/.env by /growthbook:gb-setup.

Workflow

Pick the path that matches what the user asked for. Each path ends at Report — do not continue into another path after completing one.

  • Publish → steps 1 → 2 → (3a or 3b only if step 2 fails) → 6
  • Discard → step 4 → 6
  • Revert → step 5 → 6

1. Identify the revision

If a version number is already in context (threaded from a previous write skill in this session), skip ahead — use it directly.

If the user provides a flag ID but no version, use /latest:

Installs
43
GitHub Stars
21
First Seen
Jun 2, 2026
flag-publish — growthbook/skills