diff --git a/.antigravity/INSTALL.md b/.antigravity/INSTALL.md new file mode 100644 index 0000000..3919764 --- /dev/null +++ b/.antigravity/INSTALL.md @@ -0,0 +1,56 @@ +# Installing Understand-Anything for Antigravity + +## Prerequisites + +- Git + +## Installation + +1. **Clone the repository:** + ```bash + git clone https://github.com/Lum1104/Understand-Anything.git ~/.antigravity/understand-anything + ``` + +2. **Create the skills symlink:** + ```bash + mkdir -p ~/.agents/skills + ln -s ~/.antigravity/understand-anything/understand-anything-plugin/skills ~/.agents/skills/understand-anything + ``` + + **Windows (PowerShell):** + ```powershell + New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.agents\skills" + cmd /c mklink /J "$env:USERPROFILE\.agents\skills\understand-anything" "$env:USERPROFILE\.antigravity\understand-anything\understand-anything-plugin\skills" + ``` + +3. **Restart the chat or IDE** so Antigravity can discover the skills. + +## Verify + +```bash +ls -la ~/.agents/skills/understand-anything +``` + +You should see a symlink pointing to the skills directory in the cloned repo. + +## Usage + +Skills activate automatically when relevant. You can also invoke directly by saying: +- "Run the understand skill to analyze this codebase" +- "Use the understand-dashboard skill to view the architecture map" +- "Use understand-chat to answer a question about the graph" + +## Updating + +```bash +cd ~/.antigravity/understand-anything && git pull +``` + +Skills update instantly through the symlink. + +## Uninstalling + +```bash +rm ~/.agents/skills/understand-anything +rm -rf ~/.antigravity/understand-anything +``` diff --git a/README.md b/README.md index ded8a3b..9c3922f 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,13 @@ Fetch and follow instructions from https://raw.githubusercontent.com/Lum1104/Und Cursor auto-discovers the plugin via `.cursor-plugin/plugin.json` when this repo is cloned. No manual installation needed — just clone and open in Cursor. +### Antigravity + +Tell Antigravity: +```text +Fetch and follow instructions from https://raw.githubusercontent.com/Lum1104/Understand-Anything/refs/heads/main/.antigravity/INSTALL.md +``` + ### Platform Compatibility | Platform | Status | Install Method | @@ -149,6 +156,7 @@ Cursor auto-discovers the plugin via `.cursor-plugin/plugin.json` when this repo | OpenCode | ✅ Supported | Plugin config | | OpenClaw | ✅ Supported | AI-driven install | | Cursor | ✅ Supported | Auto-discovery | +| Antigravity | ✅ Supported | AI-driven install | --- diff --git a/README.zh-CN.md b/README.zh-CN.md index 7edf497..5a5eeb5 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -139,6 +139,13 @@ Fetch and follow instructions from https://raw.githubusercontent.com/Lum1104/Und 克隆此仓库后,Cursor 会自动通过 `.cursor-plugin/plugin.json`文件发现插件。无需手动安装 — 只需克隆并在 Cursor 中打开即可。 +### Antigravity + +告诉 Antigravity: +```text +Fetch and follow instructions from https://raw.githubusercontent.com/Lum1104/Understand-Anything/refs/heads/main/.antigravity/INSTALL.md +``` + ### 多平台兼容 | 平台 | 状态 | 安装方式 | @@ -148,6 +155,7 @@ Fetch and follow instructions from https://raw.githubusercontent.com/Lum1104/Und | OpenCode | ✅ 支持 | 插件配置 | | OpenClaw | ✅ 支持 | AI驱动安装 | | Cursor | ✅ 支持 | 自动发现 | +| Antigravity | ✅ 支持 | AI驱动安装 | ---