vscode-deploy-package
$
npx mdskill add partme-ai/full-stack-skills/vscode-deploy-packagePackages a VS Code extension into a .vsix file for distribution or local installation using vsce after development is complete.
- Helps developers prepare and share VS Code extensions by generating installable packages.
- Integrates with vsce tool and VS Code for packaging and installation via CLI or GUI.
- Verifies a pre-flight checklist including publisher, README, and CHANGELOG before execution.
- Presents results by generating a .vsix file and providing installation instructions.
SKILL.md
.github/skills/vscode-deploy-packageView on GitHub ↗
---
name: vscode-deploy-package
description: "Package a VS Code extension into a .vsix file for distribution using vsce, verify pre-flight checklist (publisher, README, CHANGELOG), and install locally via CLI or GUI. Use when development is complete and the user wants to package, distribute, or install a VS Code extension."
license: Complete terms in LICENSE.txt
---
## When to use this skill
Use this skill when the development is complete and the user wants to install the extension or share it.
## How to use this skill
1. **Install `vsce`**: Ensure the packaging tool is installed.
```bash
npm install -g vsce
```
2. **Package**: Run the package command in the project root.
```bash
vsce package
```
3. **Result**: This generates a `.vsix` file (e.g., `my-extension-0.0.1.vsix`).
## Pre-flight Checklist
Before packaging, ensure:
* `package.json` has a valid `publisher` field. (If not, user can use any string for local testing, e.g., "local").
* `README.md` is updated.
* `CHANGELOG.md` is updated.
* No strict linting errors prevent compilation.
## Installation
To install the `.vsix` file:
* **GUI**: Open VS Code Extensions view -> "..." menu -> "Install from VSIX..."
* **CLI**: `code --install-extension my-extension-0.0.1.vsix`