FreeSkills
Commits, branches and sync with the but CLI
- 361361 downloads
- 198198 likes
- 103103 saves
- Claude Code
- Codex
- Cursor
- and 3 more
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to choose and use unique_ptr, shared_ptr or weak_ptr in modern C++
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install cpp-smart-pointer-ownershipWith no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.
First time: connect the CLI with
npx --yes palatekit@latest loginThe agent picks the smart pointer that matches a resource's ownership (exclusive, shared or observing), writes RAII wrappers, breaks cycles with weak_ptr and flags common pitfalls.
Mostly picked by
Updated November 2, 2026
You say
“Replace these new and delete calls with unique_ptr and check object ownership.”

Skill published by thebushidocollective under the Apache-2.0 license, delivered in its original version.
Listed unmodified
« cpp-smart-pointers » (thebushidocollective, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…