Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vercel avatar

List Npm Package Content

  • 1.3k installs
  • 26k repo stars
  • Updated August 5, 2026
  • vercel/ai

list-npm-package-content provides documented workflows for List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents,

About

The list-npm-package-content skill list the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues. # List npm Package Content This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users. ## Usage Run the script from the package directory (e.g., `packages/ai`): ```bash bash scripts/list-package-files.sh ``` The script will build the package, create a tarball, list its contents, and clean up automatically. ## Understanding Package Contents The files included are determined by: 1. **`files` field in `package.json`** - explicit allowlist of files/directories 2. **`.npmignore`** - files to exclude (if present) 3. **`.gitignore`** - used if no `.npmignore` exists 4. **Always included**: `package.json`, `README`, `LICENSE`, `CHANGELOG` 5. **Always excluded**: `.git`, `node_modules`, `.npmrc`, etc.

  • **`files` field in `package.json`** - explicit allowlist of files/directories
  • **`.npmignore`** - files to exclude (if present)
  • **`.gitignore`** - used if no `.npmignore` exists
  • **Always included**: `package.json`, `README`, `LICENSE`, `CHANGELOG`
  • **Always excluded**: `.git`, `node_modules`, `.npmrc`, etc.

List Npm Package Content by the numbers

  • 1,269 all-time installs (skills.sh)
  • +58 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #242 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

list-npm-package-content capabilities & compatibility

Capabilities
**`files` field in `package.json`** explicit a · **`.npmignore`** files to exclude (if present) · **`.gitignore`** used if no `.npmignore` exist · **always included**: `package.json`, `readme`, ` · **always excluded**: `.git`, `node_modules`, `.n
Use cases
documentation
From the docs

What list-npm-package-content says it does

# List npm Package Content This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.
SKILL.md
## Understanding Package Contents The files included are determined by: 1.
SKILL.md
npx skills add https://github.com/vercel/ai --skill list-npm-package-content

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.3k
repo stars26k
Security audit3 / 3 scanners passed
Last updatedAugust 5, 2026
Repositoryvercel/ai

How do I use list-npm-package-content for the task described in its SKILL.md triggers?

List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.

Who is it for?

Teams invoking list-npm-package-content when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.

What you get

Step-by-step guidance grounded in list-npm-package-content documentation and reference files.

  • Terminal listing of npm tarball file paths

By the numbers

  • Uses one bash script: scripts/list-package-files.sh

Files

SKILL.mdMarkdownGitHub ↗

List npm Package Content

This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.

Usage

Run the script from the package directory (e.g., packages/ai):

bash scripts/list-package-files.sh

The script will build the package, create a tarball, list its contents, and clean up automatically.

Understanding Package Contents

The files included are determined by:

1. `files` field in `package.json` - explicit allowlist of files/directories 2. `.npmignore` - files to exclude (if present) 3. `.gitignore` - used if no .npmignore exists 4. Always included: package.json, README, LICENSE, CHANGELOG 5. Always excluded: .git, node_modules, .npmrc, etc.

Related skills

FAQ

What does list-npm-package-content do?

List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.

When should I use list-npm-package-content?

List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.

What are common prerequisites?

--- name: list-npm-package-content description: List the contents of an npm package tarball before publishing.

Is List Npm Package Content safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.