npx skills add sickn33/agentic-awesome-skills --skill cpp --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# C++: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for cpp. ## Table of Contents 1. [Memory & Ownership](#memory) 2. [Modern Types & Containers](#types) 3. [Move Semantics & References](#move) 4. [Templates & Concepts](#templates) 5. [Error Handling](#errors) 6. [Concurrency](#concurrency) 7. [Anti-patterns specific to C++](#antipatterns) --- ## 1. Memory & Ownership {#memory} ```cpp // ❌ Raw new/delete Widget* w = new Widget(); // ... 15 lines later ... delete w; // ✅ auto w = std::make_unique<Widget>(); ``` ```cpp // ❌ Shared ownership when unique suffices auto w = std::make_shared<Widget>(); transfer(w); // only one owner // ✅ — unique_ptr; move when transferring auto w = std::make_unique<Widget>(); transfer(std::move(w)); ``` ```cpp // ❌ new[] for dynamic arrays int* arr = new int[n]; // ... use ... delete[] arr; // ✅ std::vector<int> arr(n); ``` ```cpp // ❌ Manual RAII wrapper for file/mutex FILE* f = fopen(path, "r"); // ... must remember fclose ... // ✅ std::ifstream f(path); // closes automatically at scope exit // For non-standard resources: use unique_ptr with custom deleter
- When to Use
- Table of Contents
- 1. Memory & Ownership {#memory}
- 2. Modern Types & Containers {#types}
- 3. Move Semantics & References {#move}
- 4. Templates & Concepts {#templates}
- 5. Error Handling {#errors}
- 6. Concurrency {#concurrency}
- 7. Anti-patterns specific to C++ {#antipatterns}
- Limitations
What does the cpp skill do?
Language-specific super-code guidelines for cpp.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill cpp --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.