From 681636a3eaf259fa6d56021fb721c73a234c1c97 Mon Sep 17 00:00:00 2001 From: uroma Date: Thu, 15 Jan 2026 18:27:47 +0000 Subject: [PATCH] Fix test-writer-fixer PROACTIVELY keyword consistency - Add PROACTIVELY (uppercase) to test-writer-fixer description - Ensures consistency with other 6 PROACTIVELY agents - All 7 coordinators now use uppercase PROACTIVELY keyword - Add MASTER-PROMPT.md.backup to .gitignore Co-Authored-By: Claude Sonnet 4.5 --- .gitignore | 1 + agents/engineering/test-writer-fixer.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0509e07 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +MASTER-PROMPT.md.backup diff --git a/agents/engineering/test-writer-fixer.md b/agents/engineering/test-writer-fixer.md index 5852d99..770fe4c 100644 --- a/agents/engineering/test-writer-fixer.md +++ b/agents/engineering/test-writer-fixer.md @@ -1,6 +1,6 @@ --- name: test-writer-fixer -description: Use this agent when code changes have been made and you need to write new tests, run existing tests, analyze failures, and fix them while maintaining test integrity. This agent should be triggered proactively after code modifications to ensure comprehensive test coverage and suite health. Examples:\n\n\nContext: The user has just implemented a new feature or modified existing code.\nuser: "I've updated the user authentication logic to support OAuth"\nassistant: "I've successfully updated the authentication logic. Now let me run the test-writer-fixer agent to ensure all tests pass with these changes."\n\nSince code changes were made, use the Task tool to launch the test-writer-fixer agent to run relevant tests and fix any failures.\n\n\n\n\nContext: The user has refactored a module or changed function signatures.\nuser: "Please refactor this payment processing module to use async/await"\nassistant: "I've completed the refactoring to use async/await throughout the payment module."\n\nassistant: "Now I'll use the test-writer-fixer agent to run the tests and fix any issues caused by the refactoring."\n\nAfter refactoring code, proactively use the test-writer-fixer agent to ensure tests still pass.\n\n\n\n\nContext: The user has fixed a bug or made a critical change.\nuser: "Fix the race condition in the data synchronization service"\nassistant: "I've identified and fixed the race condition by implementing proper locking mechanisms."\n\nassistant: "Let me run the test-writer-fixer agent to verify the fix doesn't break existing functionality."\n\nAfter bug fixes, use the test-writer-fixer agent to ensure the fix works and doesn't introduce regressions.\n\n\n\n\nContext: Code lacks test coverage for critical functionality.\nuser: "Our payment processing module has no tests"\nassistant: "That's a critical gap. Let me use the test-writer-fixer agent to create comprehensive tests for the payment module including edge cases and error scenarios."\n\nCritical modules without tests are high-risk areas that need immediate test coverage.\n\n\n\n\nContext: After implementing a new feature that needs tests.\nuser: "I've added the social sharing functionality"\nassistant: "Great! The social sharing is implemented. Now let me use the test-writer-fixer agent to write tests that ensure this feature works correctly across different platforms."\n\nNew features should always include comprehensive test coverage from the start.\n\n +description: PROACTIVELY use this agent after code modifications have been made to write new tests, run existing tests, analyze failures, and fix them while maintaining test integrity. This agent should be triggered proactively after code modifications to ensure comprehensive test coverage and suite health. Examples:\n\n\nContext: The user has just implemented a new feature or modified existing code.\nuser: "I've updated the user authentication logic to support OAuth"\nassistant: "I've successfully updated the authentication logic. Now let me run the test-writer-fixer agent to ensure all tests pass with these changes."\n\nSince code changes were made, use the Task tool to launch the test-writer-fixer agent to run relevant tests and fix any failures.\n\n\n\n\nContext: The user has refactored a module or changed function signatures.\nuser: "Please refactor this payment processing module to use async/await"\nassistant: "I've completed the refactoring to use async/await throughout the payment module."\n\nassistant: "Now I'll use the test-writer-fixer agent to run the tests and fix any issues caused by the refactoring."\n\nAfter refactoring code, proactively use the test-writer-fixer agent to ensure tests still pass.\n\n\n\n\nContext: The user has fixed a bug or made a critical change.\nuser: "Fix the race condition in the data synchronization service"\nassistant: "I've identified and fixed the race condition by implementing proper locking mechanisms."\n\nassistant: "Let me run the test-writer-fixer agent to verify the fix doesn't break existing functionality."\n\nAfter bug fixes, use the test-writer-fixer agent to ensure the fix works and doesn't introduce regressions.\n\n\n\n\nContext: Code lacks test coverage for critical functionality.\nuser: "Our payment processing module has no tests"\nassistant: "That's a critical gap. Let me use the test-writer-fixer agent to create comprehensive tests for the payment module including edge cases and error scenarios."\n\nCritical modules without tests are high-risk areas that need immediate test coverage.\n\n\n\n\nContext: After implementing a new feature that needs tests.\nuser: "I've added the social sharing functionality"\nassistant: "Great! The social sharing is implemented. Now let me use the test-writer-fixer agent to write tests that ensure this feature works correctly across different platforms."\n\nNew features should always include comprehensive test coverage from the start.\n\n color: cyan ---