
rust
Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。
- Installs
- 932
- Last 24h
- +10
- Trending rank
- #8772
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill rust- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads rust automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Rust リファレンス
Rust — システムプログラミング言語。所有権・借用・ライフタイム・型システムによりメモリ安全性とスレッド安全性を保証する。 公式ドキュメント (doc.rust-lang.org) から主要 14 リソースを構造化。 言語仕様・コード記述・ビルド(Cargo)・Unsafe Rust・組込み・CLI 開発時に参照する。 対象: Rust 1.99.1 (2026-10-13)。The Reference / Edition Guide / rustc Book / rustdoc Book は rust-lang/rust タグ 1.99.1 の同梱版(reference@82da570、edition-guide@5a14f72)。
ディレクトリ構成
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
17-async-await.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
glossary.md
influences.md
inline-assembly.md
items.md
lexical-structure.md
linkage.md
macro-ambiguity.md
macros.md
memory-model.md
names.md
notation.md
panic.md
patterns.md
runtime.md
special-types-and-traits.md
statements-and-expressions.md
syntax-index.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
print-options.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
advanced-migrations.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-docs.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
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.mdを参照して目的のページを特定する - 該当ページの
.mdを Read して詳細を確認する
タスク → カテゴリ マッピング
| タスク | カテゴリ | 参照 README |
|---|---|---|
| 言語入門・所有権・借用・ライフタイム・構造体・Enum・トレイト・ジェネリクス・並行性・async を学ぶ | book | references/book/README.md |
| 言語機能をコード例で素早く確認する、構文のクイックリファレンス | by-example | references/by-example/README.md |
| 厳密な言語仕様・構文・型システム・メモリモデル・ABI・UB 定義・panic / unwinding・用語集・構文記号索引を調べる | reference | references/reference/README.md |
| Cargo.toml, Workspaces, Features, Profiles, 依存関係指定, crates.io 公開を調べる | cargo | references/cargo/README.md |
| rustc コンパイラオプション, --print, パス remap, lint, target, sanitizer, PGO, LTO を調べる | rustc | references/rustc/README.md |
| ドキュメント生成, doctest, doc コメント記法, intra-doc links を調べる | rustdoc | references/rustdoc/README.md |
| Unsafe Rust, FFI, unsound パターン, Vec/Arc 実装, アトミックを調べる | nomicon | references/nomicon/README.md |
| Rust 2015/2018/2021/2024 エディション差分・移行方法(大規模ワークスペース・マクロ・非 Cargo プロジェクトの移行を含む)を調べる | edition-guide | references/edition-guide/README.md |
| CLI アプリ開発, clap, 終了コード, シグナル処理を調べる | cli | references/cli/README.md |
| 組込み開発, no_std, HAL, peripheral, memory-mapped registers を調べる | embedded | references/embedded/README.md |
| 標準ライブラリのモジュール構成, Collections, I/O, Concurrency 概要を調べる | stdlib | references/stdlib/README.md |
| コンパイラエラーコード(E0XXX)の参照方法・代表例を調べる | errors | references/errors/README.md |
| Nightly 限定機能, feature フラグ, -Z フラグを調べる | unstable | references/unstable/README.md |
| Rustlings 演習環境・学習ワークフローを調べる | rustlings | references/rustlings/README.md |
| 典型的な使い方を知りたい(所有権・async・エラー処理・コレクション等) | samples | samples/README.md |
| インストール・ビルド・テスト・lint・依存管理・公開コマンドを知りたい | scripts | scripts/README.md |
FAQ
What does the rust skill do?
Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。
How do I install rust?
Run npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill rust in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/rust/ (personal) or .claude/skills/rust/ (project).
Which AI agents can use rust?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is rust safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains rust?
It is published by fandhe-ai in fandhe-ai/agent-reference-skills. It has 932 recorded installs.
More from fandhe-ai/agent-reference-skills
github-docs
fandhe-ai/agent-reference-skills
GitHub 公式ドキュメント (docs.github.com)。REST API, GraphQL, Webhooks, GitHub Apps, OAuth Apps, gh CLI, PAT / GITHUBTOKEN, Actions (jobs, steps, expressions, workflow commands, concurrency, OIDC, artifact attestations, lockfile), pull requests, issues, Projects v2, immutable releases, Codespaces, Packages, Copilot API / cloud agent, code scanning, secret scanning, Dependabot, Dependency graph / SBOM, Teams, Billing, activity (events / notifications)。
commitlint
fandhe-ai/agent-reference-skills
commitlint (Conventional Commits メッセージ検証ツール) リファレンス。 rules 設定、plugins、shareable-config、@commitlint/config-conventional、 Husky / lefthook / simple-git-hooks 連携、CI 統合、custom rules。
lefthook
fandhe-ai/agent-reference-skills
Lefthook (高速並列 Git hooks マネージャー) リファレンス。 lefthook.yml 設定、pre-commit / pre-push / commit-msg 等のフック、 parallel / piped 実行、glob / run / tags フィルタ、stagedfiles、 lefthook の ai 設定 (beta)、JSON schema、Composer / npm / pip 等インストール、 保護ブランチ、CI スキップ、Husky からの移行。
editorconfig
fandhe-ai/agent-reference-skills
EditorConfig (エディタ設定統一フォーマット) リファレンス。 .editorconfig ファイル、glob パターン、root、 indentstyle / indentsize / tabwidth、endofline, charset、 trimtrailingwhitespace, insertfinalnewline, maxlinelength, spellinglanguage。
anthropic-claude-code
fandhe-ai/agent-reference-skills
Claude Code (code.claude.com) の CLI 本体リファレンス。 CLAUDE.md memory, settings.json (All settings, settings precedence, managed-settings.json), env-vars, model config, keybindings, statusline, terminal config, cli-reference (-p / --continue / --resume), sessions, checkpointing, worktrees, remote control, channels, deep links, troubleshooting。
make
fandhe-ai/agent-reference-skills
GNU Make / Makefile リファレンス。 ターゲット、prerequisite、order-only、変数展開、自動変数、pattern rule、.PHONY、-j 並列・再帰 make、増分ビルド。 Rust / Cargo / xtask、Node.js / pnpm / Turborepo、Git hooks / CI との責務分離と開発コマンド共通化。 Makefile 設計・レビュー、Bash サンプル、診断スクリプト。
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.