Skip to main content
Back to registry

memory-safety-patterns

wshobson/agents

Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.

Installs3
Install command
npx skills add https://github.com/wshobson/agents --skill memory-safety-patterns
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management. - Writing memory-safe systems code - Managing resources (files, sockets, memory) - Preventing use-after-free and leaks - Implementing RAII patterns - Choosing between languages for safety - Debugging memory issues - Prefer RAII - Tie resource lifetime to scope - Use smart pointers - Avoid raw pointers in C++ - Understand ownership - Know who owns what - Check bounds - Use safe access methods - Use tools - AddressSanitizer, Valgrind, Miri - Don't use raw pointers - Unless interfacing with C - Don't return local references - Dangling pointer - Don't ignore compiler warnings - They catch bugs - Don't use unsafe carelessly - In Rust, minimize it - Don't assume thread safety - Be explicit

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does memory-safety-patterns do?

Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.

Is memory-safety-patterns good?

memory-safety-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does memory-safety-patterns work with?

memory-safety-patterns currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to memory-safety-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install memory-safety-patterns?

npx skills add https://github.com/wshobson/agents --skill memory-safety-patterns

Related skills

More from wshobson/agents

Related skills

Alternatives in Software Engineering