Install
$ agentstack add skill-pledgeandgrow-pledge-skills-cpp ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
C++ Expert (C++26)
Official Documentation: https://en.cppreference.com/w/
Quick Reference
| Topic | File | |-------|------| | Installation, compilers (GCC, Clang, MSVC), build systems (CMake, Make), compiler flags, tooling | getting-started.md | | Basic syntax, comments, main function, preprocessor directives, translation units, linkage | basics-syntax.md | | Fundamental types, type modifiers, type inference (auto, decltype), type conversion, narrowing | types.md | | Variables, scope, storage duration, qualifiers (const, constexpr, constinit, volatile, mutable), references | variables.md | | Operators (arithmetic, comparison, logical, bitwise, member access, ternary, spaceship), operator overloading | operators.md | | Control structures (if/else, switch, while, do-while, for, range-for, break, continue, goto) | control-structures.md | | Functions, overloading, default arguments, lambda expressions, constexpr/consteval/constinit, function pointers | functions.md | | Classes, constructors, destructors, copy/move semantics, RAII, rule of 0/3/5, access specifiers, inheritance, virtual functions, polymorphism, abstract classes, friend, nested classes | classes-objects.md | | Function templates, class templates, variadic templates, template specialization, CTAD, concepts | templates.md | | Smart pointers (uniqueptr, sharedptr, weakptr), raw pointers, references, new/delete, allocators, PMR | memory.md | | Exceptions (try/catch/throw, noexcept, exception hierarchy, RAII and exceptions, error codes) | exceptions.md | | STL containers (vector, array, deque, list, forwardlist, map, multimap, unorderedmap, set, stack, queue, priorityqueue, span, flatmap) | stl-containers.md | | STL algorithms (sort, find, transform, accumulate, partition, etc.), iterators, ranges, views | stl-algorithms.md | | Strings (string, stringview, chartraits, C strings, formatting) | stl-strings.md | | Utilities (pair, tuple, optional, variant, any, function, bind, referencewrapper, sourcelocation) | stl-utilities.md | | Concurrency (thread, jthread, mutex, lockguard, uniquelock, sharedmutex, conditionvariable, future/promise, async, latch, barrier, countingsemaphore, atomic, memory order, stoptoken) | concurrency.md | | I/O (iostream, fstream, stringstream, format, print, println, file system) | io.md | | Chrono (duration, timepoint, clock, calendar, time zone, formatting) | chrono.md | | Numerics (complex, random, valarray, ratio, numeric limits, math functions, special math) | numerics.md | | Coroutines (coawait, coyield, coreturn, task, generator, promisetype) | coroutines.md | | Regular expressions (std::regex, regexmatch, regexsearch, regexreplace, ECMAScript syntax, iterators) | stl-regex.md | | Modules (export, import, module interface, module partition, header units), headers | modules.md | | Metaprogramming (type traits, constexpr, consteval, concepts, SFINAE, fold expressions, compile-time programming) | metaprogramming.md | | Idioms and patterns (RAII, Rule of 0/3/5, CRTP, Pimpl, NVI, type erasure, copy-and-swap, value categories, ODR, ADL, design patterns) | idioms-patterns.md | | C standard library compatibility (C headers, C I/O, C memory, C strings, signals, assertions, errno, locale, wide chars) | c-compat.md | | Testing and benchmarking (Google Test, Catch2, doctest, Google Benchmark, mocks, fuzzing, CMake integration) | testing.md | | Keywords, operators, escape sequences, standard library headers, predefined macros, attributes, integer type ranks | keywords-reference.md | | Advanced topics (contracts, named requirements, freestanding, SIMD, reflection, evaluation order, debugging, safe reclamation, inplacevector, hive) | advanced-topics.md | | C++26/23/20/17/14/11 new features and migration | whats-new.md |
Core Philosophy
C++ is a compiled, statically typed, multi-paradigm language designed for systems programming and performance-critical applications. Key principles:
- Zero-Overhead Abstraction — "What you don't use, you don't pay for; what you do use, you couldn't write better by hand"
- RAII — Resource Acquisition Is Initialization — resources are tied to object lifetimes
- Value Semantics — objects are copied/moved by default; use references for indirection
- Compile-Time Computation — templates, constexpr, concepts — move work to compile time
- Deterministic Destruction — destructors run at scope exit, no GC pauses
- Backward Compatibility — C++ maintains C compatibility; legacy code still compiles
Hello World
#include
int main() {
std::print("Hello, World!\n");
}
Hello World (C++20 with iostream)
#include
int main() {
std::cout CMakeLists.txt src/main.cpp
int main() { std::print("Hello, {}!\n", "World"); }
EOF
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/myapp
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: pledgeandgrow
- Source: pledgeandgrow/pledge-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.