Code Review
Vibe Kanban provides built-in code review tools that let you inspect, edit, and approve agent-generated code just like reviewing a pull request.
Reviewing Agent Changes
When an agent completes a task, you can review all changes using Vibe Kanban's diff interface:
- View all file changes side by side
- See line-by-line differences
- Understand what the agent changed
- Identify potential issues
Diff Interface
The diff interface provides:
- File List: See all modified files
- Side-by-Side View: Compare original and modified code
- Syntax Highlighting: Code is properly highlighted for readability
- Line Numbers: Easy reference to specific lines
Editing Code
You can edit code directly in the diff view:
- Make corrections to agent-generated code
- Add comments or documentation
- Refine implementations
- Fix any issues before merging
Approval Workflow
After reviewing changes, you can:
- Approve: Accept the changes and merge them
- Request Changes: Ask the agent to modify the code
- Edit and Approve: Make manual edits then approve
- Discard: Reject the changes entirely
Best Practices
Always Review
Never merge agent-generated code without review. Always:
- Review all file changes
- Check for security issues
- Verify code quality
- Test functionality
Look for Common Issues
When reviewing AI-generated code, watch for:
- Security vulnerabilities
- Performance issues
- Code style inconsistencies
- Missing error handling
- Incomplete implementations
Test Before Merging
Always test agent-generated code before merging:
- Run existing tests
- Test new functionality manually
- Check for regressions
- Verify edge cases
Reviewing in IDE
If you're using the VS Code extension, you can review code directly in your IDE:
- View diffs inline
- Edit code in familiar environment
- Use IDE features for review
- Leverage IDE extensions
Batch Review
When running multiple tasks in parallel, you can:
- Review tasks as they complete
- Queue reviews for later
- Review multiple tasks together
- Merge related changes together
Next Steps
- Read the Vibe Guide for review best practices
- Learn about git integration for merging
- Explore IDE integration for better workflow
- Check out full documentation