laurigates/claude-plugins/bun-publish

Claude Code and agent skill by laurigates/claude-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Bun publish to npm. Use when the user wants to release to npm, preview with --dry-run, publish a scoped package with --access public, or enable --provenance signing.

Install

npx vskill@latest install laurigates/claude-plugins/bun-publish

SKILL.md

/bun:publish

Publish package to npm registry after building with Bun.

When to Use This Skill

Use this skill when...Use bun-publishing instead when...
Executing a single npm publish action with the right flagsLooking up broader npm publishing workflow guidance and conventions
Previewing a publish with --dry-run before releasingConfiguring publishConfig, scoped-package access, or provenance setup
Releasing a scoped package with --access publicUse bun-build when you need to produce build artifacts before publishing
Enabling supply-chain --provenance signing on a releaseUse bun-lockfile-update when bumping dependencies before a release

Parameters

  • --dry-run: Preview publish without executing
  • --access: Access level (public or restricted)
  • --provenance: Enable supply chain provenance signing

Context

Detect package configuration:

bash
cat package.json | jq '{name, version, publishConfig, bin, files, scripts: {prepublishOnly: .scripts.prepublishOnly}}'

Execution

Pre-publish Validation
bash
# Type check
bun run tsc --noEmit 2>&1 | head -20
# Build
bun run build
# Verify tarball contents
npm pack --dry-run
Publish

Dry run (default for first attempt):

bash
npm publish --dry-run {{ "--access " + ACCESS if ACCESS }}

Actual publish:

bash
# Standard package
npm publish {{ "--access " + ACCESS if ACCESS }} {{ "--provenance" if PROVENANCE }}
# Scoped package (auto-detect from name starting with @)
npm publish --access public {{ "--provenance" if PROVENANCE }}

Scoped Package Detection

If package.json name starts with @:

  • Automatically add --access public unless explicitly restricted
  • Warn if publishConfig.access is not set in package.json

Post-publish

  1. Display published version: npm view <package> version
  2. Show installation command: npm install <package>
  3. Link to npm package page

Error Handling

402 Payment Required:

  • Scoped packages require --access public for public registry
  • Add publishConfig.access: "public" to package.json

Missing authentication:

  • Run npm login to authenticate
  • Or set NPM_TOKEN environment variable

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
15
Repository forks
2
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurigates/claude-plugins/bun-publish/badge)](https://verified-skill.com/skills/laurigates/claude-plugins/bun-publish)

Something wrong with this skill or its page? Tell us.