rust-learn

Teaches Rust through a stateful tutoring workflow with adaptive exercises and spaced review.

17|1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/swaylq/sijiao-skill --skill rust-learn-swaylq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rust-learn
Source: https://github.com/swaylq/sijiao-skill/tree/main/prototypes/rust-learn
Command: npx skills add https://github.com/swaylq/sijiao-skill --skill rust-learn-swaylq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Learning Rust alone often stalls at the borrow checker, and generic study plans forget where you left off. This Skill acts as a persistent Rust tutor that reads your learner profile, picks up exactly where you stopped, and adapts exercises to your current mastery level. ## Core Features & Use Cases - Stateful Tutoring: Reads and updates learner-state.json to track per-module mastery, weak spots, misconceptions, and streaks across sessions. - Structured 15-Module Curriculum: A validated novice-to-competent path (ownership, borrowing, lifetimes, traits, concurrency) ending in a capstone CLI project, rendered from curriculum.json. - Adaptive Assessment & Spaced Repetition: Grades exercises as right/partial/wrong, schedules retrieval practice for core rules like the three borrowing principles, and targets weak spots with real borrow-checker errors. - Use Case: You say "continue learning rust" after a week away; the tutor loads your file, sees you are stuck on &mut vs & conflicts at mastery 0.55, runs a due spaced-repetition quiz, then walks you through the exact compiler error you hit last time. ## Quick Start Ask the assistant to teach you Rust or continue your Rust lesson, and it will load your learner state and begin the next tutoring session.

Frequently Asked Questions about rust-learn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I learn Rust from zero with an AI tutor?▼

Start by saying you want to learn Rust; the tutor runs a three-question placement diagnostic, then guides you through a 15-module curriculum from toolchain setup to a capstone CLI project. It tracks your mastery per module and adapts difficulty each session.

How does the tutor handle borrow checker errors when learning Rust?▼

The tutor uses error-driven practice: it feeds you real borrow-checker error snippets and asks you to fix them and explain why the error occurred. Weak spots like &mut versus & conflicts are recorded in your learner state and revisited.

Does this Rust tutor remember my progress between sessions?▼

Yes. Progress is stored in a learner-state.json file tracking module mastery, weak spots, misconceptions, exercise history, and streaks. Each session begins by reading this file to resume exactly where you left off.

What Rust topics does the curriculum cover and where does it stop?▼

The curriculum covers toolchain, syntax, ownership, borrowing, structs and enums, error handling, generics, traits, lifetimes, iterators, smart pointers, testing, and concurrency, ending with a CLI capstone. It honestly stops at competent level; async, unsafe, and macros are out of scope.

How long does it take to learn Rust with this curriculum?▼

At roughly six hours per week, reaching the competent ceiling takes about 10 to 14 weeks. The highest dropout risk is the ownership and borrowing plateau in weeks two through four, which the tutor counters with small frequent drills.