NanoNets/Graft ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript tool that helps coding agents understand a codebase without rediscovering everything every time.

I want a command line app that can scan a repo, build a local graph of the code, and write it out as readable markdown files with links between the important parts. It should be easy to run with one init command, then keep working in the background so the graph stays up to date as files change. I also want it to plug into coding assistants like Claude Code and Cursor so they can pull in the right context automatically when I ask for help.

Make it fast, cheap to rebuild, and local first, with no database or server needed. It should support searching, mapping, and visualizing the code structure, and it should work well in monorepos too. If you need to look up current docs online for any agent integration details, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab