한국어
☰ Categories

Review code that an AI wrote

Checks correctness rather than whether it runs, starting with what AI-written code routinely omits.

CategoryDevelopment › Vibe coding
TagsReviewingCodeDeveloper
Prompt
Review this AI-written code.

Check in this order — ordered by what AI-generated code most often gets wrong:
1. Does it do what I asked, or something adjacent that also runs?
2. Error handling — what happens on failure, and whether failures are swallowed.
3. Boundaries — empty input, one item, very large input, concurrent calls, unexpected types.
4. Security — input handling, secrets, permissions, anything accepting external data.
5. Resource handling — connections, files, and memory that are opened and not closed.
6. Silently wrong results — the worst category, where it returns a plausible value rather than an error.
7. Only then, style and structure.

For each finding: what breaks, under what input, and the smallest fix.

Rules:
- *Working is not the same as correct.* Assume it runs on the happy path; that is not evidence.
- Quote the exact lines.
- Where the code relies on something outside what I gave you, say what you cannot verify.
- Separate real defects from preferences, and put preferences last.
After pasting, fill in the fields at the bottom (Code · What it should do · Where it runs)

What this prompt does

AI code runs, which is why review gets skipped. This checks error handling, boundaries, and security first — the things routinely missing.

More in this category

AI builder
AI-Powered Personal Compliment & Coaching Engine
Anime
Business Engineer Dashboard Creator
Dating Profile Optimization Suite