building-java-knowledge-graph Skill
Analyzes JVM projects (Java/Kotlin/Scala/Groovy) and generates knowledge graphs with tree-sitter parsing. Requires Python 3 on the host and a JVM project with Maven/Gradle/Ant/Ivy build files. Skips gracefully if either prerequisite is missing. Triggers when asked to "build knowledge graph", "analyze project structure" Published by microsoft in github-copilot-modernization.
What is building-java-knowledge-graph Skill?
Analyzes JVM projects (Java/Kotlin/Scala/Groovy) and generates knowledge graphs with tree-sitter parsing. Requires Python 3 on the host and a JVM project with Maven/Gradle/Ant/Ivy build files. Skips gracefully if either prerequisite is missing. Triggers when asked to "build knowledge graph", "analyze project structure" Published by microsoft in github-copilot-modernization. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Data analysis
- Writing
- Data analysis use cases
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use building-java-knowledge-graph Skill
- Use it for data analysis.
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/github-copilot-modernization
- Skill file: plugins/github-copilot-modernization/skills/building-java-knowledge-graph/SKILL.md
What it does
Analyzes JVM projects (Java/Kotlin/Scala/Groovy) and generates knowledge graphs with tree-sitter parsing. Requires Python 3 on the host and a JVM project with Maven/Gradle/Ant/Ivy build files. Skips gracefully if either prerequisite is missing. Triggers when asked to "build knowledge graph", "analyze project structure"
Skill instructions
Prerequisites Step 1 — Verify JVM project: bash find "$PROJECTROOT" -maxdepth 5 -type f ( -name ".java" -o -name ".kt" -o -name ".scala" -o -name ".groovy" ) | head -1 If no JVM files found: skip this skill. Set knowledgegraphdir to null in setupartifacts. Non-fatal — downstream agents fall back to direct source analysis. Step 2 — Verify Python: bash python3 --version 2/dev/null || python --version 2/dev/null If unavailable: skip this skill with same fallback as above. Quick Start bash First-time setup (~1 minute) pip3 install --user 'tree-sitter<0.21' python3 scripts/installgrammars.py Optional: SVG generation brew install graphviz macOS Analyze project python3 scripts/buildknowledgegraph.py /path/to/project output-dir ⚠️ DESTRUCTIVE OUTPUT: The script wipes ALL files in output-dir before writing. NEVER point it at a shared directory like {{BASEPATH}}/ or {{BASEPATH}}/artifacts/. Use a dedicated subdirectory: ✅ SAFE — dedicated subdirectory python3 scripts/buildknowledgegraph.py /pa
Explore related resources
Frequently asked questions
What is building-java-knowledge-graph?
building-java-knowledge-graph is a open-source AI agent skill with Copy skill directory. Analyzes JVM projects (Java/Kotlin/Scala/Groovy) and generates knowledge graphs with tree-sitter parsing.
Who is building-java-knowledge-graph best for?
building-java-knowledge-graph is best for reusing agent instructions, scripts, and references, data analysis workflows, writing workflows.
How do I install building-java-knowledge-graph?
Install or run building-java-knowledge-graph using Copy skill directory. Check building-java-knowledge-graph for the latest setup command.
Is building-java-knowledge-graph actively maintained?
building-java-knowledge-graph may need a closer maintenance check before production use.
Auto-fetched from GitHub.