📖 Step 7: Testing & Quality#207 / 291

Code Review

Code Review

📖One-line summary

The process of having others read your code and give feedback.

Example

Diff view for reviewing code changes

function getUser() {

- return fetch('/api/user')

+ return fetch('/api/v2/user')

+ .then(r => r.json())

}

Vibe coding prompt examples

>_

Build a code review checklist. Organize items to check for naming, error handling, performance, security, and accessibility.

>_

Build a GitHub Action that auto-posts code review comments on PRs. Check type safety, unused variables, and more.

Try these prompts in your AI coding assistant!