Install any skill in seconds. Free to start, no credit card required.
Get Started Free →webiny/webiny-add-feature-flag
Adding a new feature flag to the Webiny system.
Passed 20 of 22 test cases with the skill, and 3 of 22 without it.
and 30 more in the full report
17 fixed3 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
In the API layer of Webiny, which exact file decorates feature flags with WCP license checks?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies packages/api-core/src/features/featureFlags/decorators/FeatureFlagsWithLicenseDecorator.ts as the API license decorator location. | Missed | Passed |
The instructions your model reads when the skill loads.
A WCP license is required for feature flags to work. The license is the gate; the config is the switch within the gate.
1. No license at all → false (everything off, config ignored)
2. License blocks the flag → false (config ignored)
3. License allows + config=false → false (config can disable what license allows)
4. License allows + config=true → true
5. License allows + config unset → true (license is the authority for unset flags)
6. Not in LICENSE_CHECKS + license exists + config unset → true
7. Not in LICENSE_CHECKS + license exists + config=false → false
Key points:
LICENSE_CHECKS) still require a license to exist — then config decides.FeatureFlags class (packages/feature-flags/src/FeatureFlags.ts) — single isEnabled(name) method resolves dot-path strings against the DTO. Flags are disabled by default (undefined → false). Also provides isExplicitlyDisabled(name) to distinguish "not set" from "set to false".IFeatureFlagsDto (packages/feature-flags/src/types.ts) — the typed DTO interface.KnownFeatureFlag (packages/feature-flags/src/FeatureFlags.ts) — string literal union for autocomplete.packages/project/src/extensions/FeatureFlags.tsx) — validates the config input.toDto() returns the fully resolved state (all flags explicitly set), used by the featureFlags GraphQL query.isEnabled() and apply the decision flow above via a LICENSE_CHECKS map.File: packages/feature-flags/src/types.ts
Add the new flag to IFeatureFlagsDto:
test cases passed, vs 3 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.