Skip to content

Trim duplicated vercel flags CLI docs from flags-sdk skill - #492

Merged
vincent-derks merged 12 commits into
mainfrom
vincentderks/exp-3411-trim-duplicated-vercel-flags-cli-docs-from-flags-sdk-and
Sep 3, 2026
Merged

Trim duplicated vercel flags CLI docs from flags-sdk skill#492
vincent-derks merged 12 commits into
mainfrom
vincentderks/exp-3411-trim-duplicated-vercel-flags-cli-docs-from-flags-sdk-and

Conversation

@vincent-derks

@vincent-derks vincent-derks commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • EXP-3411: drop the stale vercel flags subcommand table and option-annotated examples from references/providers.md; --help owns syntax
  • Add what --help cannot say, each bullet sourced from vercel.com/docs/flags or flags-sdk.dev: identify()--by entity attributes, kind → type, defaultValue for archived/draft flags, static value vs targeting mode, embedded definitions / prepare, overrideFLAGS_SECRET, the roll-out / A/B / clean-up flows
  • New SKILL.md flow for a flag that already exists on Vercel (the dashboard "Get agent instructions" prompt depends on it)
  • Authentication now matches vercel.com: vercelAdapter() uses Vercel OIDC by default, vercel env pull provides it locally, SDK keys (FLAGS) are the manual path, activation provisions FLAGS_SECRET (verified in vercel/api activate.ts)
  • Frontmatter lists the wider subcommand set; description stays under 1024 chars

Siblings: EXP-3424 (vercel/vercel skill), EXP-3425 (vercel-plugin sync), EXP-3427 (flags-sdk.dev auth docs)

Test plan

  • Every lifecycle / glue bullet in providers.md links to the doc page it comes from; spot-check two against the page
  • No --flag option examples remain in the CLI section
  • node scripts/validate-skills.mjs passes

Point agents at --help for syntax and keep lifecycle/safety guidance that skills must own (EXP-3411).
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
flags-playground Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC
flags-sdk-dev Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC
flags-sdk-snippets Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC
flags-sdk-sveltekit-snippets Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC
shirt-shop Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC
shirt-shop-api Ready Ready Preview, v0 Sep 3, 2026 7:14am UTC

Drop duplicate CLI trigger phrases; keep subcommand names once for activation.
Make --help discovery and the vercel-cli cross-link explicit in SKILL.md and providers.md.

@feugy feugy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not very used to writing skill, so maybe having repetition is better. But maybe a shorter skill with internal reference works well?

Comment thread skills/flags-sdk/SKILL.md Outdated
Comment thread skills/flags-sdk/SKILL.md Outdated
Comment thread skills/flags-sdk/SKILL.md Outdated
Comment thread skills/flags-sdk/SKILL.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants