What problem does it solve? Writing and maintaining reliable C++ tests is hard: flaky tests, misconfigured CMake/CTest setups, missing coverage, and undetected memory or threading bugs slow down development. This Skill provides a structured workflow for building a solid C++ test suite with GoogleTest/GoogleMock and CMake/CTest. ## Core Features & Use Cases - TDD Workflow Guidance: Follows the red-green-refactor loop with concrete GoogleTest examples for unit tests, fixtures, and gmock mocks. - CMake/CTest Configuration: Sets up test discovery with gtest_discover_tests, filtered test runs, and CI-friendly output-on-failure execution. - Coverage and Sanitizers: Configures GCC/lcov and Clang/llvm-cov coverage plus ASan, UBSan, and TSan builds for memory and race detection. - Use Case: A developer inherits a C++ service with failing, flaky tests. Use this Skill to isolate the failing test with gtest filters, reproduce it under AddressSanitizer, fix the root cause, and add coverage reporting to CI. ## Quick Start Ask the agent to write a GoogleTest unit test with CMake/CTest configuration for your C++ class and run it with sanitizers enabled.