13eholder/modern-cpp-skills/m14-mental-model

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.

C++ Mental Models: Pointer vs Reference, Initialization, Undefined Behavior.

Install

npx vskill@latest install 13eholder/modern-cpp-skills/m14-mental-model

SKILL.md

C++ Mental Models

Core Question

What happens in memory?

  • Value: Does it own the bytes?
  • Reference: Is it an alias?
  • Pointer: Is it nullable?

Thinking Prompt

  1. Is it a Copy or Reference?
  • auto x = y (Copy).
  • auto& x = y (Reference).
  1. Does it dangle?
  • Returning &local is always wrong.

Quick Reference

ConceptMental Model
`T&`Guaranteed Alias.
`T*`Nullable Address (Requires check).
`std::move`Cast to rvalue (Prepare to steal).

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

Popularity

Repository stars
12
Repository forks
1
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/13eholder/modern-cpp-skills/m14-mental-model/badge)](https://verified-skill.com/skills/13eholder/modern-cpp-skills/m14-mental-model)

Something wrong with this skill or its page? Tell us.