flags-sdk

Manage feature flags across Next.js and SvelteKit with server-side evaluation.

2|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/raiden076/Prism --skill flags-sdk-raiden076
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flags-sdk
Source: https://github.com/raiden076/Prism/tree/main/.agents/skills/flags-sdk
Command: npx skills add https://github.com/raiden076/Prism --skill flags-sdk-raiden076

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Feature flags are essential for controlled rollout and experimentation across modern web apps. Flags SDK provides a provider-agnostic approach to declare, evaluate, and manage flags for Next.js and SvelteKit with server-side evaluation, precompute patterns, and Flags Explorer integration.

Core Features & Use Cases

  • Declarative flag definitions with key, decide, and optional identify and adapters.
  • Server-side evaluation and precompute support for ISR/static pages.
  • Flags Explorer integration and multi-provider data merging for dashboards.

Quick Start

Install the Flags SDK and declare a flag in your app to trigger server-side evaluation.

Frequently Asked Questions about flags-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement feature flags across Next.js and SvelteKit?

You can implement feature flags across Next.js and SvelteKit by declaring flags with a key, decide function, and optional adapters to trigger server-side evaluation and precompute workflows for static pages.

What is a precompute workflow for feature flags?

A precompute workflow for feature flags evaluates flag states during build or static generation, allowing ISR and static pages to serve the correct content without runtime overhead.

Does the Flags SDK work with LaunchDarkly, Statsig, and PostHog?

Yes, the Flags SDK supports multi-provider integration with LaunchDarkly, Statsig, PostHog, Vercel, GrowthBook, Hypertune, and OpenFeature through a provider-agnostic approach.

Can I merge feature flag data from multiple providers into a single dashboard?

Yes, you can merge feature flag data from multiple providers into a single dashboard using the Flags Explorer integration and multi-provider data merging capabilities.

How do I declare a feature flag for server-side evaluation?

To declare a feature flag for server-side evaluation, define it with a key, a decide function, and optional identify or adapter parameters to determine its state.