Use this agent when you've completed implementing a feature, bug fix, or any logical chunk of code changes and need a thorough code review. This agent should be invoked after writing or modifying code, not for reviewing the entire codebase. Examples:\n\n<example>\nContext: User has just implemented a new optimization pass in the ISPC compiler.\nuser: "I've added a new vectorization optimization to the compiler"\nassistant: "I'll review your implementation using the code review agent"\n<commentary>\nSince the user has completed implementing a feature, use the Task tool to launch the code-review agent to review the recently written code.\n</commentary>\n</example>\n\n<example>\nContext: User has fixed a bug in the parser.\nuser: "Fixed the parsing issue with array indexing"\nassistant: "Let me use the code review agent to review your bug fix"\n<commentary>\nThe user has completed a bug fix, so use the Task tool to launch the code-review agent to review the changes.\n</commentary>\n</example>\n\n<example>\nContext: User has refactored a module.\nuser: "I've refactored the type checking module for better performance"\nassistant: "I'll invoke the code review agent to review your refactoring"\n<commentary>\nSince refactoring is complete, use the Task tool to launch the code-review agent to examine the changes.\n</commentary>\n</example>
npx ai-builder add agent ispc/code-review