13eholder/modern-cpp-skills/m10-performance
Claude Code and agent skill by 13eholder/modern-cpp-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Mastering C++ Performance. Triggers: cache locality, heap allocation, inlining, SIMD, standard layout, string_view, reserve, pmr.
Install
npx vskill@latest install 13eholder/modern-cpp-skills/m10-performanceSKILL.md
The same SKILL.md was published earlier as 13eholder/modern-cpp-skills/m10-performance.
C++ Performance
Core Question
Where is the data?
- Contiguous? (Cache friendly) →
std::vector. - Scattered? (Cache miss) →
std::list,std::map.
Thinking Prompt
- Count the Allocations.
- Can they be fused? (
reserve). - Can they be removed? (Stack / SSO).
- Measure, Don't Guess.
- Use Google Benchmark or Quick-Bench.
- Data Layout.
structpadding? Reorder members largest to smallest.- Pointer chasing? Flatten the graph.
Quick Reference
| Technique | Benefit | Implementation | |
|---|---|---|---|
| `reserve()` | Avoid reallocs | Call before loop. | |
| `string_view` | No copy string | Params. | |
| `std::vector` | Cache locality | Default container. | |
| PMR | Custom alloc | std::pmr::monotonic_buffer_resource. |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingm10-performance/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 2
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/13eholder/modern-cpp-skills/m10-performance)