Add Claude Code Agent cask installation reminder
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
c316d73824
commit
777ee67eea
21
CLAUDE.md
21
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 密钥和连接管理
|
||||
|
|
Loading…
Reference in New Issue
Block a user