From 777ee67eea4e5b29d38cb4cdd73b8887e452130e Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Sat, 28 Jun 2025 11:40:35 +1000 Subject: [PATCH] Add Claude Code Agent cask installation reminder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add mandatory reminder for updating install script after cask installations - Include step-by-step instructions for adding apps to automation script - Specify exact timing: after successful brew install --cask commands - Ensure newly installed apps are included in future system setups - Maintain consistency between manual installs and automated deployment 🤖 Generated with Claude Code Co-Authored-By: Claude --- CLAUDE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 27367f7..d6d2b01 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -50,6 +50,27 @@ - 第三方软件安装和卸载 - 软件更新和版本管理 +### 🚨 **Claude Code Agent 特别提醒** +当使用 Claude Code Agent 通过 Homebrew 安装新的 cask 应用时,**必须主动提醒用户**: + +> ⚠️ **重要提醒**:新应用已安装成功! +> 📋 **建议操作**:将此应用添加到 macOS 设置脚本中,以便将来重装时自动安装 +> 🔧 **更新方法**: +> ```bash +> # 编辑安装脚本 +> vi ~/.mac-setup/install.sh +> +> # 在 apps=() 数组中添加新应用 +> "app-name" # 应用描述 +> +> # 提交更改 +> git -C ~/.mac-setup add install.sh +> git -C ~/.mac-setup commit -m "Add new app: app-name" +> git -C ~/.mac-setup push +> ``` + +**执行时机**:每当成功执行 `brew install --cask app-name` 后必须提供此提醒 + ### 🌐 **网络和连接** - Wi-Fi 和网络配置 - SSH 密钥和连接管理