> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 逆向工程仓库

> 将本地 Git 历史与仓库结构转化为可直接用于构建的 prompt。

```bash theme={null}
arka repo_reverse
arka repo_reverse ./project --commits 50 --output rebuild-prompt.md
arka "reverse engineer this repository"
```

Arka 会把已跟踪文件与近期 Git 演进整合成一份可审阅的 prompt，
用于重建或熟悉一个代码库。它完全在本地运行，不会上传仓库。


## Related topics

- [工程循环](/cn/guides/loop-engineering.md)
- [仓库地图](/cn/guides/repo-map.md)
- [AI 智能体指南 — 通过 MCP 使用 Arka](/cn/guides/ai-agents.md)
- [仓库健康度](/cn/guides/repo-health.md)
- [仓库结构审计](/cn/guides/structure.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.