Understand-Anything的运行模式

Understand-Anything

两种模式:

本地运行(直接在本机分析仓库,推荐)

  • 安装/构建插件(仅第一次或改动后):
bash 复制代码
cd ~/.understand-anything/repo/understand-anything-plugin
pnpm install
pnpm --filter @understand-anything/core build
  • 在项目根运行分析(写入项目的 knowledge-graph.json):

    • 如果系统有全局 understand 命令:understand /path/to/project --full --language zh
    • 否则用插件内的脚本(常见位置):
      • PLUGIN_ROOT=~/.understand-anything/repo/understand-anything-plugin
      • bash "$PLUGIN_ROOT/skills/understand/understand.sh" /path/to/project --full --language zh
    • 可选参数:
      • --full 强制重建,--review 启用 LLM 审核,--language zh 生成中文内容,--auto-update/--no-auto-update 控制自动更新。
  • 结果:会在项目下生成/更新 knowledge-graph.json、meta.json 和可能的中间文件;之后可用本地静态服务器打开 dashboard。

插件/斜杠命令(在 Copilot/agent 环境中触发)

  • 在 Copilot/agent 聊天中直接运行命令式交互:
    • 在 Copilot 聊天框输入:/understand --full --language zh
    • 或在 agent UI 选择并运行 understand skill,按提示确认 .understandignore、语言等选项。
  • 特点:
    • 插件会自动解析并找到插件根(可处理多种安装路径),必要时会自动执行 pnpm build。
    • 对于 git worktree,默认会把输出重定向到主仓库根(可通过环境变量覆盖)。
    • 适合在 Copilot/agent 环境下可视化交互与分阶段运行(不需要手动构建插件)。
相关推荐
张忠琳6 小时前
【deepseek-harness】DeepSeek Harness (dsh) 系统级架构分析之三
ai·agent·deepseek·harness
Behaviour7 小时前
Unity AI 生态横评对比:官方 AI Beta / Unity CLI / 团结 Codely / 社区 MCP 四大阵营选型
人工智能·unity·ai·游戏引擎·aigc·ai编程
学习星球7 小时前
OpenHarness 全面配置教学——从游戏开发工作流引入
c++·游戏·ai·ai编程
catchadmin8 小时前
NativePHP v4 让 Blade 构建原生 iOS 与 Android 界面
android·ios·ai·php
进阶的小名8 小时前
Spring AI 2.0 探索:多 OpenAI-Compatible 模型接入,以及下一代 Session 记忆管理
java·人工智能·后端·gpt·spring·ai·chatgpt
玫瑰互动GEO9 小时前
海外GEO优化案例-ChatGPT搜索关键词排名GEO优化案例详解(含RAG机制与Tokenization技术拆解)
人工智能·ai·chatgpt·geo优化
温暖的苹果12 小时前
opencode 配置完全指南:配置文件、目录与字段详解
ai·llm·agent·vibecoding·opencode
_Narcissus_13 小时前
链表算法题和静态链表
数据结构·c++·笔记·算法·链表·ai·力扣
小七-七牛开发者14 小时前
61 亿次请求背后:LLM Serving 的 Cache 与调度难题
ai·大模型·agent·token·工作流·claudecode·ai coding
DS随心转APP15 小时前
实测 AI 导出鸭实操效果,依托 AI 直接生成 word 功能横向比对五类导出办法,梳理办公文档转换最优路径
人工智能·ai·word·deepseek·ai导出鸭