Use Feature Flags

Use when gating a code path behind a feature flag or rolling something out gradually — evaluating a flag from a central flag service (scoped by service + flag name + user/session + targeting properties), failing safe (unknown/error/timeout = off), caching the lookup, and choosing a flag over a NODE_ENV/env branch. Covers flag lifecycle (name, owner, removal) and its tie to safe releases. NestJS/TS reference, framework-flexible.

kennguyen887 3a089ec 4.8 KB Updated

File contents

kennguyen887/agent-foundation/tree/main/skills/use-feature-flags commit 3a089ec304

Frequently asked questions

npx skillmds@latest add kennguyen887/use-feature-flags