Rust — a systems programming language. It guarantees memory safety and thread safety through ownership, borrowing, lifetimes, and its type system. Structured 14 major resources from the official documentation (doc.rust-lang.org). Refer to it when working with language specifications, code writing, builds (Cargo), Unsafe Rust, embedded, and CLI development.
Directory structure
skills/rust/
SKILL.md
references/
book/
README.md
01-getting-started.md
02-guessing-game.md
03-common-programming-concepts.md
04-ownership.md
05-structs.md
06-enums-and-pattern-matching.md
07-packages-crates-modules.md
08-common-collections.md
09-error-handling.md
10-generic-types-traits-lifetimes.md
11-testing.md
12-io-project.md
13-iterators-closures.md
14-cargo-crates-io.md
15-smart-pointers.md
16-fearless-concurrency.md
18-oop.md
19-patterns-and-matching.md
20-advanced-features.md
21-final-project.md
by-example/
README.md
01-hello-world.md
02-primitives.md
03-custom-types.md
04-variable-bindings.md
05-types.md
06-conversion.md
07-expressions.md
08-flow-of-control.md
09-functions.md
10-modules.md
11-crates.md
12-cargo.md
13-attributes.md
14-generics.md
15-scoping-rules.md
16-traits.md
17-macros.md
18-error-handling.md
19-std-library-types.md
20-std-misc.md
21-testing.md
22-unsafe-operations.md
23-compatibility.md
24-meta.md
reference/
README.md
abi.md
attributes.md
behavior-considered-undefined.md
conditional-compilation.md
const-evaluation.md
crates-and-source-files.md
influences.md
inline-assembly.md
items.md
lexical-structure.md
linkage.md
macros.md
memory-model.md
names.md
notation.md
patterns.md
runtime.md
special-types-and-traits.md
statements-and-expressions.md
type-system.md
unsafety.md
cargo/
README.md
cargo-guide.md
commands.md
faq.md
getting-started.md
reference-build-scripts.md
reference-cargo-toml.md
reference-config.md
reference-environment-variables.md
reference-external-tools.md
reference-features.md
reference-lints.md
reference-manifest.md
reference-overriding-dependencies.md
reference-profiles.md
reference-publishing.md
reference-registries.md
reference-registry-auth.md
reference-resolver.md
reference-semver.md
reference-source-replacement.md
reference-specifying-dependencies.md
reference-unstable.md
reference-workspaces.md
rustc/
README.md
check-cfg.md
codegen-options.md
command-line-arguments.md
contributing.md
exploit-mitigations.md
instrument-coverage.md
jobserver.md
json.md
linker-plugin-lto.md
lints.md
platform-support.md
profile-guided-optimization.md
remap-path-prefix.md
sanitizers.md
symbol-mangling.md
targets.md
tests.md
rustdoc/
README.md
advanced-features.md
attributes.md
command-line.md
documentation-tests.md
how-to-read.md
how-to-write.md
linking-to-items-by-name.md
lints.md
passes.md
references.md
scraped-examples.md
unstable-features.md
what-is-rustdoc.md
nomicon/
README.md
atomics.md
beneath-std.md
concurrency.md
conversions.md
data-layout.md
ffi.md
implementing-arc-and-mutex.md
implementing-vec.md
meet-safe-and-unsafe.md
other-reprs.md
ownership-based-resource-management.md
ownership.md
uninitialized.md
unwinding.md
edition-guide/
README.md
creating-new-project.md
rust-2015.md
rust-2018.md
rust-2021.md
rust-2024.md
transitioning-existing-project.md
what-is-edition.md
cli/
README.md
config-files.md
error-handling.md
human-communication.md
in-depth-exit-code.md
in-depth-human-communication.md
in-depth-signal-handling.md
machine-communication.md
packaging-distribution.md
parsing-arguments.md
project-setup.md
testing.md
embedded/
README.md
appendix.md
collections.md
concurrency.md
design-patterns.md
installation.md
interoperability.md
intro.md
memory-mapped-registers.md
no-std.md
peripherals.md
portability.md
static-guarantees.md
tips-for-embedded-c-devs.md
unsorted.md
stdlib/
README.md
module-categories.md
overview.md
errors/
README.md
error-categories.md
unstable/
README.md
feature-categories.md
rustlings/
README.md
overview.md
samples/
README.md
async-tokio.md
collections.md
concurrency-threads.md
enums-and-pattern-matching.md
error-handling.md
iterators-and-closures.md
ownership-and-borrowing.md
structs-and-methods.md
testing.md
traits-and-generics.md
scripts/
README.md
build.md
dependencies.md
generate.md
install.md
lint.md
publish.md
test.md
Exploration procedure
Find the category from the task, then identify the target page in the category's README.md:
- Find the category corresponding to the task in the mapping table below
- of that category
references/{category}/README.mdto identify the target page - Read the
.mdof the relevant page to check the details
Task → Category mapping
| Task | Category | Reference README |
|---|---|---|
| Learn language introduction, ownership, borrowing, lifetimes, structs, enums, traits, generics, concurrency, and async | book | references/book/README.md |
| Quickly check language features with code examples, a quick reference for syntax | by-example | references/by-example/README.md |
| Look up strict language specifications, syntax, type system, memory model, ABI, and UB definitions | reference | references/reference/README.md |
| Look up Cargo.toml, Workspaces, Features, Profiles, dependency specification, and publishing to crates.io | cargo | references/cargo/README.md |
| Look up rustc compiler options, lints, targets, sanitizers, PGO, and LTO | rustc | references/rustc/README.md |
| Look up documentation generation, doctests, doc comment syntax, and intra-doc links | rustdoc | references/rustdoc/README.md |
| Look up Unsafe Rust, FFI, unsound patterns, Vec/Arc implementations, and atomics | nomicon | references/nomicon/README.md |
| Look up Rust 2015/2018/2021/2024 edition differences and migration methods | edition-guide | references/edition-guide/README.md |
| Look up CLI application development, clap, exit codes, and signal handling | cli | references/cli/README.md |
| Look up embedded development, no_std, HAL, peripherals, and memory-mapped registers | embedded | references/embedded/README.md |
| Look up the standard library's module structure, Collections, I/O, and Concurrency overview | stdlib | references/stdlib/README.md |
| Look up how to reference compiler error codes (E0XXX) and representative examples | errors | references/errors/README.md |
| Look up Nightly-only features, feature flags, and -Z flags | unstable | references/unstable/README.md |
| Look up the Rustlings exercise environment and learning workflow | rustlings | references/rustlings/README.md |
| Want to know typical usage (ownership, async, error handling, collections, etc.) | samples | samples/README.md |
| Want to know installation, build, test, lint, dependency management, and publishing commands | scripts | scripts/README.md |