Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.
| Use-after-free | Access freed memory | Ownership, RAII | | Double-free | Free same memory twice | Smart pointers | | Memory leak | Never free memory | RAII, GC | | Buffer overflow | Write past buffer end | Bounds checking | | Dangling pointer | Pointer to freed memory | Lifetime tracking | | Data race | Concurrent unsynchronized access | Ownership, Sync |
Implementa la programmazione memory-safe con RAII, proprietà, puntatori intelligenti e gestione delle risorse in Rust, C++ e C. Utilizzalo per scrivere codice di sistemi sicuri, gestire risorse o prevenire bug di memoria. Fonte: wshobson/agents.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/wshobson/agents --skill memory-safety-patterns Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw