Cpp Modern Features
Catalog guide to modern C++ features from C++11 through C++20, with runnable examples for each.
- CCM score
- 41 of 100
- skills.sh installs
- 247
- GitHub stars
- 202
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers type inference, lambdas, range-based loops, uniform initialization, and move semantics with rvalue references
- Includes code samples for
auto, structured bindings, generic lambdas, custom ranges, and the move constructor and assignment pattern - Shows before-and-after contrasts, such as iterator declarations versus
autoand the most vexing parse versus brace initialization - Designed for C++ developers moving from pre-C++11 code to contemporary standards
Install
$ npx -y skills add thebushidocollective/han --skill cpp-modern-features -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Modern C++ Features
Modern C++ (C++11 and beyond) introduced significant improvements that make C++ more expressive, safer, and easier to use. This skill covers essential modern features including type inference, lambda expressions, range-based loops, smart initialization, and the latest C++20 additions.
Auto Type Inference
The auto keyword enables automatic type deduction, reducing verbosity while
maintaining type safety.
#include <iostream>
#include <vector>
#include <map>
#include <string>
void auto_examples() {
// Simple type inference
auto x = 42; // int
auto pi = 3.14159; // double
auto name = "Alice"; // const char*
auto message = std::string("Hello"); // std::string
// Iterator simplification
std::vector<int> numbers = {1, 2, 3, 4, 5};
// Before C++11
for (std::vector<int>::iterator it = numbers.begin();
it != numbers.end(); ++it) {
std::cout << *it << " ";
}
// With auto
for (auto it = numbers.begin(); it != numbers.end(); ++it) {
std::cout << *it << " ";
}
Details
- Repository
- github.com/thebushidocollective/han
- Category
- Learning & Teaching
- First seen
- Jun 3, 2026
Questions
What does the cpp-modern-features skill cover?
cpp-modern-features teaches an agent modern C++ features from C++11, C++14, C++17 and C++20, including auto type inference, lambda expressions, range-based for loops, structured bindings and concepts. The SKILL.md also covers uniform initialization and move semantics with rvalue references.
How do I install the cpp-modern-features skill?
Run npx -y skills add thebushidocollective/han --skill cpp-modern-features -y in your project. After that, cpp-modern-features gives the agent guidance on writing modern C++ code with these language features.
Where does cpp-modern-features rank in its category?
cpp-modern-features ranks in the top 100 of the Learning & Teaching category on Claude Marketplaces. It sits alongside skills such as teach, scaffold-exercises and show-me in that category.
More from thebushidocollective/han
All 14- Tailwind Responsive Design235
- Bdd Patterns213
- Storybook Component Documentation167
- Reactflow Fundamentals140
- Android Jetpack Compose2.3K
- Fastapi Async Patterns965
- Atomic Design Fundamentals794
- Storybook Story Writing682
- Solid Principles620
- Docker Compose Production489
- Angular Rxjs Patterns294
- PHP Security Patterns279
- Django Rest Framework268
Similar to Cpp Modern Features
More Learning & TeachingcppcheatsheetPlugincrazyguitar/cppcheatsheet297 starsComprehensive C/C++ programming reference covering modern C11-C23, C++11-C++23, system programming, CUDA GPU computing, debugging tools, Rust interop, and advan
cpp-coding-standardsSkillaffaan-m/ecc14.7K installsModern C++ coding standards from the C++ Core Guidelines for writing, reviewing, and refactoring safe, idiomatic code.
cpp-proSkillsickn33/agentic-awesome-skills556 installsModern C++ guidance covering RAII, smart pointers, templates, move semantics, and performance tuning for idiomatic code.
modern-javascript-patternsSkillwshobson/agents24.1K installsReference guide of ES6+ JavaScript patterns covering async code, functional style, and refactoring legacy code.
java-fundamentalsSkillpluginagentmarketplace/custom-plugin-java641 installsReference guide covering Java 8-21 syntax, OOP, collections, streams, and exception handling with pattern examples.