ClaudeSuperPower

flag-publish

Skill

Publish a GrowthBook feature flag draft revision, resolve merge conflicts, revert to a prior revision, or discard a draft. Use when the user says "publish this draft", "push this live", "go live with revision X", "there's a merge conflict on my flag", "rebase my draft", "fix the merge conflict on fl

Install

git clone https://github.com/growthbook/skills.git ~/.claude/skills/flag-publish

What is flag-publish?

Publish a GrowthBook feature flag draft revision, resolve merge conflicts, revert to a prior revision, or discard a draft. Use when the user says "publish this draft", "push this live", "go live with revision X", "there's a merge conflict on my flag", "rebase my draft", "fix the merge conflict on flag X", "revert flag X to a previous version", "roll back this flag change", "discard this draft", or "abandon these changes". For requesting or submitting an approval review before publish, use flag-review. For listing and inspecting drafts, use flag-revisions.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

~140 tokens of context used while enabled, before you invoke anything

All declared tools (1)
Bash

Documentation

README · ~8 min read

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.

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.