memory-safety-patterns

29.9k
wshobsonwshobson

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.

195 days ago

memory-safety-patterns

18.0k
sickn33sickn33

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...

195 days ago

rust-engineer

4.1k
JeffallanJeffallan

Use when building Rust applications requiring memory safety, systems programming, or zero-cost abstractions. Invoke for ownership patterns, lifetimes, traits, async/await with tokio.

195 days ago

unsafe-checker

786
actionbookactionbook

CRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, MaybeUninit, NonNull, SAFETY comment, soundness, undefined behavior, UB, safe wrapper, memory layout, bindgen, cbindgen, CString, CStr, safety abstraction, raw pointer, foreign function interface, memory layout, unsafe code, FFI bindings, undefined behavior

195 days ago

cm

231
DicklesworthstoneDicklesworthstone

CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.

195 days ago

c-memory-management

98
TheBushidoCollectiveTheBushidoCollective

Use when managing memory in C programs with malloc/free, pointers, and avoiding common memory safety pitfalls.

195 days ago

Nim Memory Management

98
TheBushidoCollectiveTheBushidoCollective

Use when nim's memory management including garbage collection strategies, manual memory control, destructors, move semantics, ref/ptr types, memory safety, and optimization techniques for performance-critical systems programming.

195 days ago

rust-ownership-system

98
TheBushidoCollectiveTheBushidoCollective

Use when Rust's ownership system including ownership rules, borrowing, lifetimes, and memory safety. Use when working with Rust memory management.

195 days ago

discover-zig

76
randrand

Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Activates for Zig development tasks.

195 days ago

cpp

75
htlin222htlin222

Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.

195 days ago

rust

75
htlin222htlin222

Write idiomatic Rust with ownership, lifetimes, and traits. Use for Rust development, memory safety, or systems programming.

195 days ago

Cargo Fuzz Testing

71
PramodDuttaPramodDutta

Fuzz testing for Rust applications using cargo-fuzz and libFuzzer to discover memory safety issues, panics, and undefined behavior.

fuzzingrustcargo-fuzz+2
194 days ago

swift

51
JoannisJoannis

Expert guidance on Swift best practices, patterns, and implementation. Use when developers mention: (1) Swift configuration or environment variables, (2) swift-log or logging patterns, (3) OpenTelemetry or swift-otel, (4) Swift Testing framework or @Test macro, (5) Foundation avoidance or cross-platform Swift, (6) platform-specific code organization, (7) Span or memory safety patterns, (8) non-copyable types (~Copyable), (9) API design patterns or access modifiers.

195 days ago

rust-systems-programming

40
manutejmanutej

Complete guide for Rust systems programming including ownership, borrowing, concurrency, async programming, unsafe code, and performance optimization

rustsystems-programmingownership+4
195 days ago

rust-engineer

36
zenobi-uszenobi-us

Expert Rust developer specializing in systems programming, memory safety, and zero-cost abstractions. Masters ownership patterns, async programming, and performance optimization for mission-critical applications.

195 days ago

swift-code-review

33
existential-birdsexistential-birds

Reviews Swift code for concurrency safety, error handling, memory management, and common mistakes. Use when reviewing .swift files for async/await patterns, actor isolation, Sendable conformance, or general Swift best practices.

195 days ago

Python Craftsman

29
omer-metinomer-metin

Python excellence specialist for type safety, async patterns, packaging, and idiomatic production code. Use when "python development, type hints, async python, pydantic models, python packaging, mypy errors, python project structure, dependency management, python, type-hints, async, pydantic, packaging, uv, poetry, mypy, ruff, ml-memory" mentioned.

194 days ago

Rust Craftsman

29
omer-metinomer-metin

Systems programming specialist for Rust, ownership model, memory safety, concurrency, and performance optimization. Use when "rust, cargo, ownership, borrowing, lifetimes, rustc, tokio, async rust, memory safety, borrow checker, zero-cost abstraction, rust, systems-programming, memory-safety, ownership, borrowing, lifetimes, cargo, async, tokio, concurrency, performance" mentioned.

194 days ago

sdk-builder

29
omer-metinomer-metin

Client library architect for SDK design, API ergonomics, versioning, and developer experienceUse when "sdk design, client library, api client, developer experience, sdk versioning, type generation, http client, api wrapper, sdk, client-library, api-client, developer-experience, versioning, type-safety, http-client, ml-memory" mentioned.

194 days ago

console-frontend-review

28
ectoecto

Reviews React/TypeScript code for the Depot Console web application with focus on real-time rover teleoperation, state management, WebSocket communication, and 3D visualization. Use when reviewing console frontend changes, debugging teleop UI issues, optimizing rendering performance, validating WebSocket protocols, checking React Three Fiber implementations, or evaluating state management patterns. Covers Zustand store architecture, binary protocol encoding, input handling, page visibility safety, memory management, and 360-degree video streaming.

195 days ago

Rust

25
martinholovskymartinholovsky

Systems programming expertise for building Tauri desktop application backends with memory safety and performance optimization

195 days ago

cpp

23
MindrallyMindrally

Guidelines for modern C++ development with C++17/20 standards, memory safety, and performance optimization

194 days ago

rust-ownership

20
huialihuiali

Ownership, borrowing, and lifetime expert. Handles compiler errors E0382, E0597, E0506, E0507, E0515, E0716, E0106 and provides systematic solutions for memory safety patterns.

195 days ago

cpp-pro

