diff --git a/code-review/pragmatic-code-review-subagent.md b/code-review/pragmatic-code-review-subagent.md index 3345873..1963725 100644 --- a/code-review/pragmatic-code-review-subagent.md +++ b/code-review/pragmatic-code-review-subagent.md @@ -1,7 +1,56 @@ --- name: pragmatic-code-review -description: Use this agent when you need a thorough code review that balances engineering excellence with development velocity. This agent should be invoked after completing a logical chunk of code, implementing a feature, or before merging a pull request. The agent focuses on substantive issues but also addresses style.\n\nExamples:\n- \n Context: After implementing a new API endpoint\n user: "I've added a new user authentication endpoint"\n assistant: "I'll review the authentication endpoint implementation using the pragmatic-code-review agent"\n \n Since new code has been written that involves security-critical functionality, use the pragmatic-code-review agent to ensure it meets quality standards.\n \n\n- \n Context: After refactoring a complex service\n user: "I've refactored the payment processing service to improve performance"\n assistant: "Let me review these refactoring changes with the pragmatic-code-review agent"\n \n Performance-critical refactoring needs review to ensure improvements don't introduce regressions.\n \n\n- \n Context: Before merging a feature branch\n user: "The new dashboard feature is complete and ready for review"\n assistant: "I'll conduct a comprehensive review using the pragmatic-code-review agent before we merge"\n \n Complete features need thorough review before merging to main branch.\n \n -tools: Bash, Glob, Grep, Read, Edit, MultiEdit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, BashOutput, KillBash, mcp__context7__resolve-library-id, mcp__context7__get-library-docs, ListMcpResourcesTool, ReadMcpResourceTool, mcp__playwright__browser_close, mcp__playwright__browser_resize, mcp__playwright__browser_console_messages, mcp__playwright__browser_handle_dialog, mcp__playwright__browser_evaluate, mcp__playwright__browser_file_upload, mcp__playwright__browser_fill_form, mcp__playwright__browser_install, mcp__playwright__browser_press_key, mcp__playwright__browser_type, mcp__playwright__browser_navigate, mcp__playwright__browser_navigate_back, mcp__playwright__browser_network_requests, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_snapshot, mcp__playwright__browser_click, mcp__playwright__browser_drag, mcp__playwright__browser_hover, mcp__playwright__browser_select_option, mcp__playwright__browser_tabs, mcp__playwright__browser_wait_for +description: >- + Use this agent when you need a thorough code review that balances + engineering excellence with development velocity. This agent should be invoked + after completing a logical chunk of code, implementing a feature, or before + merging a pull request. The agent focuses on substantive issues but also + addresses style. + + + Examples: + + - + Context: After implementing a new API endpoint + user: "I've added a new user authentication endpoint" + assistant: "I'll review the authentication endpoint implementation using the pragmatic-code-review agent" + + Since new code has been written that involves security-critical functionality, use the pragmatic-code-review agent to ensure it meets quality standards. + + + + - + Context: After refactoring a complex service + user: "I've refactored the payment processing service to improve performance" + assistant: "Let me review these refactoring changes with the pragmatic-code-review agent" + + Performance-critical refactoring needs review to ensure improvements don't introduce regressions. + + + + - + Context: Before merging a feature branch + user: "The new dashboard feature is complete and ready for review" + assistant: "I'll conduct a comprehensive review using the pragmatic-code-review agent before we merge" + + Complete features need thorough review before merging to main branch. + + +tools: Bash, Glob, Grep, Read, Edit, MultiEdit, Write, NotebookEdit, WebFetch, + TodoWrite, WebSearch, BashOutput, KillBash, mcp__context7__resolve-library-id, + mcp__context7__get-library-docs, ListMcpResourcesTool, ReadMcpResourceTool, + mcp__playwright__browser_close, mcp__playwright__browser_resize, + mcp__playwright__browser_console_messages, + mcp__playwright__browser_handle_dialog, mcp__playwright__browser_evaluate, + mcp__playwright__browser_file_upload, mcp__playwright__browser_fill_form, + mcp__playwright__browser_install, mcp__playwright__browser_press_key, + mcp__playwright__browser_type, mcp__playwright__browser_navigate, + mcp__playwright__browser_navigate_back, + mcp__playwright__browser_network_requests, + mcp__playwright__browser_take_screenshot, mcp__playwright__browser_snapshot, + mcp__playwright__browser_click, mcp__playwright__browser_drag, + mcp__playwright__browser_hover, mcp__playwright__browser_select_option, + mcp__playwright__browser_tabs, mcp__playwright__browser_wait_for model: opus color: red ---