The AI that questions YOUR code instead of answering questions!
Instead of searching Stack Overflow for answers, this tool reads your codebase and has a friendly chat with you about your code decisions. It's like pair programming with an AI that's genuinely curious (and slightly sarcastic) about why you wrote that code.
# Install globally
npm install -g reverse-stackoverflow
# Run in your project
cd your-project
reverse-stackoverflowOr use npx (no installation):
npx reverse-stackoverflow🤖 AI: 👋 Hey there! I'm your AI code reviewer.
🤖 AI: I've been looking through your code and... well, we need to talk. 😅
🤖 AI: Ready? Let's go! 🚀
🤖 AI: Hey, quick question about src/api/users.js...
🤖 AI: ✨ I see you're using 'var' 5 times. Any reason you didn't use 'let' or 'const'?
💬 Your answer: Because I'm learning JavaScript
🤖 AI: Nice! That makes sense. 👍
Simple, practical questions that junior developers can understand:
- "I see you're using 'var'. Any reason you didn't use 'let' or 'const'?"
- "There are 15 console.log statements. Are these for debugging?"
- "You have async functions but no try-catch blocks. What happens if something goes wrong?"
- "This file is 500 lines! Have you thought about breaking it up?"
- "Where are the tests for this file?"
- 💬 Chat-Based - Feels like texting with a code reviewer
- 🤖 Friendly AI - Junior-dev-friendly questions
- 🎨 Beautiful - ASCII art and animations
- ⚡ Zero Config - Just run it
- 🌍 Multi-Language - JS, TS, Python, Java, Go, Rust, C++, Ruby, PHP
- 📝 Saves Answers - Your responses are documented
- Type your answer - Explain your decision
skip- Skip the current questionstop- End the chat early
{
"scripts": {
"code-review": "reverse-stackoverflow"
}
}- Learning - Understand what makes code better
- Code Reviews - Prepare before submitting PRs
- Onboarding - Document why you made certain decisions
- Refactoring - Identify areas that need improvement
MIT - Built with ❤️ by codecrypt112