
List Npm Package Content
vercel/aiOfficial
Inspect the exact files an npm package will ship by building and listing its tarball before publish.
- CCM score
- 66 of 100
- skills.sh installs
- 1.7K
- GitHub stars
- 28.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the pre-publish check: build the package, create a tarball, list its contents, and clean up automatically
- Runs from the package directory with
bash scripts/list-package-files.sh, so no manual packing or cleanup is needed - Explains which rules decide inclusion: the
filesfield inpackage.json, then.npmignore, then.gitignoreas fallback - Designed for verifying bundle contents or debugging npm publish issues before a release goes out
Install
$ npx -y skills add vercel/ai --skill list-npm-package-content -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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.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:
filesfield inpackage.json- explicit allowlist of files/directories.npmignore- files to exclude (if present).gitignore- used if no.npmignoreexists- Always included:
package.json,README,LICENSE,CHANGELOG - Always excluded:
.git,node_modules,.npmrc, etc.
Details
- Repository
- github.com/vercel/ai
- Categories
- CLI & Terminal, DevOps & Cloud
- First seen
- Apr 16, 2026
More from vercel/ai
All 8Similar to List Npm Package Content
More CLI & Terminal
statusline-generatordaymade/claude-code-skills1.5K installsInstalls, configures, customizes, or troubleshoots the Claude Code statusline (cwd, model, token counts). Use when the user wants to set up or change the status
mcp2cliknowsuchagency/mcp2cli1.4K installsTurn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI. Use this skill when the user wants to interact with an MCP server, OpenAPI/REST API, or Graph
cli-for-agentscursor/plugins1.4K installs>-
webup-statuslinewebup/skills-cc1.4K installsGenerate and install a custom Claude Code status line with selectable columns (model, context, effort level, git, dir, worktree, vim) and a color theme. Context
ncm-cli-setupnetease/skills1.4K installs安装和配置 ncm-cli(网易云音乐 CLI 工具)。当用户需要安装 ncm-cli、配置 API Key、安装 mpv 播放器,或排查安装问题时,使用此 skill。
cmux-terminal-multiplexerreason-machines/trending-skills1.4K installscmux terminal multiplexer