flag-revisions
Installation
SKILL.md
flag-revisions
Inspect and manage draft revisions on GrowthBook feature flags. Every flag change goes through a draft revision before going live — this is the "what's in flight?" skill. Use it to see open drafts, understand their status, and manage their lifecycle (create, discard). Making actual flag changes (rules, metadata, toggles, default value) is handled by the relevant flag-* write skills, which create and manage drafts automatically.
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.
Revision status reference
| Status | Meaning | What happens next |
|---|---|---|
draft |
Being edited, not yet submitted | Edit more, then request-review or publish |
pending-review |
Review requested, awaiting approval | Reviewer submits decision via flag-review |
approved |
Approved, ready to publish | Publish via flag-publish |
changes-requested |
Reviewer flagged issues | Author edits draft, re-requests review |
published |
Live, immutable | Can be reverted via flag-publish |
discarded |
Abandoned | No further action |
pending-parent |
Auto-managed by a ramp schedule | Do not discard manually |