Use this agent when you have written or modified code and need a thorough review before committing. This agent should be called after completing a logical chunk of work but before running git commit. Examples: <example>Context: User has just implemented a new feature for markdown parsing. user: 'I've added support for parsing metadata properties in markdown files. Here's the diff...' assistant: 'Let me use the code-reviewer agent to review this implementation before you commit.' <commentary>Since the user has completed a code change, use the code-reviewer agent to analyze the diff for quality, design, and architectural alignment.</commentary></example> <example>Context: User has refactored a component in the Dioxus UI. user: 'I refactored the file browser component to use better state management' assistant: 'I'll review this refactoring with the code-reviewer agent to ensure it follows best practices.' <commentary>The user has made changes that need review before committing, so use the code-reviewer agent.</commentary></example>
npx ai-builder add agent timabell/code-reviewer