CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

vercel-flags

Feature flags, A/B tests, and gradual rollouts with Vercel Flags, in any app or framework. Use whenever the user is planning, adding, changing, or cleaning up a feature flag, toggle, kill switch, experiment, percentage rollout, or targeting rule, or wants to gate or hide a feature for some users, even before a library or provider is chosen. Covers choosing an integration (Flags SDK, `@vercel/flags-core`, OpenFeature), the Vercel dashboard, the `vercel flags` CLI (create, inspect, set, split, rollout, rules, segments, evaluations, archive, connections), Project Connections, OIDC vs SDK keys, `FLAGS_SECRET`, and Flags Explorer overrides. For `flag()` declarations, adapters, precompute, and the Flags Explorer endpoint in Next.js or SvelteKit code, load the `flags-sdk` skill.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

92%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.

A strong orchestration-style skill body: it routes requests decisively, gives copy-paste CLI commands and a complete code example, embeds validation and error-recovery checkpoints around destructive flag operations, and pushes lifecycle/cleanup depth into two real, well-described reference files. The only notable deduction is an inline version-sensitive compatibility note that belongs with the other version notes in references/cli.md.

Suggestions

Move the time-sensitive compatibility note ("CLI versions before 65 call it `use-targeting <key>`") into references/cli.md next to the other version-specific guidance (e.g. the `@flags-sdk/vercel` 1.6.0 / `@vercel/flags-core` 1.11.0 notes), keeping the SKILL.md body version-free.

The Flags Explorer section repeats override/`FLAGS_SECRET` mechanics already covered under Credentials; consider consolidating the duplication into one passage.

DimensionReasoningScore

Conciseness

The body is dense with Vercel-specific facts (OIDC vs SDK keys, `FLAGS_SECRET` semantics, static-value vs targeting mode, module-scope initialization timing) and assumes Claude's competence, matching 'Lean and efficient' — but the inline version-sensitive note "CLI versions before 65 call it `use-targeting <key>`" is time-sensitive information not placed in a compatibility/deprecated section, which the guidelines say should penalize conciseness. Not score 3 because beyond this one instance every passage carries non-obvious product detail rather than padding.

4 / 5

Actionability

Fully executable guidance throughout: copy-paste commands like `vercel flags create <key> --kind boolean --description "<description>"`, `rollout <key> --by user.id`, `datafile --environment <production|preview|development> --json`, `--project`/`--scope` targeting, and a complete runnable `@vercel/flags-core` TypeScript example. Matches 'Fully executable; copy-paste ready code or commands; specific examples cover the common cases'; the elided "..." on rollout/split is acceptable since the skill directs to `--help` for the current flag list.

5 / 5

Workflow Clarity

Sequences are explicit with validation checkpoints and error-recovery branches: "Always `inspect` first so you know what each environment serves today", the retire order (remove code → verify no evaluations → `archive`; `rm` only for archived flags), and recovery paths for "If it reports `link_required`", "If the key exists, adopt it instead", and "If the CLI rejects `--project`, upgrade it first". Destructive operations (archive/rm) do have verification steps, so the workflow-clarity cap does not apply; this matches the anchor 'Clear sequence with explicit validation steps; feedback loops for error recovery'.

5 / 5

Progressive Disclosure

The body is a well-organized ~107-line overview with clear routing, and deep material is split one level deep into real bundle files — references/cli.md (concepts/lifecycle/safety, 41 lines) and references/cleanup.md (code removal, 63 lines) — both existing on disk, well-signaled inline and summarized in a References section. The reference files cross-link to each other and back to SKILL.md sections rather than nesting content a second level deep, matching 'Clear overview with well-signaled one-level-deep references; content appropriately split; easy navigation'.

5 / 5

Total

19

/

20

Passed

Description

100%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.

An exemplary description: it states what the skill covers and when to use it with concrete, natural trigger phrases and synonyms, enumerates specific CLI subcommands and credential mechanisms, and cleanly fences off the adjacent flags-sdk skill. Third-person voice throughout, with no fluff or over-claims.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions and artifacts: "planning, adding, changing, or cleaning up a feature flag", the `vercel flags` CLI subcommands ("create, inspect, set, split, rollout, rules, segments, evaluations, archive, connections"), plus "Project Connections, OIDC vs SDK keys, `FLAGS_SECRET`, and Flags Explorer overrides". This matches the anchor 'Lists multiple specific concrete actions; comprehensive coverage'; it is not score 4 because there are no meaningful coverage gaps in the actions named.

5 / 5

Completeness

Both questions are explicitly answered: what ("Feature flags, A/B tests, and gradual rollouts with Vercel Flags, in any app or framework... Covers choosing an integration...") and when ("Use whenever the user is planning, adding, changing, or cleaning up a feature flag, toggle, kill switch, experiment, percentage rollout, or targeting rule, or wants to gate or hide a feature for some users"). Concrete trigger phrases plus a boundary handoff to the `flags-sdk` skill; a score of 4 would require the 'when' clause to be less explicit than it is.

5 / 5

Trigger Term Quality

Natural user phrasing is comprehensively covered with synonyms: "feature flag", "toggle", "kill switch", "experiment", "percentage rollout", "gradual rollouts", "targeting rule", "gate or hide a feature", "A/B tests". Matches the anchor 'Comprehensive coverage of natural terms including synonyms'; it exceeds score 4 because the common variations users actually say are all present.

5 / 5

Distinctiveness Conflict Risk

It claims a clear niche ("with Vercel Flags", "the Vercel dashboard, the `vercel flags` CLI") and explicitly resolves the nearest collision by delegating "`flag()` declarations, adapters, precompute, and the Flags Explorer endpoint in Next.js or SvelteKit code" to the `flags-sdk` skill. Minimal conflict risk; not score 4 because the one adjacent overlap is actively disambiguated rather than left to chance.

5 / 5

Total

20

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository

vercel/vercel-plugin

Path

skills/vercel-flags/SKILL.md

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.