![]()
為任何程式碼儲存庫產生一份精簡的操作指南,格式為 AGENTS.md:包含子系統、測試、慣例與歷史陷阱。82 項測試。基於論文 Probe-and-Refine Tuning of Repository Guidance for Coding Agents (2026)。
程式碼代理需要儲存庫的操作知識,而這些知識並未存在於程式碼中:
人類會維護 AGENTS.md 檔案來提供這些上下文,但手動建立非常耗時且容易過時。
RepoMapper 以三個步驟自動化此流程:
git clone https://github.com/amurlaniakea/repomapper.git
cd repomapper
python3 -m venv venv && source venv/bin/activate && pip install -e .
# 為某個儲存庫產生 AGENTS.md
python3 -m repomapper /path/to/repo
Enter fullscreen mode
Exit fullscreen mode
你的代理每次遇到新儲存庫時,要花多少時間學習那些早已被寫好的知識?
https://dev.to/magopredator/repomapper-v010-guia-operativa-agentsmd-para-cualquier-repositorio-d09