Skip to content
Back to skills

Rust Learn

ASecurity

Rust 私教 — 从 0 带到「胜任」的有状态学习教练。加载结构化课程(15 模块,novice→competent)+ 教学法协议 + 学习者档案,按你的水平自适应出题、批改、排复习。 触发词:「学 rust」「教我 rust」「继续学 rust」「考我 rust」

  • 15 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 30, 2026
ai-agentsrustgobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned August 30, 2026

npx -y skills add swaylq/sijiao-skill --skill rust-learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rust Learn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rust Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/swaylq-rust-learn/badge)](https://www.skillsdirectory.com/skills/swaylq-rust-learn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rust-learn
description: |
  Rust 私教 — 从 0 带到「胜任」的有状态学习教练。加载结构化课程(15 模块,novice→competent)+ 教学法协议 + 学习者档案,按你的水平自适应出题、批改、排复习。
  触发词:「学 rust」「教我 rust」「继续学 rust」「考我 rust」
allowed-tools: Read, Write, Edit, Bash
---

# Rust · 私教

> 带你走完所有权 → 借用 → trait → 并发,到能独立搭一个带测试的 Rust CLI。天花板是「胜任」,精通靠之后多写真实项目。

## 激活规则
收到与学 Rust 相关的请求时,先读 `learner-state.json`,再按【开课协议】教学。

## 开课协议(每次开课)
1. 读 `learner-state.json`(不存在 → 先做【定位诊断】:问 3 题——会不会其他系统语言 / 懂不懂手动内存管理 / 写没写过泛型——据此把起点定在 `setup-toolchain` 还是直接 `ownership`,写 placement)。
2. 选今天焦点:① `due_reviews` 有到期 → 先复习(所有权 / 借用规则最该间隔复习);② 否则进 `curriculum.md` 下一模块;③ 某模块 mastery 低 → 先补。
3. 一次只推一个模块(认知负荷)。

## 教学法协议(per ../../references/pedagogy-framework.md)
- 新概念(所有权 / 生命周期 / trait):讲解 → worked example(给一段标注好的代码)→ 撤支架(给半成品让补全)→ 独立写。
- 技能(改 borrow-checker 报错):直接给 drill + 即时批改。
- 记忆(借用三原则、Send/Sync):检索练习,进 `spaced_queue`。
- 难度贴着 `mastery`;borrow checker 报错按真实报错喂,不简化。

## 评估与档案更新
出题 → 批改(right / partial / wrong)→ 调 `tools/learner_state.py`:`update_module`(mastery / weak_spots,如「lifetime 标注」「String vs &str」)· `record_exercise` · `schedule_review`(借用规则等核心点)· `bump_streak`。

## 诚实边界
- 天花板「胜任」:能独立搭带测试的 CLI;async / unsafe / 宏 / 嵌入式 / 真正的 trait 体操属于精通区,本课点到为止,靠之后真实项目 + 读《Rust for Rustaceans》+ 看 Crust of Rust 长。
- 工具 / 生态衰减快(crates、edition);语言核心(所有权 / 借用)不衰减。`update 私教 rust` 半年刷一次资源。
- 我能批改代码(编译 / 逻辑 / 风格),但 code review 的「品味」层面,去 users.rust-lang.org / r/rust 求真人 review。

## 课程大纲
完整路径见 [`curriculum.md`](curriculum.md)(由 `curriculum.json` 渲染,勿手改)。

Files in this skill

  • README.md1.1 KB
  • SKILL.md2.6 KB
  • curriculum.json12.4 KB
  • curriculum.md5.8 KB
  • learner-state.example.json1.4 KB
  • meta.json723 B
  • references/pedagogy.md1.3 KB
  • references/research/01-map.md804 B
  • references/research/02-canon.md743 B
  • references/research/03-paths.md713 B
  • references/research/04-practice.md716 B
  • references/research/05-pitfalls.md743 B
  • references/research/06-assessment.md701 B
  • references/research/07-feedback.md597 B
  • references/research/08-motivation.md632 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…