ozyyshr/RepoGraph — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python project called RepoGraph that helps an AI coding assistant understand an entire codebase better. I want to be able to point it at a local repository from the command line and have it build a repository level code graph, then save one output with line level tag information and another output with the graph itself.
I also want a simple way to search the repo by function or class name, so it can return where that thing is defined and where it is referenced. Please wire this into the existing Agentless style flow and the SWE agent style flow too, with easy run scripts so I can try both without a lot of setup.
If generating the graph takes a while, make sure there is a clean way to use cached repo structure data instead. Keep the setup and usage straightforward, and add clear docs so someone can clone the repo, install what it needs, and run it right away. Look up current docs online if you need to fill in gaps.
Want more depth? Deep Reverse