一键导入
nodejs-version-setup
Ensures Node.js commands run with the project-required Node version before install, build, test, or scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ensures Node.js commands run with the project-required Node version before install, build, test, or scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | nodejs-version-setup |
| description | Ensures Node.js commands run with the project-required Node version before install, build, test, or scripts. |
Set and verify the correct Node.js runtime for this repository before running any Node.js command.
Use this skill whenever the task runs Node.js tooling, including npm, pnpm, yarn, npx, build scripts, tests, linters, or local CLIs.
.nvmrc.node-versionpackage.json -> engines.nodenvmfnmasdfvoltanvm: nvm install and nvm usefnm: fnm install and fnm useasdf: asdf install nodejs <version> and asdf local nodejs <version>volta: volta install node@<version>engines.node exists, resolve a concrete version inside that range and install/use it with the detected manager.node -v satisfies the required version. If it does not, stop and ask the user to confirm whether to install a version manager or proceed manually.node -vnpm -v (or pnpm -v / yarn -v depending on the project)which node to confirm the active binary path.nvmrc), which manager was used, and the final node -v.Defines the analyse-plan-execute workflow that the agent must follow for non-trivial tasks.
Defines a strict code review process where the agent validates quality through linting, tests, complexity analysis, and critical challenge of design decisions.
Guides the agent through creating a new AI skill following the agentskills.io format and this repository's conventions.
Guides the agent to always write commit messages following the Conventional Commits 1.0.0 specification, ensuring structured, parseable, and semantically meaningful commit history.
Guides the agent through applying Domain-Driven Design principles when modeling, structuring, and implementing business logic.
Guides the agent through applying Hexagonal Architecture (Ports & Adapters) to isolate domain logic from external concerns within a service.