mit einem Klick
statsig-to-ld
statsig-to-ld enthält 2 gesammelte Skills von launchdarkly-labs, mit Repository-Berufsabdeckung und Skill-Detailseiten auf SkillsMP.
Skills in diesem Repository
Migrate JavaScript/TypeScript/React/Node.js code from the Statsig SDK to LaunchDarkly. Use whenever the user mentions migrating off Statsig, replacing Statsig with LaunchDarkly, porting feature gates or dynamic configs to LaunchDarkly, converting StatsigUser to LDContext, or moving Statsig session replay / autocapture to LaunchDarkly Observability. Also use when a user pastes Statsig SDK code and asks for the LaunchDarkly equivalent. Handles feature gates and dynamic configs only — experiments are flagged and left in place. CRITICAL: agentic tools routinely import a stale LaunchDarkly Node SDK pulled from training data; this skill always resolves the current version via live npm lookup before writing any code.
Use when running, building, or troubleshooting the `statsig-to-ld` CLI — a tool that migrates flag definitions, targeting rules, and metric definitions from Statsig to LaunchDarkly. Triggers include Statsig→LaunchDarkly migration, the subcommands `analyze` / `flags import` / `targeting import` / `metrics convert`, API key setup for `STATSIG_CONSOLE_KEY` and `LD_API_KEY`, interpreting `migration-report.json` / `flag-import-report.json` / `targeting-import-report.json`, and lossy-targeting opt-ins via `--accept-data-loss`.