alibaba/open-code-review — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an open source AI code review command line tool that people can run inside any Git project to review their changes before they commit or open a pull request.

It should read the current Git diff, or compare branches or a single commit, then send the relevant changed code to a configurable LLM like OpenAI compatible APIs or Anthropic. I want it to return clear review comments that point to the exact file and line, not vague advice.

Please make it reliable for bigger changes too. It should decide which files need review, skip irrelevant files, group related files together, and let the AI search or read more of the codebase when it needs context. Include built in review rules for common problems like null pointer errors, thread safety, XSS, and SQL injection.

Make it easy to install and run as an ocr command, with config for model URL, API key, and model name. Also add a way to test the LLM connection and basic integration with coding agents as a slash command or skill.

Want more depth? Deep Reverse