mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Rich sample knowledge graph with 20 nodes (all 5 types), 28 edges (10 edge types), 5 layers, and 6 tour steps themed as a task management API. Updated CLAUDE.md with skill commands and Phase 2 feature list. Updated README with current status, Phase 2 features, commands table, and skill usage instructions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Understand Anything
Project Overview
An open-source tool combining LLM intelligence + static analysis to produce interactive dashboards for understanding codebases.
Architecture
- Monorepo with pnpm workspaces
- packages/core — Shared analysis engine (types, persistence, tree-sitter plugin, LLM prompt templates)
- packages/dashboard — React + TypeScript web dashboard (React Flow, Monaco Editor, Zustand, TailwindCSS)
- packages/skill — Claude Code skill (
/understand-chatcommand)
Key Commands
pnpm install— Install all dependenciespnpm --filter @understand-anything/core build— Build the core packagepnpm --filter @understand-anything/core test— Run core testspnpm dev:dashboard— Start dashboard dev server
Key Commands (updated)
pnpm --filter @understand-anything/skill build— Build skill packagepnpm --filter @understand-anything/skill test— Run skill tests
Phase 2 Features
- Fuzzy search via Fuse.js (SearchEngine in core)
- Zod schema validation on graph loading
- Staleness detection + incremental graph merging
- Layer auto-detection (heuristic + LLM prompt)
/understand-chatskill command- Dashboard chat panel (Claude API integration)
- Dagre auto-layout for graph visualization
- Layer visualization with grouping and legend
Conventions
- TypeScript strict mode everywhere
- Vitest for testing
- ESM modules (
"type": "module") - Knowledge graph JSON lives in
.understand-anything/directory of analyzed projects