vscode-extension
Skill1 starsChanged 10 days agoMITView on GitHub
Use when building, packaging or publishing a VS Code extension to the Visual Studio Marketplace (vsce) and Open VSX (ovsx, which feeds Cursor, Windsurf, VSCodium and Gitpod).
- Reads credentials
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- itsryanarmani/skillsword for word, first seen Nov 8, 2026
- dotnet/aspiretheir own version, first seen Oct 8, 2026
- microsoft/aspiretheir own version, first seen May 27, 2026
- ThuPhuong1010/claude-factorytheir own version, first seen Mar 29, 2026
Other versions4 projects use a version of this.
Word for word · 1
- itsryanarmani/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 3
- dotnet/aspire★ 6.4ksame name
- microsoft/aspire★ 6.4ksame name
- ThuPhuong1010/claude-factory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository335 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accept-x402-paymentsSkill
- ad-auto-optimizerSkill
- ad-conversion-hubSkill
- ad-creative-generationSkill
- ad-creative-templatesSkill
- ad-experimentsSkill
- ad-image-prompt-librarySkill
- ad-landing-trackingSkill
- ad-lofi-ugcSkill
- adobe-express-addonSkill
- ad-platform-credentialsSkill
- ad-research-to-creativeSkill
- ads-amazonSkill
- ads-apple-searchSkill
- ads-baiduSkill
- ads-bilibiliSkill
- ads-chatgptSkill
- ads-copilotSkill
- ads-criteoSkill
- ads-discordSkill
- ads-douyinSkill
- adsense-site-setupSkill
- ads-googleSkill
- ads-hotstarSkill
- ads-kakaoSkill
- ads-kuaishouSkill
- ads-lgSkill
- ads-lineSkill
- ads-linkedinSkill
- ads-mercadolibreSkill
- ads-meta-aiSkill
- ads-metaSkill
- ads-microsoftSkill
- ads-mojSkill
- ads-naverSkill
- ads-nextdoorSkill
- ads-outbrainSkill
- ads-perplexitySkill
- ads-pinterestSkill
- ads-quoraSkill
- ads-redditSkill
- ads-rokuSkill
- ads-samsungSkill
- ads-sharechatSkill
- ads-shopeeSkill
- ads-snapchatSkill
- ads-spotifySkill
- ads-stackadaptSkill
- ads-stravaSkill
- ads-taboolaSkill
- ads-tencentSkill
- ads-tiktokSkill
- ads-trade-deskSkill
- ads-twitchSkill
- ads-vkSkill
- ads-wazeSkill
- ads-weiboSkill
- ads-xiaohongshuSkill
- ads-xSkill
- The first 60 shown.
The file
Files
Building + publishing a VS Code extension
A VS Code extension is a TypeScript module on the Extension API (package.json manifest with contributes, activationEvents, main). Source in integrations/<name>/. Publish to two marketplaces from one .vsix: the Visual Studio Marketplace (vsce) and Open VSX (ovsx — what Cursor / Windsurf / VSCodium / Gitpod install from). Command playbook: itsryanarmani/scripts scripts/vscode-extension/README.md.
When to use
- Triggers: 'build a VS Code extension', 'publish to the VS Code Marketplace', 'vsce package/publish', 'ovsx publish', 'Open VSX', 'vsce segfault', 'SVG restricted in README', 'create a Marketplace publisher'.
- vsce, ovsx and their esbuild packaging segfault on Node 22+ (use Node 20); vsce rejects SVG images in README.md.
- The Marketplace publisher needs a hand-filled browser form and an Azure DevOps PAT; Open VSX is a GitHub login (
ovsx create-namespace,ovsx publish -p <token>). Siblings: raycast-extension, browser-extension.
The trap that segfaults packaging: Node version
vsce package / vsce publish / ovsx publish run an esbuild-based bundler that segfaults on Node 22 and 25 (exit 139, no useful error). Use Node 20 LTS (/opt/homebrew/opt/node@20/bin on PATH, or nvm use 20). Same class of failure as several other CLIs — if packaging dies silently, check Node first.
The other traps
- vsce rejects SVG in README.md.
vsce packageerrors "SVGs are restricted in README.md" if the README embeds any.svgimage. Use PNG, or remove the image. It also warns on a missingrepository/license— add both topackage.jsonto keep the listing clean. package.jsonneedspublisher. Thepublisherfield = the Marketplace publisher id / the Open VSX namespace. Set it before packaging.- The VS Code Marketplace publisher form fights automation. Creating a publisher at
marketplace.visualstudio.com/manage/createpublisheris a React form whose Create button doesn't reliably submit via browser automation (coordinate scaling + trusted-event issues), and it needs a Microsoft-account login + an Azure DevOps PAT (scope: Marketplace → Manage) forvsce publish -p <PAT>. Create the publisher + PAT by hand — it's a 5-minute human step, not worth automating. - Open VSX is the easy path. GitHub login at
open-vsx.org, sign the one-time Eclipse Publisher Agreement, mint an access token — then it's fully headless.
Build + package
export PATH="/opt/homebrew/opt/node@20/bin:$PATH" # Node 20
npm install && npm run compile
npx @vscode/vsce package # -> <name>-<version>.vsixPublish
Open VSX (headless, do this one first):
npx ovsx create-namespace <publisher> -p <OVSX_TOKEN> # once
npx ovsx publish <name>-<version>.vsix -p <OVSX_TOKEN> # -> live for Cursor/Windsurf/VSCodium/GitpodVS Code Marketplace (after the human publisher + PAT exist):
npx @vscode/vsce publish -p <AZURE_DEVOPS_PAT>Store the tokens in the product .env.local (OVSX_TOKEN, VSCE_PAT), never commit.
Related skills
raycast-extension— the other dev-tool command surface (needs store screenshots, unlike this).marketplace-app-hosting— extensions don't need hosting; they're published bundles.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

