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", "parse Java codebase", or "generate dependency graph".
Install
npx skills add microsoft/github-copilot-modernization --skill building-java-knowledge-graphnpx skills add microsoft/github-copilot-modernization --skill building-java-knowledge-graph -a claude-code -gnpx skills add microsoft/github-copilot-modernization --skill building-java-knowledge-graph -a codex -ggemini skills install https://github.com/microsoft/github-copilot-modernization.git --path plugins/github-copilot-modernization/skills/building-java-knowledge-graphgh skill install microsoft/github-copilot-modernization building-java-knowledge-graphgit clone --depth 1 https://github.com/microsoft/github-copilot-modernization /tmp/microsoft__github-copilot-modernization
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__github-copilot-modernization/plugins/github-copilot-modernization/skills/building-java-knowledge-graph ~/.claude/skills/building-java-knowledge-graph # Claude Code
cp -R /tmp/microsoft__github-copilot-modernization/plugins/github-copilot-modernization/skills/building-java-knowledge-graph ~/.agents/skills/building-java-knowledge-graph # Codex, Cursor, Gemini CLI, Copilot, OpenCode