mcpField
V
vscode-release

vscode-release

github.com/yoshiko-pgDevelopment3.3k46 installsUpdated 9w ago
Repository

About vscode-release

A skill that guides the release of the VS Code extension in the current repository, from local packaging and smoke testing through publishing. It emphasizes user approval before release and reporting the version, tag, and publication outcome.

Key features

  1. 01Verify branch and release files
  2. 02Install dependencies and package VSIX
  3. 03Request local VS Code smoke testing
  4. 04Require approval before publishing
  5. 05Tag, push, and publish the release

Use cases

  1. 01Preparing a VS Code extension release
  2. 02Checking a packaged VSIX before publishing
  3. 03Publishing after explicit user approval

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/yoshiko-pg/difit --skill vscode-release

After installing, type/vscode-releasein Claude Code to confirm it loaded.

Details

From the project README

VS Code Extension Release Workflow

Follow this workflow for the current repository.

Prepare local build verification

  1. Verify release target files in packages/vscode and confirm current branch state.
  2. Run pnpm install --frozen-lockfile.
  3. Run pnpm -C packages/vscode run package.
  4. Read packages/vscode/package.json and confirm the current extension version.
  5. Confirm the VSIX exists at packages/vscode/difit-vscode-<version>.vsix.
  6. Ask the user to smoke test the local VSIX install in VS Code:
    • Install from VSIX.
    • Confirm the difit command opens review correctly.
    • Confirm the toolbar button/icon appears and works.
  7. Ask for explicit OK in Japanese before publishing.

Release after explicit OK

Treat the locally verified build result at OK time as the source of truth. Do not skip rebuilding after version changes.

  1. Bump extension version in packages/vscode/package.json:
    • pnpm -C packages/vscode version patch --no-git-tag-version
  2. Re-run pnpm -C packages/vscode run package and confirm the new VSIX filename.
  3. Commit packages/vscode/package.json with an English message: chore(vscode): release vX.Y.Z.
  4. Create tag vscode-vX.Y.Z.
  5. Push main and tags: git push origin main --tags.
  6. If push is rejected by non-fast-forward:
    • Run git pull --rebase origin main.
    • Retry git push origin main --tags.
  7. Publish to Visual Studio Marketplace:
    • pnpm -C packages/vscode exec vsce publish
    • Use the already bumped version from packages/vscode/package.json.

Output to user

  • Respond in Japanese.
  • Report local build verification result, released version, created tag, and publish result.
  • Mention if any recovery step was required (for example, rebase due to non-fast-forward).

Comments

Markdown supported