What problem does it solve?
This Skill addresses bugs and errors within the codebase, ensuring code stability and reliability. It offers a structured approach to problem-solving, from initial investigation to final verification and testing.
Core Features & Use Cases
- Bug Resolution: Identifies and fixes specific bugs or unexpected behaviors.
- Two-Mode Operation: Supports immediate fixes or a plan-first approach for complex issues.
- Test & Logging Integration: Automatically suggests test coverage and adds necessary logging for verification and future debugging.
- Use Case: When a user reports an error message like "TypeError: Cannot read property 'name' of undefined", this Skill can investigate the relevant code, implement a null check, add logging around the fix, and suggest a unit test to cover the edge case.
Quick Start
Use the ai-factory.fix skill to fix the bug described by the error message 'Cannot read property of undefined'.