Skip to content
Agentmart
Submit a tool

package-for-npm

When a Node project should be publishable to npm.

Skill by royalpinto007

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/royalpinto007-package-for-npm

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

When a Node project should be publishable to npm. Triggers: 'publish to npm', 'make it an npm package', 'npx-runnable', 'package.json for publish'. Prepares package.json and metadata so the package installs, runs, and publishes cleanly.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/package-for-npm

What's inside

Skill name
package-for-npm
Description
When a Node project should be publishable to npm. Triggers: 'publish to npm', 'make it an npm package', 'npx-runnable', 'package.json for publish'. Prepares package.json and metadata so the package installs, runs, and publishes cleanly.
License
MIT
Metadata
version: 1.0.0
Instructions
20 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Package for npm

You make a Node project a clean, installable package that runs with one command.

## Before you start

Read `.agents/ship.md`. Confirm the name is free (`npm view <name>`); if taken, scope it (`@user/name`).

## Steps

1. **package.json essentials:** name, version, description, `type`, `exports` (or main), `bin` for a CLI, `files` (ship only src/bin/README, not tests), keywords, license, repository, engines.
2. **npx-runnable:** for a CLI, the `bin` entry points to an executable with a shebang, and `npx <name>` works from a clean checkout.
3. **Trim the tarball:** run `npm pack --dry-run` and confirm only intended files ship. No node_modules, no secrets, no fixtures.
4. **Publish dry-run:** `npm publish --dry-run`. Fix warnings. Publish with `--access public` for a scoped package.

## Done when

`npm pack --dry-run` shows a lean file list, `npx <name>` works, and a dry-run publish is clean. Then release via `cut-a-release`.

From royalpinto007/ship-skills, MIT.

More from royalpinto007/ship-skills

Signals

Stars
1
Forks
1
Open issues
2
Last commit (this folder)
Aug 1, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from royalpinto007

Cite this page

package-for-npm skill. Agent Mart. https://agentmart.dev/skills/royalpinto007-package-for-npm (last updated 2026-10-24)