understand-domain

仓库创建 2026年3月15日最近提交 2 天前SkillHot 收录 21 天前
▸ 精选理由

有助于把代码与业务流程对齐,便于产品与技术沟通。

这个 Skill 做什么

从代码中抽取业务领域与流程,生成可交互的水平流程图或域模型。

从代码仓库里抽取业务域、流程与关键步骤,生成可交互的水平流程图或域模型,帮助把散落在代码里的业务知识可视化。需要快速理解复杂系统的业务边界、数据流或角色职责时使用,支持轻量扫描或基于已有的 knowledge graph 衍生。特别能把代码实体映射成领域元素,便于与产品或新同事讨论结构化的业务模型。

▸ 展开 SKILL.md 英文原文

Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.

开发编程领域建模业务流程可视化通用
7.6w
Stars
6.4k
Forks
9
仓库内 Skill
+4.9k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/understand-anything-plugin/skills/understand-domain/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/understand-anything-plugin/skills/understand-domain/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# /understand-domain

Extracts business domain knowledge — domains, business flows, and process steps — from a codebase and produces an interactive horizontal flow graph in the dashboard.

## How It Works

- If a knowledge graph already exists (`.ua/knowledge-graph.json`, or the legacy `.understand-anything/knowledge-graph.json` when that directory is present), derives domain knowledge from it (cheap, no file scanning)
- If no knowledge graph exists, performs a lightweight scan: file tree + entry point detection + sampled files
- Use `--full` flag to force a fresh scan even if a knowledge graph exists

## Instructions

### Phase 0: Resolve `PROJECT_ROOT`

Set `PROJECT_ROOT` to the current wo
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有