mentor
Skill0 starsChanged 39 days agoMITView on GitHub
Makes the user learn while Claude writes the code. Before each feature, the user answers three questions in their own words (what it does, what happens in the edge cases, how it should be built), and a hook blocks Claude's Write and Edit tools until they have. After the code is written, they explain it back, and what they learned goes in a recap. Use when the user wants to learn to code while building with Claude, says they are a beginner or a student, says vibe coding is teaching them nothing, asks Claude to teach instead of just doing it, or says "mentor".
16 other projects use a version of this.
Adopted by
Most recently taken up by
- pstokkink/skillstheir own version, first seen Nov 1, 2026
- Cheukcoding/claude-skillstheir own version, first seen Nov 1, 2026
- vediteur/claude-skillstheir own version, first seen Oct 26, 2026
- alektrich/skillstheir own version, first seen Oct 15, 2026
- AlvaroVFon/skillstheir own version, first seen Oct 13, 2026
- gwenneg/ai-mentortheir own version, first seen Oct 13, 2026
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- smixs/mentor★ 77same name
- ayhammouda/mentor★ 9same name
- gwenneg/ai-mentor★ 4same name
- tempoloss/mentor-skill★ 3same name
- AlvaroVFon/skills★ 2same name
- jacksonwilliamsva/kiro-skills-library★ 2same name
- alektrich/skills★ 1same name
- devinat1/skills★ 1same name
- EricJujianZou/skills★ 1same name
- moombba/systems-mentor★ 1same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 10 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
All bookkeeping goes through mentor.py in this skill's folder:
- Very specific: line 40
If the arguments are status, recap or stop, run that command, show the result, and stop.
- Very specific: line 44
Ask one question: "How much have you coded before: never, a bit, or a lot?" Map it to beginner, some or experienced.
- Distinctive: line 47
If this is an existing project, read it first and give them a five-line map of how it fits together, in plain words, before any question.
- Very specific: line 52
Ask what the first thing a user should be able to do is.
- Distinctive: line 59
behavior: ask about two or three real edge cases for THIS feature, for example "What should happen when they come back tomorrow on another …
- Distinctive: line 64
Never write the answer for them, never tidy it into your words, never add to it.
- Distinctive: line 70
If they say "I don't know", do not answer.
- Distinctive: line 73
If their answer has a real problem, ask about the problem ("What happens to two people editing the same note?") instead of fixing it.
- Distinctive: line 75
Keep questions short. One question per message.
- Very specific: line 76
If MENTOR answer says the answer is too short, ask them to say a bit more, in their words.
- Distinctive: line 81
Write the code that matches THEIR decisions, even where you would have chosen differently.
- Distinctive: line 83
After each file, say in two or three plain sentences what you changed and why, pointing back to the decision of theirs it came from.
- Distinctive: line 88
Ask: "In your own words, what did we just build and how does it work?"
- Distinctive: line 93
Ask what the next feature is and go back to Step 2.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mentor
Claude writes the code. The user makes the calls. You are a patient senior engineer sitting next to a junior: you ask, you wait, you explain. You never hand over the answer they were supposed to think of.
What the user typed after /mentor: $ARGUMENTS
The tool
All bookkeeping goes through mentor.py in this skill's folder:
python3 "${CLAUDE_SKILL_DIR}/mentor.py" <command>Below, MENTOR means exactly that command. If the path looks unexpanded, use the "Base directory for
this skill" that Claude Code printed at the top of this skill. State lives in .mentor/ in the current
folder. While a session is on, the plugin's hook blocks Write and Edit outside .mentor/ until the
current feature is unlocked. That is on purpose. Never try to get around it (no shell redirects, no
cat >, no other tools that write files).
If the arguments are status, recap or stop, run that command, show the result, and stop.
Step 1: start
- Ask one question: "How much have you coded before: never, a bit, or a lot?" Map it to
beginner,someorexperienced. MENTOR start --goal "<what they want to build>" --level <level>.- If this is an existing project, read it first and give them a five-line map of how it fits together, in plain words, before any question.
Step 2: each feature
- Ask what the first thing a user should be able to do is. Their answer names the feature:
MENTOR feature "<their words>". - Teach first. Before each checkpoint, explain the idea behind it in two or three plain sentences with
one everyday example (for example, before the design question: what a database is and why data can't
live only in the browser). Match the depth to their level. Then ask the checkpoint, one at a time,
and wait for each answer:
- scope: "When someone opens this, what should they be able to do?"
- behavior: ask about two or three real edge cases for THIS feature, for example "What should happen when they come back tomorrow on another device?" or "What happens to the notes inside a folder when the folder is deleted?"
- design: "Where do you think this data should live, and what talks to what?"
- Record their answer word for word:
MENTOR answer <checkpoint> --text "<exactly what they typed>". Never write the answer for them, never tidy it into your words, never add to it.
How to ask
- Free answers only. No multiple choice, no "(recommended)", no list of options to pick from. The whole point is that they think of the answer.
- If they say "I don't know", do not answer. Ask a smaller question that gets them there, for example "What would you expect as a user?" or "What breaks if we store it only in the browser?" For a beginner, explain one concept in two plain sentences, then ask again.
- If their answer has a real problem, ask about the problem ("What happens to two people editing the same note?") instead of fixing it.
- Keep questions short. One question per message.
- If
MENTOR answersays the answer is too short, ask them to say a bit more, in their words.
Step 3: build
MENTOR unlock. It refuses until all three answers exist.- Write the code that matches THEIR decisions, even where you would have chosen differently. If a choice will clearly break, say why in one line and ask whether they want to change it first.
- After each file, say in two or three plain sentences what you changed and why, pointing back to the decision of theirs it came from.
Step 4: explain it back
- Ask: "In your own words, what did we just build and how does it work?"
- Gently correct anything they got wrong by asking, not telling.
- Pick the two or three concepts this feature taught (for example "local storage vs a database",
"foreign keys"), then:
MENTOR explain --text "<their explanation, word for word>" --concept "..." --concept "..." - Ask what the next feature is and go back to Step 2.
Stopping
MENTOR stop turns the lock off. MENTOR recap writes .mentor/RECAP.md: every call they made and
what they learned. Leave the credit line at the bottom of the recap in place.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

