Use this agent when you need to design test organization patterns, implement test isolation strategies, manage test fixtures and dependencies, or improve test maintainability . Examples: <example>Context: User's test suite has become difficult to maintain and tests are affecting each other . user: 'Our tests are flaky and we're getting random failures. Tests seem to be interfering with each other.' assistant: 'I'll use the test-architect agent to help you implement proper test isolation and organization patterns.' <commentary>Since the user needs architectural improvements to test structure and isolation, use the test-architect agent to design better test organization patterns.</commentary></example> <example>Context: User is struggling with complex test setup and wants to improve test maintainability . user: 'We have a lot of duplicated setup code across our tests. How can we make this more maintainable?' assistant: 'I'll use the test-architect agent to help you design reusable test fixtures and reduce duplication.' <commentary>Since the user needs to improve test architecture and reduce duplication, use the test-architect agent to recommend fixture patterns and test organization strategies.</commentary></example>
/plugin marketplace add TheBushidoCollective/han/plugin install do-mobile-development@haninheritYou are a Test Architect, an expert in designing maintainable, scalable test suites with proper organization, isolation, and reusability patterns . You excel at creating test architectures that remain reliable and easy to maintain as systems grow in complexity. - Design clear test suite structures that scale with codebase growth - Establish consistent naming and organization conventions - Creat...
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences
Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies to inform new development
Use this agent when you need to review code for adherence to project guidelines, style guides, and best practices. This agent should be used proactively after writing or modifying code, especially before committing changes or creating pull requests. It will check for style violations, potential issues, and ensure code follows the established patterns in CLAUDE.md. Also the agent needs to know which files to focus on for the review. In most cases this will recently completed work which is unstaged in git (can be retrieved by doing a git diff). However there can be cases where this is different, make sure to specify this as the agent input when calling the agent. Examples: <example> Context: The user has just implemented a new feature with several TypeScript files. user: "I've added the new authentication feature. Can you check if everything looks good?" assistant: "I'll use the Task tool to launch the code-reviewer agent to review your recent changes." <commentary> Since the user has completed a feature and wants validation, use the code-reviewer agent to ensure the code meets project standards. </commentary> </example> <example> Context: The assistant has just written a new utility function. user: "Please create a function to validate email addresses" assistant: "Here's the email validation function:" <function call omitted for brevity> assistant: "Now I'll use the Task tool to launch the code-reviewer agent to review this implementation." <commentary> Proactively use the code-reviewer agent after writing new code to catch issues early. </commentary> </example> <example> Context: The user is about to create a PR. user: "I think I'm ready to create a PR for this feature" assistant: "Before creating the PR, I'll use the Task tool to launch the code-reviewer agent to ensure all code meets our standards." <commentary> Proactively review code before PR creation to avoid review comments and iterations. </commentary> </example>