CtrlK
BlogDocsLog inGet started
Tessl Logo

webiny-add-feature-flag

Adding a new feature flag to the Webiny system. Use this skill when creating a new feature flag (simple boolean or nested group), gating a feature at the config/admin/API level, or wiring a flag into the WCP license system. Covers IFeatureFlagsDto, KnownFeatureFlag, Zod schema, FeatureFlag.CanUse components, useFeatureFlags().isEnabled(), the API FeatureFlags abstraction, toDto(), and the LICENSE_CHECKS decorator pattern.

68

Quality

82%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

72%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable with concrete, executable code and clear sequencing, but it lacks verification checkpoints for a multi-file change and keeps all material inline rather than splitting advanced sections into referenced files.

Suggestions

Add an explicit validation/verification step to the workflow (e.g., 'Run `yarn tsc` and verify the flag resolves via the GraphQL featureFlags query') so multi-file changes are checked before completion.

Trim the 'Key points' bullets that restate the decision-flow table, or fold them into the table to remove redundancy.

Consider moving the WCP License Gating and Nested Flag Group sections into referenced files (e.g., LICENSE_GATING.md) to reduce inline length and improve progressive disclosure.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence — no padding about what feature flags or Webiny are — but the 'Key points' bullets partially restate the decision-flow table above them, a minor instance of redundancy that could be trimmed.

4 / 5

Actionability

Every step ships concrete file paths and copy-paste-ready TypeScript/TSX snippets, covering both the simple-boolean and nested-group cases plus all three gating levels (config/admin/API).

5 / 5

Workflow Clarity

Steps are clearly numbered (1–6) and sequenced, but the workflow touches many files and includes no validation or verification checkpoint (e.g., run typecheck, test flag resolution), so the batch-operation cap of 3 applies.

3 / 5

Progressive Disclosure

The 244-line body is well-sectioned with a Files Reference table, but it is a monolithic single file with no bundle references; the advanced license-gating and nested-group material that could live in separate files is inlined.

3 / 5

Total

15

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, complete, and clearly scoped to a distinct niche with an explicit 'Use when' trigger. It is slightly identifier-heavy in its trigger terms, but this is appropriate for a code-oriented skill.

DimensionReasoningScore

Specificity

Lists multiple concrete actions (creating a simple boolean or nested group flag, gating at config/admin/API levels, wiring into the WCP license system) and enumerates the exact components touched (IFeatureFlagsDto, KnownFeatureFlag, Zod schema, FeatureFlag.CanUse, useFeatureFlags().isEnabled(), toDto(), LICENSE_CHECKS), giving comprehensive coverage.

5 / 5

Completeness

Explicitly states what the skill does ('Adding a new feature flag to the Webiny system') and gives a clear 'Use this skill when...' clause with three concrete trigger scenarios, satisfying both what and when.

5 / 5

Trigger Term Quality

Includes natural domain phrases a user would say ('creating a new feature flag', 'gating a feature', 'license system') but leans on technical identifiers and omits common synonyms like 'toggle' or 'enable a feature', so a few natural terms are missing.

4 / 5

Distinctiveness Conflict Risk

Targets a narrow, well-defined niche (Webiny feature flags + WCP license gating) with distinct triggers, making confusion with other skills unlikely.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
webiny/webiny-js
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.