一键导入
nodapt
Use this skill whenever working with Node.js, npm, npx, or Node.js version management. Always use nodapt to execute Node.js-related commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill whenever working with Node.js, npm, npx, or Node.js version management. Always use nodapt to execute Node.js-related commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use the Conventional Commits specification to write Git Commit Messages, automatically applying it when creating, modifying, or optimizing commit messages.
Use this skill whenever modifying an existing codebase. Ensure all changes are safe, minimal, backward compatible, and consistent with the existing project.
Use this skill whenever generating, modifying, refactoring, or reviewing code involving internationalization (i18n). Ensure all translation calls follow a consistent set of i18n rules.
Use ripgrep (rg) for fast codebase search, symbol lookup, reference discovery, and project analysis.
基于 SOC 职业分类
| name | nodapt |
| description | Use this skill whenever working with Node.js, npm, npx, or Node.js version management. Always use nodapt to execute Node.js-related commands. |
Use nodapt whenever interacting with Node.js.
This includes:
nodenpmnpxALWAYS use nodapt when:
node, npm, or npx commands.engines.node in package.json.nodapt.Do not invoke node, npm, or npx directly unless the user explicitly requests otherwise.
Prefer automatic version selection whenever possible.
Examples:
nodapt node -v
nodapt npm install
nodapt npm test
nodapt npm run build
nodapt npx vite
If the project defines engines.node, rely on automatic version resolution.
When the user specifies a version, use:
nodapt use 22 npm test
nodapt use 20 node app.js
nodapt use ^18 npm install
If the requested version is ambiguous or invalid, ask the user for clarification before proceeding.
Examples:
1414.xlatestltsClarify whether the user wants a major version, an exact version, or a version range.
Use:
nodapt ls
to list installed versions.
Use:
nodapt ls-remote
to list available versions.
Use:
nodapt rm <version>
to remove a version.
Use:
nodapt clean
to remove all installed versions.
If no compatible Node.js version is found:
package.json.If a version does not exist:
nodapt ls-remote
If the version format is unclear:
ALWAYS:
package.json version constraints.NEVER:
engines.node if it exists.nodapt, unless explicitly requested by the user.When working with Node.js:
nodapt.