Back to skills
SkillHub ClubShip Full StackFull Stack
ni
Imported from https://github.com/fohte/dotfiles.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Stars
1
Hot score
77
Updated
March 20, 2026
Overall rating
C2.6
Composite score
2.6
Best-practice grade
B84.0
Install command
npx @skill-hub/cli install fohte-dotfiles-ni
Repository
fohte/dotfiles
Skill path: config/claude/skills/ni
Imported from https://github.com/fohte/dotfiles.
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: fohte.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install ni into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/fohte/dotfiles before adding ni to shared team environments
- Use ni for development workflows
Works across
Claude CodeCodex CLIGemini CLIOpenCode
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
--- name: ni description: Use ni (@antfu/ni) for package manager operations. Use this skill when installing dependencies, running scripts, or executing packages in JavaScript/TypeScript projects. --- # ni - Package Manager Agnostic Commands JavaScript/TypeScript プロジェクトでパッケージマネージャー操作を行う際は、`npm`, `yarn`, `pnpm`, `bun` などを直接使用せず、`@antfu/ni` のコマンドを使用すること。 `ni` はプロジェクトの lockfile を自動検出し、適切なパッケージマネージャーコマンドに変換する。 ## コマンド対応表 | ni コマンド | 用途 | npm 相当 | | ------------- | ---------------------- | ---------------------- | | `ni` | 依存関係のインストール | `npm install` | | `ni <pkg>` | パッケージ追加 | `npm install <pkg>` | | `ni -D <pkg>` | devDependencies に追加 | `npm install -D <pkg>` | | `nr <script>` | スクリプト実行 | `npm run <script>` | | `nlx <pkg>` | パッケージ実行 | `npx <pkg>` | | `nu` | 依存関係の更新 | `npm update` | | `nun <pkg>` | パッケージ削除 | `npm uninstall <pkg>` | | `nci` | クリーンインストール | `npm ci` | ## 使用例 ```bash # 依存関係をインストール ni # パッケージを追加 ni axios # devDependencies に追加 ni -D typescript @types/node # スクリプト実行 nr build nr test nr lint # npx 相当 nlx eslint --fix . nlx prettier --write . # パッケージ削除 nun lodash # クリーンインストール nci ``` ## 注意事項 - `ni` は mise でグローバルインストール済み (`config/mise/home-config.toml`) - lockfile が存在しないプロジェクトでは、`ni` はデフォルトで npm を使用する - `nr` でスクリプトを実行する際、引数は `--` なしでそのまま渡せる