AI Tools
rekipedia:把 codebase 轉成帶 file:line 引用的 AI-ready wiki / RAG / MCP
rekipedia 是 MIT 授權的 Python 工具,主打掃描 repo、產生 wiki / RAG knowledge base / MCP server,並讓 reki ask 回答附帶 file:line 引用;適合作為 codebase onboarding 與 agent grounding 層。
2026年5月28日1 分鐘閱讀👁 5
Codebase knowledge / RAG / MCP
rekipedia 的核心是讓 AI 對 repo 的回答有可追溯引用
Threads 作者的痛點是「每次問 AI code 怎麼運作都要複製幾百行,問完也不知道 file 在哪」。GitHub README 確認 rekipedia 可把 repo 轉成 AI-ready knowledge base,包含 wiki、RAG 與 MCP server,並讓問答回到 file:line citation。
主要命令語意
reki scan . 建立 repo 知識庫;reki ask 做帶引用問答;reki mcp 讓 Claude Code / Cursor 等 agent 透過 MCP 讀取 grounded context。
比純貼 context 好在哪
它把 repo 轉成可重用索引與 wiki,降低每次重新餵上下文的成本,也讓回答能回到具體檔案與行號。
適合任務
新人 onboarding、架構導覽、找 auth/payment/queue 等功能位置、重構前 hotspots 分析、讓 coding agent 少胡猜。
不要過度承諾:file:line citation 只能證明回答有根據某些程式碼位置,不代表模型理解完整系統行為。大規模 repo 仍要搭配測試、執行 trace、架構文件與人工 review。
| 問題 | rekipedia 對應 | 仍需補強 |
|---|---|---|
| AI 不知道功能在哪 | repo scan + ask with citations | 索引更新頻率與忽略規則 |
| wiki 很快過期 | watch / reindex 類工作流 | 文件審核與 release note 串接 |
| agent 修改撞到核心模組 | hotspots / hub nodes 概念 | 測試覆蓋與 code owner review |
| 多人 onboarding | guided walkthrough | 專案慣例與業務語境仍要補 |
Sources
Threads: https://www.threads.com/@eddie_chan_0506/post/DY2lx33D6VS
GitHub: https://github.com/unrealandychan/rekipedia
Docs: https://unrealandychan.github.io/rekipedia/
Threads: https://www.threads.com/@eddie_chan_0506/post/DY2lx33D6VS
GitHub: https://github.com/unrealandychan/rekipedia
Docs: https://unrealandychan.github.io/rekipedia/