一键导入
statsig-to-ld
statsig-to-ld 收录了来自 launchdarkly-labs 的 2 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
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`.