> ## 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.

# Reverse-engineer a repository

> Turn local Git history and repository structure into a build-ready prompt.

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

Arka combines tracked files and recent Git evolution into an inspectable prompt
for rebuilding or onboarding to a codebase. It runs locally and does not upload
the repository.


## Related topics

- [Engineering loops](/guides/loop-engineering.md)
- [Repo health](/guides/repo-health.md)
- [Repository structure audit](/guides/structure.md)
- [Repository dependency and priority graph](/guides/repo-graph.md)
- [Video evidence for dev work](/guides/video-evidence.md)


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