CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

flags-sdk

Explains SDK installation and configuration, Vercel project linking and environment setup, flag declaration and evaluation, provider adapters, Flags Explorer, and precomputation. Includes workflows, code examples, and safeguards for managing credentials and project links; flag planning and rollout management are directed to a separate skill.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

The canonical home for this skill is flags-sdk in vercel/vercel-plugin

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 well-engineered skill body: fully executable commands and code, three clearly sequenced workflows with precondition checklists and verification/feedback loops, and a clean one-level-deep reference split with verified anchors. The only weakness is minor verbosity, mainly the redundant prose rationale in the Bulk evaluation section.

DimensionReasoningScore

Conciseness

The body is largely lean — conditional setup steps, SDK-specific facts, and version notes framed as old-vs-new patterns rather than padding. It stays at 4 rather than 5 because a few passages could be trimmed: the paragraph after the `evaluate()` code block re-explains what the inline comments already say ("each await blocks the next…", "parallel, but each flag is evaluated in isolation"), including micro-detail about "the number of parallel promises the runtime manages" that assumes Claude needs runtime mechanics spelled out.

4 / 5

Actionability

Guidance is copy-paste ready throughout: exact install commands (`pnpm i flags @flags-sdk/vercel`), CLI commands with flags (`vercel flags create <flag-key> --kind boolean --description "<description>"`, `vercel project inspect --non-interactive`), and complete executable snippets for flag declaration, `identify`/`dedupe`, the discovery route, `evaluate`, and encryption. The common cases (setup, create, adopt an existing flag, precompute) are each covered with runnable examples.

5 / 5

Workflow Clarity

Each flow (Set up the SDK, Create a flag, Add a flag that already exists) is a numbered sequence preceded by an explicit "Before you start" precondition checklist with skip conditions, and includes validation with feedback loops: "Verify the link with `vercel project inspect`… If it reports `link_required`, run `vercel link`", "If the user named a project or team and the output differs, stop and ask", and re-pulling env vars when "local evaluation fails with an authentication error". No destructive or batch operations are executed here — those are explicitly deferred to the `vercel-flags` skill.

5 / 5

Progressive Disclosure

The structure matches the anchor exactly: SKILL.md is an overview with core flows, and detail lives one level deep in four real, well-scoped files (nextjs.md, sveltekit.md, providers.md, api.md) listed with descriptions in a References section. Every in-text reference and fragment anchor cited in the body (e.g. references/nextjs.md#toolbar-setup, references/providers.md#project-connections, #user-targeting, #attribute-types, #custom-adapters, references/api.md#evaluate) resolves to an actual heading in the bundle.

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: concrete capabilities, an explicit use-when clause, a dedicated trigger-token list, and explicit boundary routing to the sibling vercel-flags skill. It is specific and complete without padding.

DimensionReasoningScore

Specificity

The description lists many concrete actions — "installing or configuring the SDK", "declaring flags with flag()", "setting up Project Connections", "wiring a provider adapter", "using identify, dedupe, or evaluate", "keeping pages static with precompute", "setting up Flags Explorer and the Vercel Toolbar", "encrypting flag values" — comprehensively covering the skill's capability surface with no vague filler.

5 / 5

Completeness

It explicitly answers "what" ("Implement feature flags in Next.js or SvelteKit code with the Flags SDK (`flags` npm package)") and "when" (an explicit "Use when installing or configuring… encrypting flag values" clause plus a dedicated trigger list), matching the anchor for both concrete what-and-when coverage.

5 / 5

Trigger Term Quality

It covers both natural phrases ("feature flags", "Next.js or SvelteKit", provider names like Statsig, LaunchDarkly, PostHog) and the exact technical tokens that appear in a user's request or code — an explicit "Triggers:" list with `flags/next`, `flags/sveltekit`, `flags/react`, `@flags-sdk/*`, `vercelAdapter`, precompute. Nothing a user would naturally say when needing this skill is missing.

5 / 5

Distinctiveness Conflict Risk

The niche is clear (Flags SDK code for Next.js/SvelteKit) and the description actively routes the nearest overlapping cases elsewhere — "For planning a flag, for Vercel Flags rollouts, experiments, and the `vercel flags` CLI, or for other frameworks, use the `vercel-flags` skill" — minimizing false-trigger risk against the sibling skill.

5 / 5

Total

20

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

vercel/vercel-plugin

Path

skills/flags-sdk/upstream/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.