{"agent":"claude","input":"Add pre-commit hooks to this CMake C++ project. Read .clang-format, .clang-tidy, .cmake-format, CONTRIBUTING.md, CMakeLists.txt, the requirements files under support/ and every file under .github/workflows first. Write .pre-commit-config.yaml with a clang-format hook pinned to the same major version the lint workflow installs and a files pattern limited to the directories and extensions that workflow formats, and a cmake-format hook pinned to the cmakelang version the requirements file pins, over CMakeLists.txt and .cmake files. Try the standard pre-commit-hooks and keep only those that are clean across the repository. Run pre-commit run --all-files and fix the config, not the files, if anything changes. Add an install section to CONTRIBUTING.md, configure and build the library once to confirm the tree still builds, leave the lint workflow unchanged, and open a pull request that lists the hook versions and the result of the all-files run.","resources":[{"url":"https://github.com/your-org/your-app"}]}