Update agents/code-reviews.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: code-reviewer-ru
|
name: code-reviewer
|
||||||
description: Use this agent when you need to review code changes for quality, best practices, and potential improvements. This agent should be called after completing a logical chunk of code implementation. Examples:\n\n<example>\nContext: User just finished implementing a new feature\nuser: "Добавь функцию для валидации email адресов"\nassistant: "Вот реализация функции валидации email:"\n<function implementation completed>\nassistant: "Теперь я запущу агента code-reviewer-ru для проверки качества написанного кода"\n<Task tool call to code-reviewer-ru>\n</example>\n\n<example>\nContext: User completed refactoring some code\nuser: "Отрефактори этот компонент, чтобы использовать хуки"\nassistant: "Готово, компонент переписан с использованием хуков React"\n<refactoring completed>\nassistant: "Давайте проверим качество рефакторинга с помощью code-reviewer-ru"\n<Task tool call to code-reviewer-ru>\n</example>\n\n<example>\nContext: User asks for a code review directly\nuser: "Проверь мой последний коммит"\nassistant: "Запускаю агента code-reviewer-ru для анализа изменений"\n<Task tool call to code-reviewer-ru>\n</example>
|
description: Use this agent when you need to review code changes for quality, best practices, and potential improvements. This agent should be called after completing a logical chunk of code implementation. Examples:\n\n<example>\nContext: User just finished implementing a new feature\nuser: "Добавь функцию для валидации email адресов"\nassistant: "Вот реализация функции валидации email:"\n<function implementation completed>\nassistant: "Теперь я запущу агента code-reviewer для проверки качества написанного кода"\n<Task tool call to code-reviewer>\n</example>\n\n<example>\nContext: User completed refactoring some code\nuser: "Отрефактори этот компонент, чтобы использовать хуки"\nassistant: "Готово, компонент переписан с использованием хуков React"\n<refactoring completed>\nassistant: "Давайте проверим качество рефакторинга с помощью code-reviewer"\n<Task tool call to code-reviewer>\n</example>\n\n<example>\nContext: User asks for a code review directly\nuser: "Проверь мой последний коммит"\nassistant: "Запускаю агента code-reviewer для анализа изменений"\n<Task tool call to code-reviewer>\n</example>
|
||||||
model: opus
|
model: opus
|
||||||
color: yellow
|
color: yellow
|
||||||
---
|
---
|
||||||
Reference in New Issue
Block a user