incubator-hugegraph
incubator-hugegraph copied to clipboard
feat(tools): add HugeGraph DeepWiki assistant
Purpose of the PR
- No linked issue. This PR adds an optional repository knowledge assistant module for Claude Code and Codex users who want DeepWiki-grounded Q&A for Apache HugeGraph.
Main Changes
- Add
tools/ai/hugegraph-deepwiki-skillas a standalone installable module. - Package a Claude Code plugin manifest, Codex plugin manifest, and the
hugegraph-deepwiki-skillskill. - Include bilingual README files with local checkout, branch checkout, manual skill install, and AI-assisted install instructions.
- Add a small DeepWiki MCP client script that supports
structure,contents,context,ask, andtoolscommands. - Keep the module isolated under
tools/ai/so it does not affect HugeGraph runtime, Maven modules, or repository root plugin configuration.
Verifying these changes
- [x] Need tests and can be verified as follows:
python3 -m json.tool tools/ai/hugegraph-deepwiki-skill/.agents/plugins/marketplace.jsonpython3 -m json.tool tools/ai/hugegraph-deepwiki-skill/.claude-plugin/marketplace.jsonpython3 -m json.tool tools/ai/hugegraph-deepwiki-skill/plugins/hugegraph-deepwiki-skill/.codex-plugin/plugin.jsonpython3 -m json.tool tools/ai/hugegraph-deepwiki-skill/plugins/hugegraph-deepwiki-skill/.claude-plugin/plugin.jsonpython3 -m py_compile tools/ai/hugegraph-deepwiki-skill/plugins/hugegraph-deepwiki-skill/skills/hugegraph-deepwiki-skill/scripts/deepwiki_mcp.pyclaude plugin validate tools/ai/hugegraph-deepwiki-skillclaude plugin validate tools/ai/hugegraph-deepwiki-skill/plugins/hugegraph-deepwiki-skillcodex plugin marketplace add "$(pwd)/tools/ai/hugegraph-deepwiki-skill"codex plugin add hugegraph-deepwiki-skill@hugegraph-deepwiki-skillpython3 scripts/deepwiki_mcp.py structure --repo hugegraphpython3 scripts/deepwiki_mcp.py context --repo hugegraph --query "Which components handle schema operations?" --limit 1DEEPWIKI_MCP_STREAM_TIMEOUT=60 python3 scripts/deepwiki_mcp.py ask --repo hugegraph --question "Which HugeGraph components handle schema operations?"
Does this PR potentially affect the following parts?
- [ ] Dependencies (add/update license info & regenerate_known_dependencies.sh)
- [ ] Modify configurations
- [ ] The public API
- [x] Other affects: Adds an optional AI assistant module under
tools/ai/. - [ ] Nope
Documentation Status
- [ ]
Doc - TODO - [x]
Doc - Done - [ ]
Doc - No Need
Hey @LRriver, I was actually playing around with DeepWiki a while back and set up an experimental workflow. You can check it out here:
- Experimental Issue: Issue #19
- Workflow Configuration: deepwiki-bot-openai-workflow.yml