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.