understand-dashboard

Featured

Launch the interactive web dashboard to visualize a codebase's knowledge graph

AI & Automation 76,509 stars 6394 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /understand-dashboard Start the Understand Anything dashboard to visualize the knowledge graph for the current project. ## Instructions 1. Determine the project directory and data directory: - If `$ARGUMENTS` contains a path, use that as the project directory - Otherwise, use the current working directory - Prefer the legacy `.understand-anything/` data directory when it exists, otherwise use `.ua/` Use the Bash tool to resolve: ```bash PROJECT_ARG="$ARGUMENTS" if [ -n "$PROJECT_ARG" ]; then PROJECT_DIR=$(cd "$PROJECT_ARG" 2>/dev/null && pwd -P) else PROJECT_DIR=$(pwd -P) fi if [ -z "$PROJECT_DIR" ] || [ ! -d "$PROJECT_DIR" ]; then echo "Error: Project directory not found: ${PROJECT_ARG:-$PWD}" exit 1 fi if [ -d "$PROJECT_DIR/.understand-anything" ]; then UA_DIR="$PROJECT_DIR/.understand-anything" else UA_DIR="$PROJECT_DIR/.ua" fi ``` 2. Check that `$UA_DIR/knowledge-graph.json` exists in the project directory. If not, tell the user: ``` No knowledge graph found. Run /understand first to analyze this project. ``` Use the Bash tool to check: ```bash if [ ! -f "$UA_DIR/knowledge-graph.json" ]; then echo "No knowledge graph found. Run /understand first to analyze this project." exit 1 fi ``` 3. Find the dashboard code. The dashboard is at `packages/dashboard/` relative to this plugin's root directory. Check these paths in order and use the first that exists: ...

Details

Author
Egonex-AI
Repository
Egonex-AI/Understand-Anything
Created
4 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category