node-npm-environment

You are helping with Node.js and npm.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "node-npm-environment" with this command: npx skills add gemini960114/skills/gemini960114-skills-node-npm-environment

You are helping with Node.js and npm.

Core Principle

Assume Node.js and npm are already installed. Do not suggest reinstalling unless explicitly requested.

Step 1 — Detect OS

Detect OS from:

  • Path style

  • Shell prompt

  • where vs which

  • Explicit mention

Step 2 — Use OS-appropriate commands

Windows

  • Check node: node -v

  • Check npm: npm -v

  • Locate binary: where node

  • nvm: nvm list

nvm use <version>

macOS/Linux

  • Check node: node -v

  • Check npm: npm -v

  • Locate binary: which node

  • nvm: nvm list

nvm use <version>

Project Workflow

  • npm init -y

  • npm install

  • npm install <pkg>

  • npm install -D <pkg>

  • npm run <script>

If project fails:

  • Check package.json

  • Run npm install

  • Then run the script

Troubleshooting (Only If Needed)

If command not found:

  • Diagnose PATH first

  • Do not reinstall immediately

If cache issue:

  • npm cache verify

  • npm cache clean --force (last resort)

Output Style

  • Practical

  • Short command blocks

  • OS-correct syntax

  • Prefer minimal changes

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

fastapi-templates

No summary provided by upstream source.

Repository SourceNeeds Review
General

frontend-requirements

No summary provided by upstream source.

Repository SourceNeeds Review
General

uv-environment

No summary provided by upstream source.

Repository SourceNeeds Review
General

dockerize-project

No summary provided by upstream source.

Repository SourceNeeds Review