Back to skills
SKILL.md
Npm
ASecurityInstalls, upgrades, and removes Node.js/npm dependencies, runs scripts, executes packages, and manages package workflows. MUST USE for any task involving npm, npx, pnpm, yarn, or bun, including package.json dependency changes, lockfile updates, install/update/uninstall actions, and script execution.
- 3 stars
- 0 votes
- 0 copies
- 1 view
- Added September 22, 2026
Security analysis
100/100npx -y skills add NazmusSayad/skills --skill npm --agent claude-codeAre you the author of Npm?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nazmussayad-npm)---
name: npm
description: Installs, upgrades, and removes Node.js/npm dependencies, runs scripts, executes packages, and manages package workflows. MUST USE for any task involving npm, npx, pnpm, yarn, or bun, including package.json dependency changes, lockfile updates, install/update/uninstall actions, and script execution.
---
## Commands
| Command | Description | Example |
| ------------------------------- | --------------------------------- | -------------------------------------- |
| `ni`, `ni <pkg>`, `ni -D <pkg>` | Install dependency, devDependency | `ni`, `ni react`, `ni -D @types/react` |
| `nup`, `nup <pkg>` | Upgrade dependencies | `nup`, `nup react` |
| `nun <pkg>` | Uninstall dependency | `nun react` |
| `nr <script>` | Run npm script | `nr lint`, `nr test` |
| `nlx <pkg>` | Execute npm package (`npx`) | `nlx tsc` |
## Rules
- NEVER use `npm`, `pnpm`, `yarn`, or `bun` directly unless explicitly instructed by the user. USE the commands mentioned above.
- Prefer existing `package.json` scripts via `nr <script>` (e.g. `lint`, `typecheck`, `format`) over running tools directly with `nlx`/`npx` when available. For example, use `nr lint` instead of `nlx eslint` or `nr typecheck` instead of `nlx tsc`. Use `nlx <tool>` when `package.json` has no matching script.
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.