rust-guide
Use to explain Rust language characteristics and established practical patterns, and to apply that knowledge in Rust development.
Skill by buYoung
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/buyoung-rust-guide
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/rust-guide
What's inside
- Skill name
rust-guide- Description
- Use to explain Rust language characteristics and established practical patterns, and to apply that knowledge in Rust development. Covers ownership, borrowing, lifetimes, traits and API design, collections, memory allocation, error handling, async execution and CPU parallelism, synchronization, module and crate boundaries, Cargo workspaces and monorepos, library selection, performance and SIMD, WebAssembly, embedded/no_std, unsafe/FFI, compiler diagnostics, build configuration, and MSRV/edition compatibility. Use for questions about how Rust works, idiomatic ways to structure code, why a compiler constraint exists, when a pattern or library fits, and its costs and exceptions. Connects mechanisms to practical examples, including std/core approaches and curated ecosystem libraries. Uses stable Rust with explicit API, edition, and target requirements; explains relevant nightly alternatives separately.
- License
- MIT
- Instructions
- 60 lines in SKILL.md · view on GitHub
Files (39)
- SKILL.md
- README.md · evals/
- evals.json · evals/
- api-and-crate-design.md · references/practices/
- async-and-parallel-execution.md · references/practices/
- build-configuration.md · references/practices/
- collections.md · references/practices/
- concurrency.md · references/practices/
- embedded-and-no-std.md · references/practices/
- error-handling.md · references/practices/
- library-selection.md · references/practices/
- lints-and-diagnostics.md · references/practices/
- memory-and-allocation.md · references/practices/
- modules-and-crate-boundaries.md · references/practices/
- ownership-and-type-design.md · references/practices/
- performance.md · references/practices/
- simd.md · references/practices/
- unsafe-and-ffi.md · references/practices/
- webassembly.md · references/practices/
- workspaces-and-monorepos.md · references/practices/
- 1.80.md · references/versions/
- 1.81.md · references/versions/
- 1.82.md · references/versions/
- 1.84.md · references/versions/
- 1.85.md · references/versions/
- 1.86.md · references/versions/
- 1.87.md · references/versions/
- 1.88.md · references/versions/
- 1.89.md · references/versions/
- 1.90.md · references/versions/
- 1.91.md · references/versions/
- 1.92.md · references/versions/
- 1.96.md · references/versions/
- 1.97.md · references/versions/
- index.md · references/versions/
- 2026-09-18-sources-and-verification.md · updates/
- 2026-09-21-guideline-redesign.md · updates/
- 2026-09-21-practice-depth.md · updates/
- 2026-09-21-reference-sources.md · updates/
SKILL.md (first lines)
# Rust Guide Explain Rust's characteristics and established practical patterns by topic. Connect how the language and libraries work to recommended usage, applicable conditions, costs, pitfalls, and exceptions. Use examples that make these relationships concrete. ## Explain the Topic Start with the concept needed to answer the question, then connect it to practice. For a substantial topic, cover **mechanism → practical pattern → applicable conditions → pitfalls and exceptions → example**. This is a way to develop the explanation, not a required response template. A narrow question may need only a paragraph or a small example. - Explain why a pattern works: ownership and resource lifetime, type guarantees, execution and synchronization, memory representation, or compilation behavior. - Develop the suitable std/core approach where it is useful. Explain what a dependency adds and what maintaining an equivalent implementation would cost; fewer dependencies alone do not justify writing a scheduler or unsafe allocator. - Treat `clone`, `dyn Trait`, `Arc<Mutex<T>>`, allocation, and abstractions according to their semantics and costs. A useful default has conditions and exceptions. - Use comparisons when the question involves alternatives. Classify their roles before comparing names, and use the [library selection policy](references/practices/library-selection.md) for new dependency recommendations. - Relate examples to observable behavior: who owns a buffer, which failure a caller can handle, when a task ends, or which configuration reaches a target. Match depth to the reader's question. Explain the underlying constraint when discussing a diagnostic; connect an established pattern to the supplied code when application is requested. Keep small examples focused, and explain any omitted runtime, device setup, dependency features, or failure handling that matters to their use. ## Account for the Environment Bring in environmental facts when they change the explanation: `core`/`alloc`/`std`, host and target, OS threads or interrupts, runtime, MSRV and edition, dependency features, public API, and deployment CPU baseline. A general language question needs no repository inspection. Use supplied code and manifests for project-specific questions, and state assumptions where relevant facts are unavailable. Distinguish workload costs such as I/O waiting, computation, contention, retained memory, startup, and build time. Explain the likely mechanism before suggesting a measurement; a performance hypothesis becomes a speedup claim only with comparable results. ## Route by the Question Read the relevant section of the closest reference first. Long references have contents tables; expand to neighboring sections only when their concepts are needed. Follow cross-topic links for relationships such as ownership and allocation, async and cancellation, or workspace features and no_std. | Task signal | Read | |---|---| | Ownership, borrowing, lifetimes, resource release | [Ownership and borrowing](references/practices/ownership-and-type-design.md#ownership-borrowing-and-resource-lifetimes), then [parameter and return types](references/practices/ownership-and-type-design.md#parameter-and-return-types) | | Newtype, typestate, enum/generic/dyn, shared ownership | [Type patterns](references/practices/ownership-and-type-design.md#newtypes), [dispatch](references/practices/ownership-and-type-design.md#enum-trait-generic-or-dyn), or [shared ownership](references/practices/ownership-and-type-design.md#shared-ownership-and-cycles) | | Lookup, ordering, queues, hashing, collection capacity | [Collection semantics and representation](references/practices/collections.md#semantics-representation-and-cost), then the relevant operation | | Allocation, buffer reuse, arena/pool, allocator, retained memory | [Memory and allocation](references/practices/memory-and-allocation.md#storage-allocation-and-release) | | Errors, std-only implementations, thiserror/anyhow, recovery/reporting | [The error model](references/practices/error-handling.md#values-propagation-and-error-information), [manual implementation](references/practices/error-handling.md#anatomy-of-a-library-error-type), or [reporting](references/practices/error-handling.md#application-errors-with-anyhow) | | Function/module/crate separation, visibility, core and adapters | [Modules and crate boundaries](references/practices/modules-and-crate-boundaries.md) | | Public API, traits, conversions, SemVer, documentation | [API and crate design](references/practices/api-and-crate-design.md) | | Workspace, monorepo, feature unification, shared versions/releases | [Workspaces and monorepos](references/practices/workspaces-and-monorepos.md) | | Crate comparisons, std versus dependencies, adoption/maintenance | [Library selection](references/practices/library-selection.md) | | Future/task/thread, Tokio/smol, Rayon/Crossbeam, blocking and limits | [Execution model and patterns](references/practices/async-and-parallel-execution.md#futures-tasks-and-threads) | | Async borrowing, Send, 'static, Pin/Unpin | [Task ownership](references/practices/async-and-parallel-execution.md#borrowing-and-task-ownership), [pinning](references/practices/async-and-parallel-execution.md#pin-and-unpin) | | Cancellation, timeouts, shutdown | [Cancellation](references/practices/async-and-parallel-execution.md#cancellation-is-an-ownership-contract), [shutdown](references/practices/async-and-parallel-execution.md#channels-locks-and-shutdown) | | Threads, locks, channels, atomics, Send/Sync, contention | [Concurrency](references/practices/concurrency.md#choosing-a-model); use its contents for the specific primitive | | Profiling, algorithms, layout, runtime and build-time bottlenecks | [Performance](references/practices/performance.md) | | Auto-vectorization, SIMD intrinsics, CPU detection, fallback | [SIMD](references/practices/simd.md) | | Browser/WASI, JS boundary, Wasm memory, workers and size | [WebAssembly](references/practices/webassembly.md) | | Firmware, no_std, no heap, interrupts, HAL, DMA, embedded async | [Embedded and no_std](references/practices/embedded-and-no-std.md) | | Cargo profiles, LTO, symbols, panic, PGO, compiler flags | [Build configuration](references/practices/build-configuration.md) | | Raw pointers, layout, aliasing, initialization, FFI | [Safety contracts](references/practices/unsafe-and-ffi.md#unsafe-fn-unsafe-blocks-and-safety-comments), then the relevant FFI or memory section | | Compiler errors, Clippy diagnostics, lint configuration | [Compiler diagnostics and lints](references/practices/lints-and-diagnostics.md) | | Edition 2024 migration | [Edition migration](references/versions/1.85.md) | | Toolchain upgrade and release compatibility | [Versions index](references/versions/index.md), then the relevant release files | ## Compatibility - Use the relevant topic's explanation, conditions, and examples to answer the question. Distinguish language/API guarantees, conditional practices, and measured outcomes. - Match APIs and dependencies to the project's features, MSRV, target, and runtime. Explain relevant nightly alternatives separately from the stable approach. - Release references cover Rust 1.80 onward. Each example has its own API requirements; edition 2024 requires Rust 1.85 even when its APIs are older. An older MSRV needs a supported edition and compatible APIs. - Apply the library catalog's role and suitability conditions. Popularity narrows candidates; it does not establish correctness or a performance benefit. - State assumptions and unresolved version or target constraints where they affect the answer. Describe compilation, target execution, and measured behavior only to the extent actually established.
From buYoung/skills, MIT.
More from buYoung/skills
- 0.649score
release-it
buYoung
release-it configuration, setup, troubleshooting, and plugin development.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
agents-md-generator
buYoung
Analyze repository structure and generate or update standardized AGENTS.md files that serve as contributor guides for AI agents.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
skill-creator
buYoung
Create, improve, and evaluate reusable agent skills.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
pi-package-creator
buYoung
Create, extend, repair, validate, test, and package Pi coding-agent packages (pi packages, pi-packages, Pi 패키지) for local, npm, or git distribution.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
document-writing
buYoung
Create, update, rewrite, review, fact-check, or normalize durable human-readable documents.
SkillAFreshness: A★ 21Claude Code +9 - 0.646score
clear-writing
buYoung
Apply ISO 24495-1 to create text that helps readers easily find, understand, and use the information they need.
SkillAFreshness: A★ 21Claude Code +9 - 0.640score
task-brief-creator
buYoung
Generate an executable implementation work-plan Markdown at `docs/briefs/` from planning notes or a rough task description.
SkillAFreshness: A★ 21Claude Code +9 - 0.640score
task-brief-creator-caveman
buYoung
Generate an executable implementation work-plan Markdown at `docs/briefs/` from planning notes or a rough task description, with the plan body written in…
SkillAFreshness: A★ 21Claude Code +9 - 0.610score
linear-issue-reviewer
buYoung
Review completed Linear sub-issues: cross-validate Done Criteria, code changes, and worker comments to approve, request changes, or ask for clarification.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
linear-issue-worker
buYoung
Execute code tasks from Linear sub-issues: resolve dependencies, implement changes, validate Done Criteria, and sync status.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
react-guide
buYoung
Use for explaining, designing, implementing, reviewing, refactoring, migrating, or diagnosing React 18/19 applications when React-specific judgment is needed…
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
system-prompt-creator
buYoung
Generate system prompts from user requirements, with application guidance and request-derived evaluation materials.
SkillBFreshness: B★ 21Claude Code +9
Signals
- Stars
- 21
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Sep 21, 2026 (1 month ago)
- Last release
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/buYoung/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from buYoung
- 0.649score
pi-package-creator
buYoung
Create, extend, repair, validate, test, and package Pi coding-agent packages (pi packages, pi-packages, Pi 패키지) for local, npm, or git distribution.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
skill-creator
buYoung
Create, improve, and evaluate reusable agent skills.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
agents-md-generator
buYoung
Analyze repository structure and generate or update standardized AGENTS.md files that serve as contributor guides for AI agents.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
document-writing
buYoung
Create, update, rewrite, review, fact-check, or normalize durable human-readable documents.
SkillAFreshness: A★ 21Claude Code +9 - 0.649score
release-it
buYoung
release-it configuration, setup, troubleshooting, and plugin development.
SkillAFreshness: A★ 21Claude Code +9 - 0.646score
clear-writing
buYoung
Apply ISO 24495-1 to create text that helps readers easily find, understand, and use the information they need.
SkillAFreshness: A★ 21Claude Code +9
Cite this page
rust-guide skill. Agent Mart. https://agentmart.dev/skills/buyoung-rust-guide (last updated 2026-10-24)