| name | publishing |
| description | Audit and prepare Node3D packages for safe npm publishing. Use for pre-publish checks, package.json exports/files, npm pack dry-runs, lockfile scope, standalone package readiness, workspace versus submodule safety, release hygiene, package metadata, and root/submodule commit or push planning. |
Publishing
Use this skill whenever a change can affect how a Node3D package installs,
builds, packs, publishes, or is committed across the superproject and submodule
repositories. Node3D publishing is intentionally local and agent-assisted; do
not create or rely on dedicated package publish workflows unless the release
policy changes.
Workflow
- Check root status and affected submodule status before editing or committing.
- Determine whether the task affects the root workspace, one package as a standalone repo, or both.
- Inspect package metadata:
type, main, types, exports, files, scripts, dependencies, engines, and lockfiles.
- Run the narrow package checks first. Use
npm pack --dry-run before release-facing conclusions.
- For package content changes, commit inside the package submodule first. Commit the root superproject pointer only after the package commit exists.
- Do not push, publish, tag, or create release artifacts unless the user explicitly asks.
- When publishing is requested, validate the package and leave the final
interactive
npm publish command for the user to run from a terminal. npm
OTP prompts are interactive and should not be handled through Codex command
execution.
References