Skip to content
Back to skills

Liveblocks New Npm Package

ASecurity

Publish a new placeholder package to NPM under the @liveblocks/* org. Creates a minimal package.json + index.js in a temp dir and gives the user exact commands to run. Use when publishing a brand-new @liveblocks/* package for the first time (version 0.0.0 placeholder to claim the name).

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
toolsgobash

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add nvie/skills --skill liveblocks-new-npm-package --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Liveblocks New Npm Package?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Liveblocks New Npm Package
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nvie-liveblocks-new-npm-package/badge)](https://www.skillsdirectory.com/skills/nvie-liveblocks-new-npm-package)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: liveblocks-new-npm-package
description: >
  Publish a new placeholder package to NPM under the @liveblocks/* org.
  Creates a minimal package.json + index.js in a temp dir and gives the
  user exact commands to run. Use when publishing a brand-new @liveblocks/*
  package for the first time (version 0.0.0 placeholder to claim the name).
---

# Publish a new @liveblocks/\* NPM placeholder

The goal is to claim a new package name on NPM by publishing a minimal `0.0.0`
placeholder. The user then fills it in for real later.

## Template

The minimal package has exactly two files:

**`package.json`**

```json
{
  "name": "@liveblocks/<PACKAGE>",
  "version": "0.0.0",
  "license": "Apache-2.0",
  "main": "index.js"
}
```

**`index.js`**

```js
// Placeholder
```

No `README.md`, no `description`, no extra fields.

## Process

1. **Ask the user for the package name** if not already provided (e.g. `foobar`
   → full name becomes `@liveblocks/foobar`).

2. **Create the temp dir and files yourself** using Bash:

```sh
DIR=$(mktemp -d)
mkdir -p "$DIR"
```

Then write `package.json` (with the correct package name) and `index.js`
(`// Placeholder`) into `$DIR` using the Write tool.

3. **Tell the user the single command to run:**

```
cd <DIR> && npm publish --access public
```

Substitute `<DIR>` with the actual temp path that was created.

4. **Remind the user:**

   - They must be logged in to npm with an account that has publish rights to the
     `@liveblocks` org (`npm whoami` to check, `npm login` if not).
   - After publishing, the temp dir can be deleted.
   - The `--access public` flag is required for scoped packages on the free tier.

5. **Do not** run `npm publish` yourself — the user runs that final step.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.