pocket-nexus/pocketjs/pocketjs-release
Claude Code and agent skill by pocket-nexus/pocketjs
- community
Checking that the SKILL.md file is still in the repository.
Ship a PocketJS release — version bumps, changelog, npm publish via the tag-triggered trusted-publishing workflow, site deploy, and post-release verification. Use when asked to release, publish to npm, cut a version, or when a merged feature set needs to reach users.
Install
npx vskill@latest install pocket-nexus/pocketjs/pocketjs-releaseSKILL.md
The same SKILL.md was published earlier as pocket-nexus/pocketjs/pocketjs-release.
PocketJS Release
Overview
A release is one tag push. .github/workflows/release.yml publishes @pocketjs/framework (repo root) and @pocketjs/cli (tools/cli/) to npm via trusted publishing (OIDC) — no tokens, provenance attached — skipping any version already on the registry (safe to re-run). The site deploys separately on every main push (deploy.yml).
Standard workflow
- Version bumps (in the feature PR, before merge). Set the same version
in package.json AND tools/cli/package.json — the release gate (tools/release-check.ts) verifies both agree with the tag. Semver within 0.x: breaking changes (e.g. a bin rename) and feature sets bump the minor; docs-only fixes ride the next release rather than getting their own.
- Changelog (same PR). Add the
## X.Y.Z — <Month D, YYYY>entry at the
top of site/content/changelog.md: one bold thesis line, then bullets grouped by capability, linking the blog deep-dive when one exists. Mark breaking changes explicitly (**Breaking:** …). This renders at /changelog/ on deploy — never list an unreleased version.
- Validate before merge (all must pass):
- Merge. Draft PR →
gh pr ready <n>→gh pr merge <n> --squash
(Conventional Commits title; the squash commit becomes the release commit). Do NOT pass --delete-branch: main is checked out at ~/code/pocketjs, so the local delete fails — GitHub prunes the remote branch itself after squash merges (verify with git ls-remote origin <branch>).
- Tag = publish. The workflow publishes both npm packages and then
creates the GitHub Release itself (tools/release-notes.ts turns the version's changelog entry into the notes; the bold thesis becomes the title). No entry in site/content/changelog.md → the release step fails, so step 2 is load-bearing.
- Verify the artifacts, not the workflow:
Gotchas
- Trusted publishing needs npm ≥ 11.5.1 — the workflow runs
npm install -g npm@latest (Node 22 bundles 10.x). Never add registry-url to setup-node (its .npmrc token placeholder breaks tokenless publishes). permissions: id-token: write is required.
- Each package's npm Trusted Publisher config names org
pocket-nexus,
repo pocketjs, workflow release.yml, no environment. A NEW package can't use it for its first publish — bootstrap locally with npm publish --access public --otp=… (account 2FA is auth-and-writes), then configure the trusted publisher.
- The publish steps guard with
npm view "$name@$version"— pushing a tag
where one package's version already exists publishes only the other.
- The framework tarball ships gitignored build output (`platforms/web/
pocketjs.wasm) because the files whitelist wins over .gitignore; CI builds it (bun tools/wasm.ts) before publishing. Check tarball contents with npm pack --dry-run if files` changed.
- Blog posts register in
site/nav.tsBLOG_POSTS(the .md alone doesn't
render); landing nav lives in site/home.html, docs nav in site/templates.ts — three separate places.
- Version history: bootstrap 0.2.0 was published locally; 0.2.1 was the
first tokenless CI release; 0.3.0 renamed the CLI bin to pocket.
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 repositoryCheckingskills/pocketjs-release/SKILL.md
Popularity
- Repository stars
- 1,692
- Repository forks
- 98
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/pocket-nexus/pocketjs/pocketjs-release)