Use when writing or editing guide docs — files under guide/src/
This skill captures the writing style of the guide/ mdbook. Apply it when creating or modifying any file under guide/src/.
Cargo.toml")Code first, explanation after. Show a working example, then extract the key point.
// Show this first, then explain what's happening
#[defun]
fn inc(x: i64) -> Result<i64> {
Ok(x + 1)
}
| Content type | Format |
|---|---|
| Reasoning / rationale | Prose |
| Options / parameters | Bullet list (one line each; prose for elaboration) |
| Setup sequences | Numbered steps or sequential bash blocks |
| Complete patterns | Fenced code block |
| Identifiers in prose | Backtick inline code |
extern, cdylib) are understood&mut, Box, or Result meandefun, user-ptr, GIL, signal, throw — used without apology or inline definition