cpp-smart-pointers

Official

RAII with smart pointers for safe, expressive C++.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill demonstrates safe memory management in C++ using smart pointers and RAII.

Core Features & Use Cases

  • unique_ptr & shared_ptr: Ownership semantics and lifetime management.
  • Custom Deleters: Custom cleanup logic for resources.
  • Resource Wrappers: Safe wrappers around raw resource handles.

Quick Start

Create a simple class that manages a file handle with a unique_ptr and a custom deleter.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cpp-smart-pointers
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#cpp-smart-pointers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository