list-npm-package-content by vercel/ai
npx skills add https://github.com/vercel/ai --skill list-npm-package-content此技能用于列出 npm 包 tarball 的确切内容——即那些会上传到 npm 并被用户下载的相同文件。
在包目录(例如 packages/ai)下运行脚本:
bash scripts/list-package-files.sh
该脚本将构建包、创建 tarball、列出其内容,并自动清理。
包含哪些文件取决于以下因素:
package.json 中的 files 字段 - 明确允许的文件/目录列表.npmignore - 要排除的文件(如果存在).gitignore - 如果不存在 .npmignore 则使用此文件广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
package.json、README、LICENSE、CHANGELOG.git、node_modules、.npmrc 等每周安装量
389
代码仓库
GitHub 星标数
23.0K
首次出现
2026 年 1 月 23 日
安全审计
安装于
claude-code328
cursor297
opencode277
codex268
gemini-cli263
antigravity249
This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.
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.
The files included are determined by:
files field in package.json - explicit allowlist of files/directories.npmignore - files to exclude (if present).gitignore - used if no .npmignore existspackage.json, README, LICENSE, CHANGELOG.git, node_modules, .npmrc, etc.Weekly Installs
389
Repository
GitHub Stars
23.0K
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code328
cursor297
opencode277
codex268
gemini-cli263
antigravity249
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
106,200 周安装