From e9fb47d9ad84c8aa6833523b2a49d7261dc7b2c2 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Wed, 10 Jun 2026 17:44:43 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20shell=E5=91=BD=E4=BB=A4=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E7=94=A8pwsh=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 55dde34..fde719a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -151,6 +151,15 @@ var rotation = new Rotation3D(qx, qy, qz, qw); ## 9. 工具使用提示 +### Shell 命令统一规范 + +所有 shell 命令、脚本、rg/fd 调用必须通过 `pwsh` (PowerShell 7) 执行,禁止用 cmd/bash: + +``` +pwsh -Command "rg -n '关键字' src/" +pwsh -Command "./build-and-deploy.bat" +``` + ### edit 工具的正确格式 ```json