AGENT SKILL
publint
Use this skill when the user wants to lint an npm package for packaging/publishing errors with publint before releasing it.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- publint
- description
- Use this skill when the user wants to lint an npm package for packaging/publishing errors with publint before releasing it.
03 SKILL.md 正文
publint Plugin
publint checks an npm package for the packaging mistakes that break consumers:
exports map errors, missing types/typesVersions, files gaps, ESM/CJS format
mismatches, deprecated fields, and more. Run before npm publish.
Commands
Linting
publint pkg lint [dir]— Lint a package directorypublint _ _— Passthrough to publint CLI
Usage Examples
- "Lint this package before I publish it"
- "Check my exports map is correct"
- "Lint the packed tarball, not just package.json"
Installation
npm install -g publint
# or: npx publint
Examples
# Basic lint
publint
# Strict mode — extra checks for libraries
publint --strict
# Lint the real publish artifact (runs npm pack internally)
publint --pack
# JSON output for CI
publint --level warning --format json 2>/dev/null || publint --json
Key Features
- Validates
exports,main,module,types,typesVersions,files,bin --packlints the actual tarball contents, not just the manifest--strictescalates suggestions to errors — the library-author mode- Also available as a web tool at publint.dev
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57