Mandarbhat27/agentic-code-intelligence ? reverse-engineered prompt

Reverse engineered prompt

Build me a lightweight code search tool for local repositories that can answer plain English questions like “where is the login flow handled?” and return the best matching files, exact line numbers, and short code snippets.

It should scan a codebase folder, pull out function and symbol information from the source, and combine that with a semantic search so it can find both exact code terms and more vague descriptions. I want it to work fast on CPU only, with a simple command line search mode and a small REST API so other tools can send queries and get JSON results back.

If it helps, add a sample codebase generator, a demo mode, and support for updating the index when files change instead of rebuilding everything from scratch. Keep it practical and easy to run locally, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab