SKILL.md
SKILL.mdBrowse 2 files
252 tokens
1,054 bytes
Token encoding: o200k_base
Snapshot 8b92ba9
1---2name: list-npm-package-content3description: 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.4metadata:5 internal: true6---7 8# List npm Package Content9 10This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.11 12## Usage13 14Run the script from the package directory (e.g., `packages/ai`):15 16```bash17bash scripts/list-package-files.sh18```19 20The script will build the package, create a tarball, list its contents, and clean up automatically.21 22## Understanding Package Contents23 24The files included are determined by:25 261. **`files` field in `package.json`** - explicit allowlist of files/directories272. **`.npmignore`** - files to exclude (if present)283. **`.gitignore`** - used if no `.npmignore` exists294. **Always included**: `package.json`, `README`, `LICENSE`, `CHANGELOG`305. **Always excluded**: `.git`, `node_modules`, `.npmrc`, etc.31 Discovery context
Discovered by repository scan. No exact path reference found in the snapshot’s root AGENTS.md.