rust-npm-publish

Installation
SKILL.md

Rust npm Publishing

Distribute Rust binaries to npm using the optionalDependencies platform package pattern.

When to Use This Skill

Activate when any of the following are true:

  • Publishing Rust binaries to npm or debugging publish pipeline failures
  • Setting up publish.config.ts, bin.js, or platform package manifests
  • Managing version sync across workspace packages and Cargo.toml
  • Working with workspace:* protocol or prepare/restore scripts
  • Scripts matching *publish*, *platform*, *version*, or *sync* exist

Decision Tree

What does the user need?
Installs
51
GitHub Stars
1
First Seen
May 19, 2026
rust-npm-publish — onsager-ai/dev-skills