← wshobson/agents

/memory-safety-patterns

寫程式wshobson/agentsAI翻譯

用 RAII、所有權、智慧指標與資源管理,在 Rust、C++ 與 C 實作記憶體安全的程式設計。用於撰寫安全的系統程式碼、管理資源或預防記憶體錯誤。

安裝次數
1.2 萬
專案星數
4.2 萬 ★
授權
MIT
專案更新
2026-11-02

怎麼裝

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

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.