19
herdiansahherdiansah

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.

194 days ago

ubs

18
johnlindquistjohnlindquist

Ultimate Bug Scanner - scan code for bugs across 7 languages (JS/TS, Python, Go, Rust, Java, C++, Ruby). Use before commits to catch null safety issues, security holes, async bugs, and memory leaks.

194 days ago

hook-creator

15
oimiragieooimiragieo

Creates and registers hooks for the Claude Code framework. Handles pre/post tool execution, validation, memory, and session hooks. Use when new validation, safety, or automation hooks are needed.

195 days ago

check-memory-safety

14
HomericIntelligenceHomericIntelligence

Check Mojo code for memory safety issues (ownership violations, use-after-free, etc.). Use to catch memory bugs.

195 days ago

mojo-memory-check

14
HomericIntelligenceHomericIntelligence

Verify memory safety in Mojo code including ownership, borrowing, and lifetime management. Use when reviewing code or debugging memory issues.

194 days ago

rust-coding-standards

13
williamzujkowskiwilliamzujkowski

Master Rust's ownership system, type safety, and zero-cost abstractions for building safe, concurrent, and performant systems. Covers borrowing, lifetimes, traits, error handling, async/await, and testing patterns.

rustownershipborrowing+2
194 days ago

address-sanitizer

7
plurigridplurigrid

Use AddressSanitizer to detect memory safety bugs in C/C++ programs. Identifies use-after-free, buffer overflow, memory leaks, and other memory errors.

195 days ago

greycat-c

7
datathingsdatathings

GreyCat C API and GCL Standard Library reference. Use for: (1) Native C development with gc_machine_t context, tensors, objects, memory management, crypto, I/O; (2) GCL Standard Library modules - std::core (Date/Time/Tuple/geospatial types), std::runtime (Scheduler/Task/Logger/User/Security/System/OpenAPI/MCP), std::io (CSV/JSON/XML/HTTP/Email/FileWalker), std::util (Queue/Stack/SlidingWindow/Gaussian/Histogram/Quantizers/Random/Plot); (3) Plugin development patterns - lifecycle hooks, type configuration, nativegen, module-level and type-level function linking, global state, thread safety, conditional logging. Keywords: GreyCat, GCL, native functions, tensors, task automation, scheduler, plugin development.

194 days ago

code-review-facilitator

6
wedsamuel1230wedsamuel1230

Automated code review for Arduino/ESP32/RP2040 projects focusing on best practices, memory safety, and common pitfalls. Use when user wants code feedback, says "review my code", needs help improving code quality, or before finalizing a project. Generates actionable checklists and specific improvement suggestions.

194 days ago

ai-debate-dominator

6
sandraschisandraschi

Master AI debate techniques with comprehensive counter-arguments against slop criticism, safety concerns, philosophical objections, and political rhetoric

194 days ago

chemistry-lab-techniques-guide

6
sandraschisandraschi

Chemistry expert covering organic, inorganic, physical chemistry, lab safety, and experimental techniques

194 days ago

memory-safety-patterns

5
agent-skills-hubagent-skills-hub

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.

194 days ago

memory-safety-patterns

4
ngxtmngxtm

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...

194 days ago

rust-engineer

4
ngxtmngxtm

Use when building Rust applications requiring memory safety, systems programming, or zero-cost abstractions. Invoke for ownership patterns, lifetimes, traits, async/await with tokio.

194 days ago

pt-fuzzing-binary-protocol

3
santosomarsantosomar

Performs authorized fuzz testing of binary formats and network protocols to uncover parser vulnerabilities, memory safety defects, and denial-of-service conditions. Use when assessing protocol handlers, file parsers, and service robustness against malformed inputs.

194 days ago

memory-guardian

2
frankxaifrankxai

WSL2 memory safety and scaling guardrails for Claude Code sessions and parallel agents.

194 days ago

rust-systems-design

2
organvm-iv-taxisorganvm-iv-taxis

Provides expert guidance on Rust programming, focusing on memory safety, concurrency patterns, and idiomatic architectural choices for systems software.

194 days ago

memory-safety-patterns

1
mattmremattmre

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.

195 days ago

memory-safety-patterns

1
rootcastlecorootcastleco

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...

194 days ago

ai-agent-building

san-npmsan-npm

Production AI agent development — LangGraph, CrewAI, tool design, memory, RAG pipelines, multi-agent patterns, evaluation, and safety.

194 days ago

Secure Code Review

narlyseorgnarlyseorg

Use when reviewing source code for security vulnerabilities, performing static analysis of a codebase, or auditing code for injection flaws, authentication issues, cryptographic weaknesses, insecure deserialization, SSRF, path traversal, memory-safety bugs, hardcoded secrets, or misconfigurations. Use when the user asks to find security bugs in code, assess code quality from a security perspective, review pull requests for security implications, perform dependency audits, run secrets scans, or review application configuration in source.

194 days ago

embedded-review

ylongwang2782ylongwang2782

Expert code review for embedded/firmware projects with dual-model cross-review (Claude + Codex via ACP). Detects memory safety, interrupt hazards, RTOS pitfalls, hardware interface bugs, and C/C++ anti-patterns.

194 days ago

memory-safety-patterns

oki3505Foki3505F

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.

194 days ago

memory-safety-patterns

JuanJoseGonGiJuanJoseGonGi

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.

194 days ago

cm

Mrc220Mrc220

CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.

194 days ago