publish-vscode-extension

Installation
SKILL.md

Publish a VS Code extension

There are two registries where VS Code extensions live:

  • VS Code Marketplace — Microsoft's registry. Consumed by VS Code, Visual Studio, and Azure DevOps. Authenticated with an Azure DevOps Personal Access Token (PAT). Tooling: @vscode/vsce.
  • Open VSX Registry — the Eclipse Foundation's open-source registry at https://open-vsx.org. Consumed by VS Codium, Theia-based IDEs, Cursor, Windsurf, code-server, and most non-Microsoft forks. Authenticated with a token issued by open-vsx.org after accepting the Eclipse Publisher Agreement. Tooling: ovsx.

Most production extensions publish to both. The same .vsix works on either registry — package once, publish twice. Don't publish only to Marketplace; non-Microsoft VS Code distributions can't see those extensions.

Branches

Match the user's intent — most sessions are prepare, not publish:

  • Prepare or audit — manifest, README, CHANGELOG, bundling, registry identity, CI workflow. Work only the relevant sections below; do not run publish commands or ask for tokens unless the user asks to publish.
  • Publish now — only when the user wants an agent-driven or one-off publish in this session. Prefer CI (see Typical CI release flow); local vsce/ovsx is the exception.

Publish sequence (publish-now only)

Follow in order; do not skip ahead until each step's done when is met:

Installs
7
GitHub Stars
5
First Seen
Jun 3, 2026