ni

Standardize Node package management with unified ni command workflows.

5|Updated Apr 29, 2023
One-click install
npx skills add https://github.com/n4vysh/dotfiles --skill ni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ni
Source: https://github.com/n4vysh/dotfiles/tree/main/home/dot_config/opencode/skills/ni
Command: npx skills add https://github.com/n4vysh/dotfiles --skill ni

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node projects often rely on ad-hoc npm, yarn, pnpm, or bun commands; ni provides a unified command family to simplify and standardize these workflows.

Core Features & Use Cases

  • Install/add dependencies: ni <pkg>
  • Run npm-script equivalents: nr <script>
  • Execute repository commands directly: na exec <command>
  • Upgrade, uninstall, and clean install workflows: nup, nun, nci
  • Deduplicate and optimize dependencies: nd

Quick Start

Install a dependency with ni, or run a script with nr to begin managing your Node project.

Frequently Asked Questions about ni

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Node package management commands across different projects?

Standardize Node package management by replacing direct npm, yarn, pnpm, or bun commands with the unified ni workflow. This applies a strict command mapping to simplify installation, script execution, and upgrades across Node projects.

Can I run package scripts without remembering the specific npm or yarn commands?

Run package scripts without specific npm or yarn commands by using the nr utility. It standardizes script execution across Node projects by mapping directly to the ni workflow family.

What is the best way to manage dependencies when switching between Node package managers?

Manage dependencies across different Node package managers by using the ni family utilities. Install with ni, upgrade with nup, uninstall with nun, and optimize with nd to deduplicate dependencies.

How do I execute repository commands directly in a Node project workflow?

Execute repository commands directly in a Node project by using the na utility. This supports repository-local execution for direct command runs within the standardized ni workflow.

Does the ni workflow support clean installs and dependency cleanup tasks?

The ni workflow supports clean installs and dependency cleanup tasks through the nci and nun utilities. Use nci for clean install workflows and nd to deduplicate and optimize project dependencies.

Why use a unified command family for Node package workflows instead of native package managers?

Use a unified command family for Node package workflows to eliminate ad-hoc npm, yarn, pnpm, or bun commands. This strict command mapping standardizes installation, execution, and cleanup tasks across all Node projects.