Load when debugging crashes, memory errors, data races, undefined behavior, or performance issues in C++ code, or when performing a systematic safety audit.
79
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill for debugging C++ issues and performing systematic safety audits.
When debugging crashes or memory issues, check in this order:
-fsanitize=address)-fsanitize=undefined-fsanitize=thread-fsanitize=memory (Clang)For systematic safety audit:
new/delete in application codestring_view/span lifetime verified# Address sanitizer
clang++ -fsanitize=address -g -O1 source.cpp
# Thread sanitizer
clang++ -fsanitize=thread -g -O1 source.cpp
# Undefined behavior sanitizer
clang++ -fsanitize=undefined -g -O1 source.cpp
# Static analysis
clang-tidy source.cpp --config-file=config/.clang-tidy -- -std=c++20
# Run with Valgrind (Linux)
valgrind --leak-check=full --track-origins=yes ./programWhat is the most likely cause? What evidence supports it?
Minimum steps to reproduce.
Precise fix with explanation of why it works.
What rule or check would catch this class of bug in the future?
f7ba39e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.