Skills / Security

modern-cpp

Guides C++ code toward modern idioms (C++20/23/26). Use when writing new C++ code, modernizing legacy patterns, or working on security-critical C++. Replaces raw pointers with smart pointers, SFINAE with concepts, printf with std::print, error codes with std::expected.

Source trailofbits/skillsLicense OtherRepo stars 7,634
npx degit trailofbits/skills/plugins/modern-cpp/skills/modern-cpp .claude/skills/modern-cpp

Read this skill at its source

The repo doesn’t state an open license, so we link to it rather than showing the text here.

Open on GitHub