现代工具
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 运行环境要求
- Node.js · Python
- 检测到的文件与系统行为
-
- 只读
- 命令执行
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Modern CLI Tools
## NEVER USE These Commands
These commands are **prohibited**. No exceptions, no fallback.
**Python:**
- `pip`, `pip3`, `pip install`, `pip freeze`
- `python -m venv`, `virtualenv`
- `python`, `python3` (to run scripts — use `uv run` instead)
**Node.js:**
- `npm`, `npm install`, `npm run`, `npx`
- `yarn`
**Node Versions:**
- `nvm`
**Shell:**
- `grep` — use `rg` (ripgrep)
- `find` — use `fd`
**HTTP:**
- `curl`, `wget` — use `xh`
## Modern Replacements
| Task | Command | Replaces |
|------|---------|----------|
| Install Python package | `uv add <pkg>` | pip install |
| Run Python tool (one-off) | `uvx <tool>` | pipx run / pip install + run |
| Run Python script | `uv run script.py` | python script.py |
| Run Python tests | `uv run pytest` | python -m pytest |
| Sync Python environment | `uv sync` | pip install -r requirements.txt |
| Manage Python version | `uv python install 3.12` | pyenv / system python |
| Install Node packages | `pnpm install` | npm install / yarn |
| Run Node script | `pnpm run <script>` | npm run / yarn |
| Install Node version | `fnm install <version>` | nvm install |
| Use Node version | `fnm use <version>` | nvm use |
| Search file contents | `rg <pattern>` | grep -r |
| Find files | `fd <pattern>` | find . -name |
| Make HTTP request | `xh GET <url>` | curl / wget |
## Tool Not Installed?
**Do NOT fall back to the legacy tool.** Stop and tell the user to install the modern tool:
| Tool | Official Site |
|------|--------------|
| uv / uvx | https://github.com/astral-sh/uv |
| pnpm | https://pnpm.io |
| fnm | https://github.com/Schniz/fnm |
| ripgrep (`rg`) | https://github.com/BurntSushi/ripgrep |
| fd | https://github.com/sharkdp/fd |
| xh | https://github.com/ducaale/xh |
Example message to user:
> "`rg` (ripgrep) is not installed. Install it from https://github.com/BurntSushi/ripgrep before continuing."
## Red Flags — You Are About to Violate This Skill
| Thought | Reality |
|---------|---------|
| "The tool isn't installed" | Tell the user to install it. Do NOT fall back to legacy tool. |
| "Just this once" | No exceptions. Use the modern tool or stop. |
| "This is a CI/container environment" | Still applies. Notify the user if the tool is unavailable. |
| "The existing script already uses pip/npm" | Tell the user to migrate. Do not propagate legacy tool usage. |
| "It's faster/easier to use grep here" | Use `rg`. It is faster. |
| "The user didn't ask me to use modern tools" | This skill is always active. It applies regardless. |
---
> Source: [atomikpanda/modern-cli-tools](https://github.com/atomikpanda/modern-cli-tools) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->
章节与文件索引
按说明文件中的顺序排列。
切勿使用这些命令
现代替代品
工具未安装?
危险信号——你即将违反这项技能
文件/命令 -> pip · pip3 · pip install · pip freeze · python -m venv · virtualenv · python · python3
内容校验值 -> 286847dcae5d
当前原文的自动摘译,尚未人工审校。
切勿使用这些命令
这些命令是被禁止的。没有例外,没有后退。 Python:
pip、pip3、pip install、pip freeze``python -m venv、virtualenv``python、python3(运行脚本 — 使用uv run代替)现代替代品
任务 · 命令 · 替换安装 Python 包 ·
uv add <pkg>· pip install 运行 Python 工具(一次性) ·uvx <tool>· pipx run / pip install + run 运行 Python 脚本 ·uv run script.py· python script.py 运行 Python 测试 ·uv run pytest· python -m pytest工具未安装?
不要退回到旧版工具。停止并告诉用户安装现代工具:工具 · 官方网站 uv / uvx · https://github.com/astral-sh/uv pnpm · https://pnpm.io fnm · https://github.com/Schniz/fnm
危险信号——你即将违反这项技能
想法·现实“该工具未安装”·告诉用户安装它。不要退回到旧版工具。 “就这一次”·无一例外。使用现代工具或停止。 “这是一个 CI/容器环境” · 仍然适用。如果该工具不可用,请通知用户。 “现有脚本已使用 pip/npm” · 告诉用户进行迁移。不要传播旧工具的使用。