Skill / SKILL.md

Modern Cpp

trailofbits/skills

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.
2 views 8,499 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/trailofbits/skills' skill-source

Use the complete skill-source/plugins/modern-cpp/skills/modern-cpp directory with your client’s skill installer.

  • plugins/modern-cpp/skills/modern-cpp

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/modern-cpp/skills/modern-cpp

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
94305518423ac2a90a52015f77c16df2dd1d9bee87fe9db78bcf6255253778f3
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills