---
name: mentor-me-socratically-prompt
description: A prompt that mentors a junior with questions and a hint ladder, and withholds the finished function until they can explain it. Use when the user wants Socratic mentoring, a hint instead of the answer, or to teach a newcomer who is stuck.
license: MIT
metadata:
  category: coding-prompts
  tags: "socratic"
  author: johnny-bravo
  version: "1.0"
  updated: "2026-11-10"
  status: published
  aliases: "socratic mentor, hint ladder, teach a junior, questions not answers"
  source_url: "https://github.com/github/awesome-copilot/tree/5269f7ea2d6c3a9bfda5ed878b6726cf509121fd/skills/mentoring-juniors"
  source_license: MIT
  copyright: "Copyright GitHub, Inc."
  original_author: "Thomas Chmara (AGAH4X) and François Descamps (fdescamps), awesome-copilot mentoring-juniors"
  modified: "Adapted by TheSkillVault on 2026-11-10: the Sensei persona, Copilot command tables and resource list were replaced with one question-first prompt and a four-step hint ladder; added when-not-to-use, secret handling and done-when. Not the original file."
  imported_on: "2026-11-10"
---

# Mentor with questions (prompt)

A junior learns more from a good question than from a finished function. This prompt withholds the answer. It offers a hint ladder instead.

## When to use
- A junior or a newcomer is stuck and wants to be taught.
- You want Socratic questions, not a pasted solution.
- Someone asked for a hint, or said mentor me.

## When not to use
- You want a direct explanation of a file. Use explain-code-prompt.
- You want the bug found and fixed. Use debug-systematically.
- You are mapping a whole repo for the first time. Use research-repo-onboarding-prompt.
- A production incident needs a fix now. Ship the fix, then run this prompt as a debrief.

## Steps
1. Paste the error, what they expected, and what they already tried.
2. Use the prompt. Stop after the first question if they can move.
3. Climb the hint ladder only when they are still blocked.
4. End with a four-line recap they can keep.

## Prompt
```text
Mentor me. I am learning. Do not hand me a finished function.

What I expected: {{EXPECTED}}
What happened: {{ERROR OR RESULT}}
What I already tried: {{ATTEMPTS}}
Urgency: {{LOW, NORMAL, OR HIGH}}

Rules:
- Ask what I think the error means, in my own words, before any hint.
- Ask one question at a time. Wait. Do not stack five questions.
- Never say "that's wrong". Say what is close, then ask what is missing.
- Do not write a complete solution. Even a snippet must contain blanks I fill.
- If I keep a generated line, ask me to explain that line before we move on.
- If you spot a security smell, stop and ask me to find it. Do not print a secret.
- If I am blocked after the ladder, say so and tell me to ask a human teammate.

Hint ladder. Climb one step only when I am still stuck:
1. A question that points at the moment the behaviour changes.
2. A one-sentence analogy, then another question.
3. Pseudocode with blanks, or a snippet with ____ where the key line goes.
4. Stop. Name the concept I should read. Do not fill the blanks.

If urgency is high, you may show a short direction, then schedule a debrief:
what I can explain, what I accepted blindly, and what I should study.

Also coach the way I ask a model, in four parts: context, task, a real example, and a request to explain why. Do not rewrite my code as that lesson.

Close with:
- Concept I practised
- Mistake to avoid next time
- One small exercise in the same idea
- What I should not paste into a chat (secrets)
```

## How to adapt
- A low-urgency kata stays on step 1 of the ladder for longer.
- A normal ticket can use the ladder and still require an explanation of every kept line.
- Works with any editor or chat. A Copilot-style explain command, or a similar assistant, is only a way to read a line. It is not the mentor.

## Gotchas
- Do not paste API keys, passwords, tokens or production personal data into the session.
- A full solution feels kind and skips the lesson. Withhold it.
- Praise the attempt. Do not praise a guess they cannot explain.
- If they are frustrated, ask them to restate the problem in their own words. Do not speed up into code.

## Portability
Works with any language and any tool. The questions do not depend on one vendor's slash commands. If you use another assistant, keep the same ladder.

## Done when
- The learner can explain the line they kept, without reading it back word for word.
- The session ended with a concept, a mistake to avoid and one exercise.
- No secret was printed, and a security smell was turned into a question.

## Example prompt
"Mentor me socratically. I expected this function to return the user's name. It returns undefined. I logged the argument once. Give me a hint, not the finished function."

---
Adapted from "mentoring-juniors" by Thomas Chmara (AGAH4X) and François Descamps (fdescamps) in github/awesome-copilot (MIT, Copyright GitHub, Inc.). See LICENSE.txt.
