
Skill
list-npm-package-content
verify npm package contents before publishing
Description
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.
SKILL.md
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.
More skills from the ai repository
View all 12 skillsadd-function-examples
add AI function examples for testing
Apr 6AI SDKTestingVerceladd-harness-package
add AI SDK harness packages
Jun 18AgentsAI SDKHarnessSDK +1add-provider-package
add new provider packages to AI SDK
Apr 6AI SDKAPI DevelopmentVerceladr-skill
create and maintain architecture decision records
Apr 6ADRArchitectureDocumentationEngineeringai-sdk
build AI features with Vercel AI SDK
Apr 6AgentsAI SDKLLMVercelcapture-api-response-test-fixture
capture API response test fixtures
Apr 6API DevelopmentTestingVercel
More from Vercel
View publishernext-cache-components-adoption
enable and migrate to Next.js Cache Components
next.js
Jul 24CachingFrontendMigrationNext.js +1next-cache-components-optimizer
optimize Next.js cache components
next.js
Jul 24CachingFrontendNext.jsPerformance +1next-dev-loop
verify Next.js runtime behavior
next.js
May 22DebuggingFrontendLocal DevelopmentNext.js +2next-partial-prefetching-adoption
adopt Partial Prefetching in Next.js apps
next.js
Jul 24FrontendNext.jsPerformanceVercelturborepo
manage monorepos with Turborepo
turborepo
Jul 24CI/CDPerformanceTurborepodevelop-ai-functions-example
develop AI SDK function examples
ai
Apr 6AI SDKTestingVercel