publint Package Export Validation Skill for npm Release Checks
Use this skill when an agent needs to lint a package before publish, catch broken exports or manifest issues, and explain exactly what will fail for consumers. It is a pre-publish validation workflow centered on publint, not a generic listing for the tool itself.
npx skills add agentskillexchange/skills --skill publint-package-export-validation-skill-npm-release-checks
This skill teaches an agent how to use publint as a release gate for JavaScript and TypeScript packages. The concrete job is to inspect a package before publish, run publint against the built output, interpret warnings around exports, conditions, module formats, and entry points, and then suggest the smallest safe fix in package.json or build configuration. That is valuable when a package βworks on my machineβ but breaks for consumers because the published exports map, types entry, or dual ESM and CommonJS setup is wrong.
What this skill actually does
Invoke this skill when a user is preparing an npm release, debugging broken package consumption in downstream apps, or cleaning up a monorepo package that has accumulated confusing export settings. In those cases the user does not need a broad package-management overview. They need an agent that can run a precise publish-readiness check and translate publintβs findings into concrete release fixes.
The scope boundary is narrow by design. This is not a general npm registry listing, and it is not a generic bundler or TypeScript skill. It is specifically about using publint to validate publish artifacts and package metadata before release. The agent stays focused on exported entry points, type resolution, package conditions, and distribution structure. Common integration points include CI publish jobs, changeset or semantic-release pipelines, library monorepos, and prepublish scripts that should fail fast before a bad package reaches the registry.