From suaveplan-config
Use when implementing or debugging code that uses @suaveplan/feature-flags: Provider-agnostic feature flag evaluation with typed flag values, strategy chains, and deterministic bucketing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/suaveplan-config:feature-flagsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provider-agnostic feature flag evaluation engine for controlling feature rollout without code deploys. The package ships a `FlagManager` high-level façade, a `FlagRegistry` backed by any pluggable `FlagProvider`, and an `Evaluator` strategy chain. Five composable strategies cover the full rollout playbook: `PercentageStrategy` (deterministic FNV-1a bucketing for consistent user cohorts), `UserT...
Provider-agnostic feature flag evaluation engine for controlling feature rollout without code deploys. The package ships a FlagManager high-level façade, a FlagRegistry backed by any pluggable FlagProvider, and an Evaluator strategy chain. Five composable strategies cover the full rollout playbook: PercentageStrategy (deterministic FNV-1a bucketing for consistent user cohorts), UserTargetStrategy (allowlist), AttributeStrategy (10 comparison operators for segment targeting), ScheduleStrategy (time-window gating), and CompositeStrategy (AND/OR combinator). Built-in providers include MemoryProvider and JsonProvider for file-based flag definitions. Evaluation priority is: flag disabled → in-process override → first matching strategy → default value. This package is for runtime flag evaluation only — it is not a flag management UI or remote config service.
@suaveplan/feature-flags.import { /* see API Reference below */ } from "@suaveplan/feature-flags";
Workspace dependencies: @suaveplan/error, @suaveplan/events, @suaveplan/logger, @suaveplan/types
This skill is intentionally short. The package's own documentation is the authoritative source — read these in order:
packages/config/feature-flags/README.md — overview, install, quick-start, module indexpackages/config/feature-flags/src/**/*.md — co-located docs per implementation file (Purpose, Features, Basic + Advanced examples, full API reference, Implementation notes — all packages in genesis ship ≥200 words per module)packages/config/feature-flags/package.json exports map — every subpath you can import fromWhen the user asks an API question, read the relevant co-located .md first; do not answer from training-data memory.
@suaveplan/error@suaveplan/events@suaveplan/logger@suaveplan/typesThis SKILL.md is auto-generated by suaveplan-skills/scripts/generate-skills.ts from the package's README. Do not edit by hand — re-run the generator after the README changes.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub suaveplan/suaveplan-skills --plugin suaveplan-config