Comprehensive guide for implementing feature flags and A/B tests using the Flags SDK (the `flags` npm package) and Vercel Flags (Vercel's feature flags platform, managed via dashboard or `vercel flags` CLI). Use when: (1) Creating or declaring feature flags with `flag()`, (2) Using Vercel Flags with `vercelAdapter()` or the `vercel flags` CLI (`add`, `list`, `enable`, `disable`, `inspect`, `archive`, `rm`, `sdk-keys`), (3) Setting up feature flag providers/adapters (Vercel, Statsig, LaunchDarkly, PostHog, GrowthBook, Hypertune, Edge Config, OpenFeature, Flagsmith, Reflag, Split, Optimizely, or custom adapters), (4) Implementing precompute patterns for static pages with feature flags, (5) Setting up evaluation context with `identify` and `dedupe`, (6) Integrating the Flags Explorer / Vercel Toolbar, (7) Working with feature flags in Next.js (App Router, Pages Router, Middleware) or SvelteKit, (8) Writing custom adapters, (9) Encrypting/decrypting flag values for the toolbar, (10) Any task involving the `flags`
Key Features
- Comprehensive skill evaluation and performance tracking
- Community-driven ratings and reviews
- Easy integration with Claude Code
- Regular updates and maintenance
Quick Start
TopRank Skills install vercel/flags-sdk
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!