Skip to content

Add Flagship (feature flags) skill reference - #47

Merged
dmmulroy merged 2 commits into
cloudflare:mainfrom
roerohan:add-flagship-skill
Apr 27, 2026
Merged

Add Flagship (feature flags) skill reference#47
dmmulroy merged 2 commits into
cloudflare:mainfrom
roerohan:add-flagship-skill

Conversation

@roerohan

@roerohan roerohan commented Apr 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds Flagship feature flags as a new product reference under skills/cloudflare/references/flagship/ following the standard 5-file structure
  • Updates the cloudflare mega-skill SKILL.md with a feature flags decision tree and product index entry

What's included

Reference files (skills/cloudflare/references/flagship/)

File Content
README.md Overview, key concepts, two evaluation paths (binding vs SDK), when-to-use table, reading order
api.md Binding methods + types, OpenFeature SDK (server + client providers), REST API endpoints, FlagDefinition schema, 11 operators, rate limits, error codes. Includes prerequisite check for env vars before API operations.
configuration.md Wrangler binding setup (single/multi-app), type generation, SDK installation, provider options reference, REST API auth
patterns.md Flag evaluation (binding + OpenFeature), full flag CRUD via REST API (create, read, list, update, delete), toggle on/off, add/remove rules, change rollout %, change default variation, add variations, targeting rule patterns, progressive rollout workflow, safe deletion
gotchas.md Common errors + fixes, limits table, anti-patterns, propagation behavior

SKILL.md changes

  • New "I need feature flags" decision tree pointing to flagship/
  • New "Feature Flags" section in product index
  • Updated frontmatter description to mention Flagship

Notes

  • Uses api.cloudflare.com for dashboard operations
  • Evaluate endpoint correctly requires auth (flagship:evaluate token)
  • Logical nesting depth documented as 6 levels per official docs
  • All REST API patterns use read-modify-write for PUT (full replace, not partial)

Add reference files for Cloudflare Flagship (feature flag service) under
skills/cloudflare/references/flagship/ following the standard 5-file
structure (README, api, configuration, patterns, gotchas).

Covers:
- Binding API for Workers (env.FLAGS)
- OpenFeature SDK (server + client providers)
- REST API for flag management (CRUD, toggle, targeting rules, rollouts)
- FlagDefinition schema, operators, conditions, rate limits
- Progressive rollout workflows and safe deletion patterns

Also updates the cloudflare mega-skill SKILL.md with a feature flags
decision tree and product index entry.
Comment thread skills/cloudflare/SKILL.md Outdated
@dmmulroy
dmmulroy merged commit 7c449de into cloudflare:main Apr 27, 2026
@roerohan
roerohan deleted the add-flagship-skill branch April 28, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants