tutorial-creator

Learn from the code you're already writing.
This turns files from your own project into lessons: what each line does, why it's
written that way, and a short quiz to check whether it stuck. It remembers what you've
learned, and notices when you're stuck.
Works with Swift, TypeScript, Python, and Rust.
4 min read · full command reference in USAGE.md
Try it
/plugin marketplace add Terryc21/tutorial-creator
/plugin install tutorial-creator@tutorial-creator
Then, in any Claude Code session, type:
/tutorial-creator:tutorial-creator
Or ask in plain words, like "make me a tutorial from this file." Claude Code can start the
skill on its own when your request matches what it does.
Pick "Write a tutorial for myself", then "Topic + file", and point it at any file
you've worked on recently. About ten minutes later you have a real lesson.
Installing by hand, without the plugin system
The skill sits at skills/tutorial-creator/ inside this repo. Clone the repo somewhere,
then link that subfolder into your skills folder. Cloning the repo straight into
~/.claude/skills/tutorial-creator buries the skill one level too deep and Claude Code
won't find it.
git clone https://github.com/Terryc21/tutorial-creator ~/src/tutorial-creator && ln -s ~/src/tutorial-creator/skills/tutorial-creator ~/.claude/skills/tutorial-creator
For one project only, link into that project's skills folder instead:
mkdir -p /path/to/project/.claude/skills && ln -s ~/src/tutorial-creator/skills/tutorial-creator /path/to/project/.claude/skills/tutorial-creator
Installed this way, you start it with the shorter /tutorial-creator.
New to Claude Code? A skill is a set of written instructions Claude Code knows how
to follow. Type /tutorial-creator:tutorial-creator and it asks what you want, then does
it. You don't need to memorize anything. It walks you through every choice.
Why I built it
While building an iOS app with Claude Code, I noticed something uncomfortable: I was
producing Swift faster than I was learning to read it. The code worked. I couldn't
always have explained it.
Tutorials didn't help much. They teach with examples like let x = 5, and real projects
don't look like that. They're full of async work, state, and decisions somebody made
months ago for reasons nobody wrote down.
I didn't want to stop building and go do exercises. I wanted to learn from the code
already appearing in my own project every day. So I built this.
What a lesson looks like
Every lesson has the same shape:
- Words you'll need: only the new ones
- Quiz first: what do you already know?
- The idea: the pattern in plain terms, before any code
- Your actual code, annotated: line by line, from your project
- What goes wrong: realistic mistakes and how to fix them
- Quiz again: same ideas, one level deeper
- Answers: worked explanations for both quizzes
Across lessons it also tracks your vocabulary, your scores, and which ideas you've met.
Read a real one →
A production bug where a Mac app's window vanished on save. Three lines of code, and
obvious afterwards.
It notices what you skipped

After writing a lesson, the skill asks itself: did this lean on anything I haven't
taught yet?
That screenshot is real. After writing lesson 16, it found two ideas the lesson assumed
but had never covered, and proposed filling them as lessons 15.5 and 9.5, numbered so they
slot in without renumbering everything else.
This is the thing that stops the familiar slide where lesson 1 makes sense, lesson 2 is
survivable, and lesson 3 is incomprehensible. The gap was never in lesson 3.
It quizzes you, and you can't grade yourself
The skill keeps the words you've met and how well you know each one: new,
reviewing, mastered, or confused.
You don't set those. You earn them. Three correct answers in a row to reach mastered.
If two of your last three answers are wrong or only half right, the word drops to confused.
vocab gap shows what you keep getting wrong, and can build your next lesson around it.