marketplace-publishing

Publish VS Code extensions to the Marketplace using the vsce tool.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/fabioc-aloha/Extensions --skill marketplace-publishing-fabioc-aloha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: marketplace-publishing
Source: https://github.com/fabioc-aloha/Extensions/tree/main/.github/skills/marketplace-publishing
Command: npx skills add https://github.com/fabioc-aloha/Extensions --skill marketplace-publishing-fabioc-aloha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of publishing VS Code extensions to the Marketplace, ensuring correct packaging, metadata, and deployment.

Core Features & Use Cases

  • VSCE Workflow Management: Guides through packaging, listing, and publishing extensions using the vsce tool.
  • PAT Lifecycle: Provides clear instructions for generating, managing, and securely using Personal Access Tokens for authentication.
  • Metadata Configuration: Details essential package.json fields for gallery visibility and .vscodeignore for correct artifact exclusion.
  • Pre-Release Deployment: Explains how to leverage the pre-release channel for testing new versions.
  • Use Case: You've just finished developing a new VS Code extension and need to publish it. This Skill will guide you through every step, from setting up your Personal Access Token to ensuring your package.json and .vscodeignore files are correctly configured, and finally executing the vsce publish command.

Quick Start

Use the marketplace-publishing skill to publish your VS Code extension to the pre-release channel.

Frequently Asked Questions about marketplace-publishing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a VS Code extension to the Marketplace using vsce?

To publish a VS Code extension, use the `vsce` command-line tool to package your project and deploy it. You must configure `package.json` metadata, set up `.vscodeignore`, and authenticate using a Personal Access Token before executing the publish command.

What is a Personal Access Token and why do I need it for vsce publishing?

A Personal Access Token (PAT) is required to authenticate your identity when publishing VS Code extensions. You generate it through your Microsoft account, and the `vsce` tool uses it to securely verify that you have permission to push updates to the Marketplace.

How do I configure package.json and .vscodeignore before publishing a VS Code extension?

Configuring `package.json` involves defining essential metadata fields for gallery visibility, while `.vscodeignore` specifies which files to exclude from the final artifact. Proper setup of both files ensures correct packaging and a clean deployment via the `vsce` tool.

Can I publish a pre-release version of my VS Code extension?

Yes, you can publish a pre-release version of a VS Code extension. The `vsce` tool supports a pre-release channel, allowing you to deploy testing versions so users can opt into early access before the stable release is published.

What should I do after publishing my VS Code extension to verify the deployment?

Post-publish verification involves checking the Visual Studio Code Marketplace to ensure your extension is listed correctly. You should confirm that your `package.json` metadata displays accurately and that the artifact excluded unnecessary files based on your `.vscodeignore` configuration.