Language rust

From jordanhubbard/literate-ai · View interactive version

Language rust is an AI agent skill from the GitHub repository jordanhubbard/literate-ai. Rust source semantics. Use for Literate AI workflow tasks.

How to use this skill

Skill file

Rust source semantics

Translate Rust crates, public items, traits, ownership boundaries, Result errors, async behavior, and Cargo features into evidence-backed base or Flavor proposals. Keep unsafe and macro-expanded behavior explicit and uncertain when unobserved.

Preserve every observable ordering and tie-break as a separate normative rule. Name the

exact Ord implementation, comparator closure, key extraction, reversal, and stable or

unstable sorting operation evidenced by the source. Rust str and String natural

ordering is lexicographic by UTF-8 bytes; for valid Rust strings that byte order also

preserves Unicode scalar-value order, but state the evidenced representation rather

than merely saying "lexicographic." Distinguish returned sequence order from min,

max, heap, map, and explicit tie-break selection rules, citing the exact expression

and any test evidence. Retain custom-trait, unsafe-byte, locale, or normalization

semantics as blocking when the supplied evidence cannot establish them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.