
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)
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
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.
## Understanding Package Contents The files included are determined by: 1.
npx skills add https://github.com/vercel/ai --skill list-npm-package-contentAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.3k |
|---|---|
| repo stars | ★ 26k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | vercel/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
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.shThe 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.
#!/usr/bin/env bash
set -e
# Build, pack, list contents, cleanup
pnpm build
tarball=$(pnpm pack | tail -1)
tar -tzf "$tarball"
rm "$tarball"
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.