In short.
Feature Flag Patterns is an assistant skill for developers controlling feature releases, but its example emergency switch can allow blocked work again during an outage. Its strongest material connects rollout decisions with ownership, expiry reminders, experiment tracking and cleanup. The TypeScript examples omit required fields and supporting implementations, and the switch's error handler does not preserve cached decisions as its comment suggests. No execution results, benchmarks or production reliability evidence are supplied.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete supplied snapshot of skills/feature-flag-patterns at revision 9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a: its SKILL.md, plus the repository-level LICENSE as the related notice outside the folder. Other repository content, external services and later revisions are outside scope. No code was executed; compilation, runtime behavior, assistant loading, statistical properties and production suitability remain unassessed.
The overview
Identity
The resource is skills/feature-flag-patterns/SKILL.md in vibeeval/vibecosystem. Its front matter names the skill feature-flag-patterns and describes rollout strategies, emergency switches, A/B testing and lifecycle management. The selected folder contains a written skill with code examples and a checklist; it does not supply a complete executable flag service.
Original folder: [https://github.com/vibeeval/vibecosystem/tree/main/skills/feature-flag-patterns]. The assessed source revision is 9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a.
Assessment
Useful as design guidance and a code-review reference for teams introducing feature flags. It explains how rollout control, experiment tracking and cleanup relate, with concrete checkout examples.
Treat the snippets as starting points requiring engineering work. Missing type definitions, incomplete configuration and an unsafe outage behavior for some emergency controls prevent treating them as a deployment-ready implementation. Runtime correctness and assistant compatibility are unassessed.
Users
The material suits application developers and platform teams planning staged releases, targeted access, checkout experiments or emergency feature shutdowns. Beginners can use the categories and checklist to understand the responsibilities that come with adding flags.
Implementing the examples requires TypeScript knowledge and the ability to connect application identities, flag storage and analytics. Teams seeking a hosted dashboard, supported SDK or complete statistical experimentation system will need additional resources.
Capabilities
The examples illustrate on/off flags, percentage rollout, user-list and attribute targeting, weighted variants, emergency switches, and exposure and conversion events. Metadata includes ownership, creation dates, optional expiry dates and lifecycle tags.
An audit function reports expired, ownerless, potentially stale and unexpectedly permanent flags. Weekly audits, Slack alerts and removal of obsolete code are recommendations; scheduling, Slack integration and automatic cleanup are not implemented.
Using it
Requirements
The snippets require supporting implementations such as FlagStore, Segment, AnalyticsClient and FlagAuditReport. The declared FeatureFlag interface lacks percentage, segments, variants and lastModified, although later examples access those fields.
An implementation also needs stable user identifiers, flag configuration and any user attributes used for targeting. Experiment tracking needs an analytics destination; the checkout example needs JSX-capable tooling and UI components. No package manifest, dependency versions, runtime compatibility matrix or supported assistant hosts are supplied.
Mechanism
Percentage rollout hashes the flag key and user ID into a bucket from 0 to 99, then compares it with the configured percentage. Fixed inputs give repeatable assignment. Segment matching accepts any matching user list, attribute rule or segment-specific percentage rule. Variant selection walks cumulative weights and falls back to control when no assignment is available.
The emergency-switch example polls its store every five seconds by default and caches values for ten seconds. Missing or expired entries return false, meaning the switch does not block work. Experiment tracking sends exposure and conversion events, while the audit function builds a report without changing flags or removing application code.
Setup
No installation command or assistant-loading procedure is documented. Whether a particular assistant recognizes this SKILL.md format is unknown.
To implement the sketches, complete the missing types and storage interfaces, define actual flag values and variant weights, connect analytics where needed, and choose outage defaults for each operation. Polling needs startup and shutdown handling, and periodic audits need a scheduler. These integration steps follow from the examples; they are not a supplied installation procedure.
Example
The checkout example requests a variant for checkout-redesign, records an exposure, displays the new checkout when the variant is new, and records a conversion on completion. This illustrates the intended sequence from assignment to outcome.
The shown configuration does not define checkout-redesign or its variant weights. It instead declares new-checkout-flow as a percentage flag without a percentage value. Under the shown evaluator, that missing value defaults to zero, so this flag would enable no users. Additional configuration and shared service instances are needed to connect the examples.
Assessment & evidence
Limitations
The emergency-switch error handler contains only a comment claiming that cached values are extended. It does not update their expiry. A cached blocking decision therefore expires during an outage, after which isKilled returns false. The same permissive result applies before the first successful refresh. Polling also means changes are not instantaneous.
Experiment exposure is recorded in the checkout component body, so repeated renders can produce repeated exposure events. Conversion tracking recomputes the current variant instead of retaining the exposed assignment; configuration changes can therefore attribute a conversion to a different variant. Deduplication, sample-size planning and statistical analysis are not supplied.
The hash and variant-weight handling have no supplied validation or distribution measurements. Expiry dates affect reporting rather than evaluation. The stale-flag heuristic uses lastModified, which does not specifically record when a flag reached full rollout.
Reasoning
Ownership, expiry reminders, repeatable assignment and removal of obsolete branches are the most transferable ideas: they connect a temporary release decision with ongoing maintenance responsibility.
Fallback behavior needs a separate decision for each flag. Returning false can keep a new feature disabled, but returning false for an emergency switch permits the affected operation. The checklist acknowledges this distinction, while the switch example hardcodes the permissive choice.
The permission category should not be interpreted as an authorization implementation. The document itself warns against using feature flags in place of proper role-based access control or permissions.
Alternatives
Within the document, boolean flags support simple on/off control, percentage flags support gradual exposure, segments target particular users, and variants support multiple experiences. These mechanisms address different needs and need not all be implemented.
No external skills, SDKs or hosted services are compared. Teams needing a maintained runtime, central management or statistical experiment analysis should evaluate complete implementations separately. Their relative features, reliability, compatibility and prices are unknown here.
Evidence
The source snapshot contains the selected skill document and the repository-level licence. The skill provides code sketches, comments, a checklist and anti-pattern guidance. No build output, test results, benchmarks or production deployment evidence accompany it.
Revision-pinned skill source: [https://raw.githubusercontent.com/vibeeval/vibecosystem/9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a/skills/feature-flag-patterns/SKILL.md]. The implementation concerns described here follow from the supplied code text; runtime behavior has not been tested.
Access & freshness
Costs
The MIT licence grants the stated permissions free of charge. The skill specifies no required paid service and provides no hosting, analytics, assistant-use or support prices.
Development effort and operating costs depend on the chosen implementation and services. No total cost estimate is established.
Rights
The repository-level MIT License names Copyright (c) 2026 vibeeval. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation.
Copies or substantial portions must retain the copyright and permission notice. The licence provides the material without warranty and disclaims liability. Licence source: [https://raw.githubusercontent.com/vibeeval/vibecosystem/9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a/LICENSE].
Freshness
The snapshot was captured on 17 November 2026 at 14:17:50 UTC and identifies commit 9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a. These findings apply to that revision; later changes to the main branch are unknown.
No release version or supported-version matrix is supplied. The 2024 and 2025 dates inside example flags are configuration examples, not evidence of when the skill was updated.
Actions
Use the lifecycle checklist to assign owners, set expiry reminders and plan removal of obsolete branches. Before adapting the code, complete its types and configuration, validate percentage and variant weights, and keep authorization in the application's permission system.
For emergency controls, explicitly decide what happens at startup, on missing data and after cache expiry. Correct the mismatch between the error-handler comment and implementation, then verify outage and recovery behavior.
For experiments, preserve the assignment used at exposure, prevent duplicate exposure events and establish an analysis method. Compilation, assignment consistency, targeting, experiment attribution and cleanup behavior still need validation; no such checks were executed.
