mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Merge pull request #364 from smjeong84/feat/add-kiro-platform-support
feat: add Kiro CLI/IDE platform support
This commit is contained in:
@@ -193,7 +193,9 @@ Understand-Anything works across multiple AI coding platforms.
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae / Nanobot)
|
||||
|
||||
### One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae / Nanobot / Kiro)
|
||||
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -209,7 +211,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
The installer clones the repo to `~/.understand-anything/repo` and creates the right symlinks for the chosen platform. Restart your CLI/IDE afterwards.
|
||||
|
||||
- Supported `<platform>` values: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `trae`, `nanobot`
|
||||
- Supported `<platform>` values: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `trae`, `nanobot`, `kiro`
|
||||
- Update later: `./install.sh --update`
|
||||
- Uninstall: `./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -231,6 +233,18 @@ For personal skills (available across all projects), run the `install.sh` above
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
After installation:
|
||||
- **Kiro CLI**: `kiro-cli chat --agent understand "Analyze this project"`
|
||||
- **Kiro IDE**: The skills are symlinked into `~/.kiro/skills/` and the `understand` agent is written to `~/.kiro/agents/understand.json`, so both are available after restarting the IDE.
|
||||
|
||||
For personal skills (available across all projects), run the `install.sh` above with the `kiro` platform.
|
||||
|
||||
### Platform Compatibility
|
||||
|
||||
| Platform | Status | Install Method |
|
||||
@@ -251,6 +265,8 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| KIMI CLI | ✅ Supported | `install.sh kimi` |
|
||||
| Trae | ✅ Supported | `install.sh trae` |
|
||||
| Nanobot | ✅ Supported | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ Supported | `install.sh kiro` |
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -181,7 +181,7 @@ Understand-Anything funciona en múltiples plataformas de codificación con IA.
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### Instalación de una línea (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### Instalación de una línea (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -197,7 +197,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
El instalador clona el repositorio en `~/.understand-anything/repo` y crea los enlaces simbólicos correspondientes para la plataforma elegida. Reinicia tu CLI/IDE al terminar.
|
||||
|
||||
- Valores soportados de `<platform>`: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`
|
||||
- Valores soportados de `<platform>`: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`, `kiro`
|
||||
- Actualizar más adelante: `./install.sh --update`
|
||||
- Desinstalar: `./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -219,6 +219,18 @@ Para habilidades personales (disponibles en todos los proyectos), ejecuta el `in
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
Tras la instalación:
|
||||
- **Kiro CLI**: `kiro-cli chat --agent understand "Analiza este proyecto"`
|
||||
- **Kiro IDE**: Las habilidades se enlazan simbólicamente en `~/.kiro/skills/` y el agente `understand` se escribe en `~/.kiro/agents/understand.json`, de modo que ambos quedan disponibles tras reiniciar el IDE.
|
||||
|
||||
Para habilidades personales (disponibles en todos los proyectos), ejecuta el `install.sh` de arriba con la plataforma `kiro`.
|
||||
|
||||
### Compatibilidad de Plataformas
|
||||
|
||||
| Plataforma | Estado | Método de Instalación |
|
||||
@@ -238,6 +250,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ Soportado | `install.sh cline` |
|
||||
| KIMI CLI | ✅ Soportado | `install.sh kimi` |
|
||||
| Nanobot | ✅ Soportado | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ Soportado | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -182,7 +182,7 @@ Understand-Anythingは複数のAIコーディングプラットフォームで
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### ワンラインインストール(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### ワンラインインストール(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -198,7 +198,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
インストーラーはリポジトリを `~/.understand-anything/repo` にクローンし、選択したプラットフォーム用のシンボリックリンクを作成します。完了後はCLI/IDEを再起動してください。
|
||||
|
||||
- サポートされる `<platform>` 値:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`
|
||||
- サポートされる `<platform>` 値:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`、`kiro`
|
||||
- 後で更新:`./install.sh --update`
|
||||
- アンインストール:`./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -220,6 +220,18 @@ GitHub Copilot拡張機能(v1.108+)をインストールしたVS Codeは、`
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
インストール後:
|
||||
- **Kiro CLI**:`kiro-cli chat --agent understand "このプロジェクトを解析して"`
|
||||
- **Kiro IDE**:スキルは `~/.kiro/skills/` にシンボリックリンクされ、`understand` エージェントは `~/.kiro/agents/understand.json` に書き込まれます。そのため、IDEを再起動するとどちらも利用可能になります。
|
||||
|
||||
全プロジェクトで使用するパーソナルスキルとして導入したい場合は、上記の `install.sh` を `kiro` プラットフォームで実行してください。
|
||||
|
||||
### プラットフォーム互換性
|
||||
|
||||
| プラットフォーム | ステータス | インストール方法 |
|
||||
@@ -239,6 +251,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ サポート | `install.sh cline` |
|
||||
| KIMI CLI | ✅ サポート | `install.sh kimi` |
|
||||
| Nanobot | ✅ サポート | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ サポート | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -181,7 +181,7 @@ Understand-Anything은 다양한 AI 코딩 플랫폼에서 사용할 수 있습
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### 한 줄 설치 (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### 한 줄 설치 (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -197,7 +197,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
설치 스크립트는 저장소를 `~/.understand-anything/repo`에 클론하고 선택한 플랫폼에 맞는 심볼릭 링크를 생성합니다. 설치 후 CLI 또는 IDE를 재시작하세요.
|
||||
|
||||
- 지원되는 `<platform>` 값: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`
|
||||
- 지원되는 `<platform>` 값: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`, `kiro`
|
||||
- 이후 업데이트: `./install.sh --update`
|
||||
- 제거: `./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -219,6 +219,18 @@ GitHub Copilot(v1.108+)이 설치된 VS Code는 `.copilot-plugin/plugin.json`을
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
설치 후:
|
||||
- **Kiro CLI**: `kiro-cli chat --agent understand "이 프로젝트를 분석해줘"`
|
||||
- **Kiro IDE**: 스킬이 `~/.kiro/skills/`에 심볼릭 링크로 연결되고 `understand` 에이전트가 `~/.kiro/agents/understand.json`에 작성되므로, IDE를 재시작하면 둘 다 사용할 수 있습니다.
|
||||
|
||||
모든 프로젝트에서 사용하는 개인 스킬로 설치하려면 위 `install.sh`를 `kiro` 플랫폼으로 실행하세요.
|
||||
|
||||
### 플랫폼 호환성
|
||||
|
||||
| 플랫폼 | 상태 | 설치 방법 |
|
||||
@@ -238,6 +250,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ 지원 | `install.sh cline` |
|
||||
| KIMI CLI | ✅ 지원 | `install.sh kimi` |
|
||||
| Nanobot | ✅ 지원 | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ 지원 | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -182,7 +182,7 @@ Understand-Anything работает с несколькими платформ
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### Установка одной командой (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### Установка одной командой (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -198,7 +198,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
Установщик клонирует репозиторий в `~/.understand-anything/repo` и создаёт нужные симлинки для выбранной платформы. После установки перезапустите свой CLI/IDE.
|
||||
|
||||
- Поддерживаемые значения `<platform>`: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`
|
||||
- Поддерживаемые значения `<platform>`: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`, `kiro`
|
||||
- Обновление: `./install.sh --update`
|
||||
- Удаление: `./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -220,6 +220,18 @@ VS Code с GitHub Copilot (v1.108+) автоматически обнаружи
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
После установки:
|
||||
- **Kiro CLI**: `kiro-cli chat --agent understand "Проанализируй этот проект"`
|
||||
- **Kiro IDE**: skills симлинкуются в `~/.kiro/skills/`, а агент `understand` записывается в `~/.kiro/agents/understand.json`, поэтому оба становятся доступны после перезапуска IDE.
|
||||
|
||||
Для персональных skills (доступных во всех проектах) запустите `install.sh` выше с платформой `kiro`.
|
||||
|
||||
### Совместимость с платформами
|
||||
|
||||
| Платформа | Статус | Способ установки |
|
||||
@@ -239,6 +251,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ Поддерживается | `install.sh cline` |
|
||||
| KIMI CLI | ✅ Поддерживается | `install.sh kimi` |
|
||||
| Nanobot | ✅ Поддерживается | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ Поддерживается | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -182,7 +182,7 @@ Understand-Anything birden fazla AI kodlama platformunda çalışır.
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### Tek satırlık kurulum (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### Tek satırlık kurulum (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -198,7 +198,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
Kurulum betiği depoyu `~/.understand-anything/repo` dizinine klonlar ve seçilen platform için uygun sembolik bağlantıları oluşturur. Sonrasında CLI/IDE'ni yeniden başlat.
|
||||
|
||||
- Desteklenen `<platform>` değerleri: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`
|
||||
- Desteklenen `<platform>` değerleri: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `nanobot`, `kiro`
|
||||
- Daha sonra güncelle: `./install.sh --update`
|
||||
- Kaldır: `./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -220,6 +220,18 @@ Tüm projelerde kullanmak için kişisel beceri olarak kurmak istersen yukarıda
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
Kurulumdan sonra:
|
||||
- **Kiro CLI**: `kiro-cli chat --agent understand "Bu projeyi analiz et"`
|
||||
- **Kiro IDE**: Beceriler `~/.kiro/skills/` dizinine sembolik bağlantı olarak eklenir ve `understand` ajanı `~/.kiro/agents/understand.json` dosyasına yazılır, böylece IDE'yi yeniden başlattıktan sonra her ikisi de kullanılabilir.
|
||||
|
||||
Tüm projelerde kullanmak için kişisel beceri olarak kurmak istersen yukarıdaki `install.sh`'ı `kiro` platformuyla çalıştır.
|
||||
|
||||
### Platform Uyumluluğu
|
||||
|
||||
| Platform | Durum | Kurulum Yöntemi |
|
||||
@@ -239,6 +251,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ Destekleniyor | `install.sh cline` |
|
||||
| KIMI CLI | ✅ Destekleniyor | `install.sh kimi` |
|
||||
| Nanobot | ✅ Destekleniyor | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ Destekleniyor | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -181,7 +181,7 @@ Understand-Anything 可在多个 AI 编码平台上运行。
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### 一行命令安装(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### 一行命令安装(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -197,7 +197,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
安装脚本会将仓库克隆到 `~/.understand-anything/repo`,并为所选平台创建相应的符号链接。安装完成后请重启 CLI 或 IDE。
|
||||
|
||||
- 支持的 `<platform>` 取值:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`
|
||||
- 支持的 `<platform>` 取值:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`、`kiro`
|
||||
- 后续更新:`./install.sh --update`
|
||||
- 卸载:`./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -219,6 +219,18 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
安装完成后:
|
||||
- **Kiro CLI**:`kiro-cli chat --agent understand "分析这个项目"`
|
||||
- **Kiro IDE**:技能会被符号链接到 `~/.kiro/skills/`,`understand` agent 会被写入 `~/.kiro/agents/understand.json`,重启 IDE 后两者均可使用。
|
||||
|
||||
若需要在所有项目中使用(个人技能),运行上面的 `install.sh` 并选择 `kiro` 平台即可。
|
||||
|
||||
### 多平台兼容
|
||||
|
||||
| 平台 | 状态 | 安装方式 |
|
||||
@@ -238,6 +250,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ 支持 | `install.sh cline` |
|
||||
| KIMI CLI | ✅ 支持 | `install.sh kimi` |
|
||||
| Nanobot | ✅ 支持 | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ 支持 | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+15
-2
@@ -181,7 +181,7 @@ Understand-Anything 可在多個 AI 編碼平台上執行。
|
||||
/plugin install understand-anything
|
||||
```
|
||||
|
||||
### 一行指令安裝(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot)
|
||||
### 一行指令安裝(Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Nanobot / Kiro)
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
@@ -197,7 +197,7 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
|
||||
安裝指令稿會將儲存庫複製到 `~/.understand-anything/repo`,並為所選平台建立相應的符號連結。安裝完成後請重新啟動 CLI 或 IDE。
|
||||
|
||||
- 支援的 `<platform>` 取值:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`
|
||||
- 支援的 `<platform>` 取值:`gemini`、`codex`、`opencode`、`pi`、`openclaw`、`antigravity`、`vibe`、`vscode`、`hermes`、`cline`、`kimi`、`nanobot`、`kiro`
|
||||
- 後續更新:`./install.sh --update`
|
||||
- 解除安裝:`./install.sh --uninstall <platform>`
|
||||
|
||||
@@ -219,6 +219,18 @@ iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/i
|
||||
copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
```
|
||||
|
||||
### Kiro CLI / IDE
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro
|
||||
```
|
||||
|
||||
安裝完成後:
|
||||
- **Kiro CLI**:`kiro-cli chat --agent understand "分析這個專案"`
|
||||
- **Kiro IDE**:技能會以符號連結的方式建立到 `~/.kiro/skills/`,並將 `understand` agent 寫入 `~/.kiro/agents/understand.json`,因此重新啟動 IDE 後兩者皆可使用。
|
||||
|
||||
若需要在所有專案中使用(個人技能),執行上面的 `install.sh` 並選擇 `kiro` 平台即可。
|
||||
|
||||
### 多平台相容性
|
||||
|
||||
| 平台 | 狀態 | 安裝方式 |
|
||||
@@ -238,6 +250,7 @@ copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
|
||||
| Cline | ✅ 支援 | `install.sh cline` |
|
||||
| KIMI CLI | ✅ 支援 | `install.sh kimi` |
|
||||
| Nanobot | ✅ 支援 | `install.sh nanobot` |
|
||||
| Kiro CLI / IDE | ✅ 支援 | `install.sh kiro` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+42
@@ -40,6 +40,7 @@ $Platforms = [ordered]@{
|
||||
kimi = @{ Target = (Join-Path $HOME '.kimi\skills'); Style = 'folder' }
|
||||
trae = @{ Target = (Join-Path $HOME '.trae\skills'); Style = 'per-skill' }
|
||||
nanobot = @{ Target = (Join-Path $HOME '.nanobot\workspace\skills'); Style = 'per-skill' }
|
||||
kiro = @{ Target = (Join-Path $HOME '.kiro\skills'); Style = 'per-skill' }
|
||||
}
|
||||
|
||||
function Show-Usage {
|
||||
@@ -192,6 +193,11 @@ function Link-Plugin-Root {
|
||||
}
|
||||
}
|
||||
|
||||
function ConvertTo-FileUri([string]$Path) {
|
||||
# Produce a forward-slashed file URI (Windows: file:///C:/path/...).
|
||||
return 'file:///' + ($Path -replace '\\', '/')
|
||||
}
|
||||
|
||||
function Cmd-Install([string]$Id) {
|
||||
$cfg = Resolve-Platform $Id
|
||||
Clone-Or-Update
|
||||
@@ -200,18 +206,54 @@ function Cmd-Install([string]$Id) {
|
||||
Write-Host '→ Linking universal plugin root'
|
||||
Link-Plugin-Root
|
||||
|
||||
if ($Id -eq 'kiro') {
|
||||
Write-Host '→ Creating Kiro agent configuration'
|
||||
$agentsDir = Join-Path $HOME '.kiro\agents'
|
||||
if (-not (Test-Path $agentsDir)) { New-Item -ItemType Directory -Path $agentsDir | Out-Null }
|
||||
$pluginRoot = Join-Path $RepoDir 'understand-anything-plugin'
|
||||
|
||||
# Build the "resources" list dynamically from the agent definitions in
|
||||
# the repo so it never drifts as agents are added or removed.
|
||||
$resources = @(
|
||||
Get-ChildItem -Path (Join-Path $pluginRoot 'agents') -Filter '*.md' -File |
|
||||
Sort-Object Name |
|
||||
ForEach-Object { ConvertTo-FileUri $_.FullName }
|
||||
)
|
||||
$agent = [ordered]@{
|
||||
name = 'understand'
|
||||
description = 'Analyze codebase into interactive knowledge graph — Understand Anything'
|
||||
prompt = ConvertTo-FileUri (Join-Path $pluginRoot 'skills\understand\SKILL.md')
|
||||
tools = @('read', 'write', 'shell', 'grep', 'glob', 'code', 'subagent')
|
||||
resources = $resources
|
||||
}
|
||||
$agentJson = Join-Path $agentsDir 'understand.json'
|
||||
# WriteAllText emits UTF-8 without a BOM on every PowerShell version.
|
||||
[System.IO.File]::WriteAllText($agentJson, ($agent | ConvertTo-Json -Depth 5))
|
||||
Write-Host " ✓ $agentJson"
|
||||
}
|
||||
|
||||
Write-Host "`n✓ Installed Understand-Anything for $Id"
|
||||
Write-Host ' Restart your CLI or IDE to pick up the skills.'
|
||||
if ($Id -eq 'vscode') {
|
||||
Write-Host "`n Tip: VS Code can also auto-discover the plugin by opening this repo"
|
||||
Write-Host ' directly (it reads .copilot-plugin/plugin.json), no symlinks needed.'
|
||||
}
|
||||
if ($Id -eq 'kiro') {
|
||||
Write-Host "`n Usage: kiro-cli chat --agent understand `"Analyze this project`""
|
||||
}
|
||||
}
|
||||
|
||||
function Cmd-Uninstall([string]$Id) {
|
||||
$cfg = Resolve-Platform $Id
|
||||
Write-Host "→ Removing skill links for $Id"
|
||||
Unlink-Skills $cfg.Target $cfg.Style
|
||||
if ($Id -eq 'kiro') {
|
||||
$agentJson = Join-Path $HOME '.kiro\agents\understand.json'
|
||||
if (Test-Path $agentJson) {
|
||||
Remove-Item -LiteralPath $agentJson -Force
|
||||
Write-Host " ✓ removed $agentJson"
|
||||
}
|
||||
}
|
||||
if (Remove-Reparse $PluginLink) {
|
||||
Write-Host " ✓ removed $PluginLink"
|
||||
}
|
||||
|
||||
+37
@@ -41,6 +41,7 @@ cline|$HOME/.cline/skills|folder
|
||||
kimi|$HOME/.kimi/skills|folder
|
||||
trae|$HOME/.trae/skills|per-skill
|
||||
nanobot|$HOME/.nanobot/workspace/skills|per-skill
|
||||
kiro|$HOME/.kiro/skills|per-skill
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -190,12 +191,44 @@ cmd_install() {
|
||||
printf -- '→ Linking universal plugin root\n'
|
||||
link_plugin_root
|
||||
|
||||
if [[ "$id" == "kiro" ]]; then
|
||||
printf -- '→ Creating Kiro agent configuration\n'
|
||||
mkdir -p "$HOME/.kiro/agents"
|
||||
local plugin_root="$REPO_DIR/understand-anything-plugin"
|
||||
|
||||
# Build the "resources" list dynamically from the agent definitions in the
|
||||
# repo so it never drifts as agents are added or removed. Deterministic
|
||||
# order via LC_ALL=C sort; no external deps (no jq) so it runs anywhere.
|
||||
local resources="" agent_md
|
||||
while IFS= read -r agent_md; do
|
||||
[[ -n "$agent_md" ]] || continue
|
||||
[[ -n "$resources" ]] && resources+=$',\n'
|
||||
resources+=" \"file://$agent_md\""
|
||||
done < <(find "$plugin_root/agents" -maxdepth 1 -type f -name '*.md' | LC_ALL=C sort)
|
||||
|
||||
cat > "$HOME/.kiro/agents/understand.json" <<KIROEOF
|
||||
{
|
||||
"name": "understand",
|
||||
"description": "Analyze codebase into interactive knowledge graph — Understand Anything",
|
||||
"prompt": "file://$plugin_root/skills/understand/SKILL.md",
|
||||
"tools": ["read", "write", "shell", "grep", "glob", "code", "subagent"],
|
||||
"resources": [
|
||||
$resources
|
||||
]
|
||||
}
|
||||
KIROEOF
|
||||
printf ' ✓ %s\n' "$HOME/.kiro/agents/understand.json"
|
||||
fi
|
||||
|
||||
printf '\n✓ Installed Understand-Anything for %s\n' "$id"
|
||||
printf ' Restart your CLI or IDE to pick up the skills.\n'
|
||||
if [[ "$id" == "vscode" ]]; then
|
||||
printf '\n Tip: VS Code can also auto-discover the plugin by opening this repo\n'
|
||||
printf ' directly (it reads .copilot-plugin/plugin.json), no symlinks needed.\n'
|
||||
fi
|
||||
if [[ "$id" == "kiro" ]]; then
|
||||
printf '\n Usage: kiro-cli chat --agent understand "Analyze this project"\n'
|
||||
fi
|
||||
}
|
||||
|
||||
cmd_uninstall() {
|
||||
@@ -207,6 +240,10 @@ cmd_uninstall() {
|
||||
|
||||
printf -- '→ Removing skill links for %s\n' "$id"
|
||||
unlink_skills "$target" "$style"
|
||||
if [[ "$id" == "kiro" && -f "$HOME/.kiro/agents/understand.json" ]]; then
|
||||
rm -f "$HOME/.kiro/agents/understand.json"
|
||||
printf ' ✓ removed %s\n' "$HOME/.kiro/agents/understand.json"
|
||||
fi
|
||||
if [[ -L "$PLUGIN_LINK" ]]; then
|
||||
rm -f "$PLUGIN_LINK"
|
||||
printf ' ✓ removed %s\n' "$PLUGIN_LINK"
|
||||
|
||||
Reference in New Issue
Block a user