signageos/vscode-sops/release
Claude Code and agent skill by signageos/vscode-sops
- community
Checking that the SKILL.md file is still in the repository.
Releases the vscode-sops extension end-to-end: determines the next version from the bump history, updates CHANGELOG.md and package.json/package-lock.json, builds via `vscode:prepublish`, publishes to VS Code Marketplace (vsce) and Open VSX Registry (ovsx), tags and pushes the release commit, and creates a GitHub Release with a changelog. Handles token expiration with re-generation guidance and stops on any build or type error, showing issues and suggestions before asking to continue. Use when the user asks to "release", "publish", or "bump and publish" the extension.
Install
npx vskill@latest install signageos/vscode-sops/releaseSKILL.md
Skill: Release vscode-sops Extension
Bumps the version, builds, publishes to VS Code Marketplace and Open VSX, then creates a GitHub Release.
When to Apply
- "release", "publish", "bump and publish", "ship the extension"
- NOT applicable for pre-release/beta builds or individual CI steps
Prerequisites
- [ ] Working directory is the
vscode-sopsrepository root - [ ]
masterbranch is clean (no uncommitted changes) - [ ]
sopsCLI is available (needed to decrypt.envfor OVSX token) - [ ]
vsceCLI available (npx vscefrom node_modules) - [ ]
npx ovsxavailable - [ ] Node.js available via nvm (use
nvm use 22or latest LTS) - [ ] Node.js dependencies installed (
npm install— use--registry https://registry.npmjs.orgif the private CodeArtifact registry token is expired) - [ ]
ghCLI for creating GitHub Release (install locally if needed; authenticate withGH_TOKENfrom~/dev/signageos/projects/.env.secrets) - [ ] GitHub token available in
~/dev/signageos/projects/.env.secretsasGITHUB_TOKEN
Workflow
Step 1: Determine Next Version
- Read current version from
package.json(field"version"). - Check recent bump commits to understand the versioning pattern:
``bash git --no-pager log --oneline --grep="^Bump" -10 ` Historical pattern: 0.9.1 → 0.9.2 → 0.9.3` — patch bump is the default.
- Compute next patch version:
X.Y.Z→X.Y.(Z+1). - Confirm with the user before proceeding:
- Show current version and proposed next version.
- Ask whether to use patch / minor / major if context suggests otherwise.
Step 2: Update CHANGELOG.md
- Open
CHANGELOG.md. - Rename the
## [Unreleased]section header to## [X.Y.Z](the new version). - Insert a fresh empty
## [Unreleased]section above it. - If
[Unreleased]is empty, stop and ask the user what to put in the release notes before continuing.
Example before:
Example after:
Step 3: Bump Version in package.json and package-lock.json
Update the "version" field in both files from the old version to the new version:
This updates package.json and package-lock.json atomically without creating a git tag yet.
Step 4: Build — vscode:prepublish
On failure — STOP immediately. Show:
- The full compiler/linter output.
- Likely cause (TypeScript error, import error, lint rule).
- Suggestion to fix (e.g., "Run
npm run lintto see all lint issues", or show the TS error with file/line). - Ask the user to fix the issue and then re-run this skill (or confirm to retry after they fix it).
Do not proceed to publishing if the build fails.
Step 5: Publish to VS Code Marketplace — vsce publish
Token expiration handling
If the command fails with an error like Failed to publish: 401 Unauthorized, The Personal Access Token used has expired, or similar auth error:
- Stop and display this guidance:
- Wait for the user to confirm they have re-authenticated.
- Retry
npx vsce publish.
Other publish failures
- Show full output.
- Suggest fix based on error message (missing README, invalid manifest, etc.).
- Stop and wait for confirmation before retrying.
Step 6: Publish to Open VSX Registry — ovsx:publish
The script (tools/ovsx-publish.bash) decrypts .env with sops, sources it, and runs npx ovsx publish -p $OVSX_TOKEN.
Note: If npm run ovsx:publish fails because npx ovsx tries to install from the private CodeArtifact registry and gets a 401, run the publish manually with the public registry:
Token expiration handling
If the command fails with Unauthorized, invalid_token, 401, or similar:
- Stop and display this guidance:
- Wait for the user to confirm they have updated the token.
- Retry
npm run ovsx:publish.
Step 7: Commit, Tag, and Push
Note: The primary remote for GitHub is github (not origin, which points to GitLab). Check with git remote -v if unsure.
Step 8: Create GitHub Release
- Extract the new version's changelog section from
CHANGELOG.md(everything between## [X.Y.Z]and the next## [heading). - Load the GitHub token:
``bash export GH_TOKEN=$(grep GITHUB_TOKEN ~/dev/signageos/projects/.env.secrets | cut -d= -f2) ``
- Create the release via
ghCLI:
Note: If gh CLI is not installed, download it to /tmp:
Release body format — mirror existing releases (e.g. v0.9.3):
- Use the changelog section as-is (Markdown headings like
### Fixed,### Added, etc.). - Keep it concise and readable.
Example:
Error Handling Reference
| Error | Action | |
|---|---|---|
| TypeScript compile error | Stop, show error + file/line, suggest fix, wait | |
| ESLint / lint error | Stop, show rule + file, suggest npm run lint, wait | |
vsce publish 401 / token expired | Show Azure DevOps PAT regeneration steps, wait | |
ovsx publish 401 / token expired | Show Open VSX token rotation steps (sops), wait | |
git push rejected | Stop, show reason (e.g., non-fast-forward), suggest git pull --rebase, wait | |
gh release create fails | Stop, show error, suggest verifying gh auth status, wait | |
| Any other unexpected error | Stop, show full output, state likely cause and suggestion, wait for user |
Output Summary
After successful completion, report:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/release/SKILL.md
Popularity
- Repository stars
- 113
- Repository forks
- 36
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/signageos/vscode-sops/release)