Openai Codex Rust Patterns

OpenAI Codex Rust coding patterns distilled from the codex-rs workspace. Use this skill whenever writing, reviewing, or refactoring Rust code — especially for async agents, CLI tools, sandboxing, secret handling, Ratatui TUIs, JSON-RPC protocols, tokio-based services, or any codebase that needs defensive panic discipline. Trigger even when the user does not explicitly mention Codex, because the patterns generalize to any production Rust workspace. Covers async cancellation, error enum design, process sandboxing, DNS-rebinding defense, credential hardening (zeroize/mlock/ctor), Cargo workspace architecture, wiremock-based fakes, insta snapshot testing, OpenTelemetry tracing, and Ratatui rendering.

pproenca 2a3da94 69 files · 185.3 KB Updated

File contents

pproenca/dot-skills/tree/main/skills/.experimental/openai-codex-rust-patterns commit 2a3da94ad5

Frequently asked questions

npx skillmds add pproenca/openai-codex-rust-patterns