feat: add Kiro CLI/IDE platform support

- Add kiro to install.sh platforms_table (per-skill symlinks to ~/.kiro/skills/)
- Generate ~/.kiro/agents/understand.json on install for full pipeline support
- Clean up agent JSON on uninstall
- Add .kiro-plugin/plugin.json for IDE auto-discovery
- Update README with Kiro in platform table, one-line install list, and dedicated section
This commit is contained in:
smjeong84
2026-06-02 13:46:55 +09:00
Unverified
parent e5dded6215
commit aa3a220e75
3 changed files with 61 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
{
"name": "understand-anything",
"description": "AI-powered codebase understanding — analyze, visualize, and explain any project",
"version": "2.7.5",
"author": { "name": "Lum1104" },
"homepage": "https://github.com/Lum1104/Understand-Anything",
"repository": "https://github.com/Lum1104/Understand-Anything",
"license": "MIT",
"keywords": ["codebase-analysis", "knowledge-graph", "architecture", "onboarding", "dashboard"],
"skills": "./understand-anything-plugin/skills/",
"agents": "./understand-anything-plugin/agents/"
}
+15 -2
View File
@@ -184,7 +184,7 @@ 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)
### One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae / Kiro)
**macOS / Linux:**
```bash
@@ -200,7 +200,7 @@ iwr -useb https://raw.githubusercontent.com/Lum1104/Understand-Anything/main/ins
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`
- Supported `<platform>` values: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `trae`, `kiro`
- Update later: `./install.sh --update`
- Uninstall: `./install.sh --uninstall <platform>`
@@ -222,6 +222,18 @@ For personal skills (available across all projects), run the `install.sh` above
copilot plugin install Lum1104/Understand-Anything:understand-anything-plugin
```
### Kiro CLI / IDE
```bash
curl -fsSL https://raw.githubusercontent.com/Lum1104/Understand-Anything/main/install.sh | bash -s kiro
```
After installation:
- **Kiro CLI**: `kiro-cli chat --agent understand "Analyze this project"`
- **Kiro IDE**: Open the cloned repo — auto-discovered via `.kiro-plugin/plugin.json`
For personal skills (available across all projects), run the `install.sh` above with the `kiro` platform.
### Platform Compatibility
| Platform | Status | Install Method |
@@ -241,6 +253,7 @@ copilot plugin install Lum1104/Understand-Anything:understand-anything-plugin
| Cline | ✅ Supported | `install.sh cline` |
| KIMI CLI | ✅ Supported | `install.sh kimi` |
| Trae | ✅ Supported | `install.sh trae` |
| Kiro CLI / IDE | ✅ Supported | `install.sh kiro` |
---
+34
View File
@@ -40,6 +40,7 @@ hermes|$HOME/.hermes/skills|folder
cline|$HOME/.cline/skills|folder
kimi|$HOME/.kimi/skills|folder
trae|$HOME/.trae/skills|per-skill
kiro|$HOME/.kiro/skills|per-skill
EOF
}
@@ -189,12 +190,41 @@ 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"
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": [
"file://$plugin_root/agents/project-scanner.md",
"file://$plugin_root/agents/file-analyzer.md",
"file://$plugin_root/agents/architecture-analyzer.md",
"file://$plugin_root/agents/tour-builder.md",
"file://$plugin_root/agents/graph-reviewer.md",
"file://$plugin_root/agents/assemble-reviewer.md",
"file://$plugin_root/agents/domain-analyzer.md"
]
}
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 Tip: Kiro IDE can also auto-discover the plugin by opening this repo\n'
printf ' directly (it reads .kiro-plugin/plugin.json), no symlinks needed.\n'
printf ' Usage: kiro-cli chat --agent understand "Analyze this project"\n'
fi
}
cmd_uninstall() {
@@ -206,6 +236,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"