A humorous yet practical guide to AI-assisted development. DON'T PANIC.
View the Project on GitHub HermeticOrmus/hitchhikers-guide-to-vibe-engineering
Risk Level: 🟢 Essential (but Mostly Harmless to do)
CODE REVIEW (n.): The practice of having human eyes examine code before it ships. With AI-generated code, this is not optional. The AI has no judgment. You provide the judgment. Review is where judgment happens.
Traditional code review asks:
AI code review adds:
[ ] Does this solve the actual problem?
[ ] Does it handle the cases I need?
[ ] Does it avoid the cases I said to avoid?
[ ] Do all imports exist?
[ ] Do all methods exist?
[ ] Are API calls to real endpoints?
[ ] Are dependencies in package.json/requirements.txt?
[ ] Did it only change what I asked?
[ ] Are there surprise "improvements"?
[ ] Did it add features I didn't request?
[ ] Did it delete code I need?
[ ] No hardcoded secrets?
[ ] No SQL injection vulnerabilities?
[ ] No XSS vulnerabilities?
[ ] Input validation present?
[ ] Authentication checked where needed?
[ ] Is this readable?
[ ] Will I understand this in a month?
[ ] Does it match our patterns?
[ ] Is it appropriately commented?
Quick scan:
Standard review:
Deep review:
Formal review:
AI loves to add:
Fix: Delete what you don’t need.
AI misses:
Fix: Add what’s missing.
AI ignores:
Fix: Refactor to match your style.
AI never says:
Fix: Assume everything needs verification.
When reviewing your own AI-generated code:
Don’t review immediately. Let the vibes settle.
Can you explain every line? If not, you don’t understand it.
Write a test before reviewing the implementation.
Can you delete this code and still have a working system? If yes, maybe you should.
Will future you thank or curse present you for this code?
“The AI writes code. You accept responsibility. Review is where responsibility is exercised.”
For your next AI-generated code: