feature-flags
БесплатноБез исполняемых скриптовНе проверенAdd or change typed configuration, environment variables, feature flags, targeting, defaults, or rollout behavior in this monorepo. Use whenever application…
от shepherdjerred★ 85 звёзд на GitHubОб этом скилле
Feature flags and configuration
First-party applications use environment variables only for credentials and
bootstrap (FEATURE_FLAGS_MODE=flags, FLAGS_URL, and FLAGS_DEPLOYMENT as
<catalog>/<stage>). Other runtime behavior is a feature flag served by the
first-party @shepherdjerred/flags service and resolved by
@shepherdjerred/config and @shepherdjerred/feature-flags.
Resolution is flag -> env -> file -> default. Fall through only on absence:
false, 0, and other resolved values stop the chain. A failing source is
observed and may fall through; a present invalid value throws. Empty environment
strings are absent.
Before adding a key:
- Find the existing read site and determine whether it is per-call, session-scoped, or boot-wired.
- Classify credentials/bootstrap versus behavior.
- Define a Zod schema, safe production-compatible default, allowed sources,
sensitivity, and targeting. A variant flag's value schema lives in the
registry
packages/feature-flags/src/flag-value-schemas.ts(encoding plus decoded Zod schema, no transforms), never only in the consumer: add the entry, runbun run generateinpackages/feature-flags, and have the consumer useschema: flagValueSchema(key)withkinds: { ...: flagValueKind(key) }. The Flags server rejects writes that fail the registry. - New features default on in production and beta. Keep the code default,
packages/feature-flags/src/managed-flag-inventory.jsondeclarations, and active deployment projections (packages/feature-flags/src/deployments.ts) aligned, including environment overrides. Use flags to disable a feature when needed. A temporary default-off exception requires a concrete blocker and tracked follow-up with enablement criteria. Missing declared keys are created in live Flags deployments automatically; existing targeting needs an explicit revision-checked rollout change viatoolkit flagsorbun run check-flag-inventory. - Test absence, explicit false/zero, invalid values, source failures, and provenance.
Delivery includes verifying the feature is enabled in the intended live
deployment (toolkit flags get <deployment> <flag> or the Flags UI at
https://flags.tailnet-1a49.ts.net) and exercising its user-visible behavior.
A merge behind a disabled flag is incomplete unless the default-off exception
is recorded.
Do not make @shepherdjerred/config depend on the Flags provider;
@shepherdjerred/feature-flags injects the source. Never label metrics by
unbounded targeting keys or log sensitive values. A flag evaluation of false
is an answer, not an outage.
Flags evaluation (port 7361 in-cluster: /v1/deployments/:catalog/:stage/snapshot
and /v1/evaluate) and management (port 7360) use separate listeners and
NetworkPolicy ports. Evaluation is credentialless and rejects Authorization
headers. Management writes require verified Tailscale operator identity or the
brokered FLAGS_MACHINE_TOKEN (flags-auth in 1Password, resolved via
toolkit flags --machine or toolkit run --env FLAGS_MACHINE_TOKEN); follow
the flag inventory operator how-to
and never put management credentials in consumer configuration.
Установить feature-flags в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл feature-flags?
Add or change typed configuration, environment variables, feature flags, targeting, defaults, or rollout behavior in this monorepo. Use whenever application behavior becomes configurable or gated.
Как установить скилл feature-flags?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-flags запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic