Guide agents through selecting, running, and triaging static analysis tools for C/C++ — clang-tidy, cppcheck, and scan-build — including suppression strategies and CI integration.
| Category | Key checks | What it catches |
| bugprone- | use-after-move, integer-division, suspicious-memset-usage | Likely bugs | | modernize- | use-nullptr, use-override, use-auto | C++11/14/17 idioms | | cppcoreguidelines- | avoid-goto, pro-bounds-, no-malloc | C++ Core Guidelines | | performance- | unnecessary-copy-initialization, avoid-endl | Performance regressions |
C/C++ 코드베이스에 대한 정적 분석 기술. 코드 품질 강화, 노이즈가 있는 빌드 분류, clang-tidy, cppcheck 또는 scan-build 실행, 검사 범주 해석, 거짓 긍정 억제 또는 정적 분석을 CI에 통합할 때 사용합니다. clang-tidy 검사, cppcheck, scan-build, compile_commands.json, 코드 강화 또는 정적 분석 경고에 대한 쿼리에서 활성화됩니다. 출처: mohitmishra786/low-level-dev-skills.