flagship

Installation
SKILL.md

Cloudflare Flagship

Flagship is Cloudflare's feature flag service: apps group flags, flags have typed variants and ordered targeting rules, and evaluation runs at the edge against propagated configuration. Your knowledge of the Flagship API may be outdated or missing. Prefer retrieval over pre-training: read the matching page below before writing code or commands, and treat the docs and generated types as the source of truth over this skill.

Documentation

Task Docs Check for
Understand the model Concepts Apps, flags, variant types, rule order, evaluation context, propagation
Evaluate flags in a Worker Get started, Configuration, Binding methods, Types Binding config, typed and *Details methods, context value types
Evaluate outside Workers or through OpenFeature OpenFeature SDK, TypeScript server, TypeScript client, Python, Go, Rust Package names, provider options, caching, minimum versions for structured context
Evaluate over HTTP without an SDK Evaluation API GET for scalar context, POST for structured context, token permissions
Target users or roll out gradually Targeting rules, Operators, Percentage rollouts Rule shape, nested attribute paths, bucketing attribute, cumulative A/B thresholds
Manage flags from the CLI Wrangler commands --rule syntax, rollout, split, enable/disable, --local, --json
Manage flags over HTTP API reference Apps, flags, and flag changelog endpoints; rules live on the flag object. Update flag is a PUT that clears omitted fields, so read the flag before writing
Create tokens for SDKs or automation API tokens Account-wide vs app-scoped tokens, Evaluate vs Read vs Write
Debug unexpected values Evaluation reasons and error codes reason and errorCode values
Plan rollouts and cleanup Best practices, Limits Rollout steps, flag removal order, key and context limits
Installs
2.4K
GitHub Stars
3.5K
First Seen
3 days ago