
Description
This skill guides a coding agent in writing modern, target-first CMake for C and C++ projects. It is used when creating or refactoring a CMakeLists.txt, setting up out-of-source builds, picking a generator such as Ninja, managing dependencies and wiring builds into CI and IDEs. The skill is triggered by common questions, for example how to write a CMakeLists.txt for a project, how to add an external library, what to do when CMake cannot find a package, how to turn on sanitizers, how to cross-compile and how to use CMake Presets. Its workflow starts from the principles of modern CMake and builds from there. It is part of a wider collection of low-level development skills by the same author. Install with npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cmake.…
Highlights
- Target-first modern CMake guidance
- Out-of-source builds and generator choice
- Adding and finding external libraries
- Sanitizers, cross-compiling and CMake Presets
- CI and IDE integration
Ratings & Reviews
No ratings yet
Be the first to rate cmake.
People also visit
cmake FAQ
What does the cmake skill help with?
Writing and refactoring CMakeLists.txt in a modern target-first style, plus builds, generators, dependencies and CI or IDE integration for C/C++.
What kinds of questions trigger it?
Questions like adding an external library, CMake not finding a package, enabling sanitizers, cross-compiling or using CMake Presets.
How do I install it?
Run: npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cmake
What were the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best cmake alternatives?
Popular alternatives to cmake include cpp-testing, cpp-pro and cmux-dev-workflow. See all cmake alternatives




















