Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Avoid common C++ mistakes — memory leaks, dangling references, undefined behavior, and ownership confusion.
Avoid common C++ mistakes — memory leaks, dangling references, undefined behavior, and ownership confusion.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
TopicFileRAII, smart pointers, new/deletememory.mdRaw pointers, references, nullptrpointers.mdRule of 3/5/0, inheritance, virtualclasses.mdContainers, iterators, algorithmsstl.mdTemplates, SFINAE, conceptstemplates.mdThreads, mutex, atomicsconcurrency.mdC++11/14/17/20, move semanticsmodern.mdUndefined behavior trapsub.md
Raw new without delete leaks — use std::unique_ptr or std::make_unique Returning reference to local — undefined behavior, object destroyed on return == for C-strings compares pointers — use std::string or strcmp() Signed integer overflow is UB — not wrap-around like unsigned Virtual destructor required in base class — otherwise derived destructor skipped std::move doesn't move — it casts to rvalue, enabling move semantics Moved-from object valid but unspecified — don't use without reassigning Data race on non-atomic is UB — use std::mutex or std::atomic vector<bool> is not a real container — returns proxy, use deque<bool> map[key] inserts default if missing — use find() or contains() to check Braced init {} prevents narrowing — int x{3.5} errors, int x(3.5) truncates Iterator invalidation on push_back — vector may relocate, invalidating iterators string_view doesn't own data — underlying string must outlive the view
Long-tail utilities that do not fit the current primary taxonomy cleanly.
Largest current source with strong distribution and engagement signals.