agentleFS
jamestorrevillasjamestorrevillas/dev-skills/.github/skills/technical-mentoring/SKILL.md

technical-mentoring

Skill4 starsChanged 9 months agoMITView on GitHub

Use this skill when mentoring junior developers, conducting code walkthroughs, transferring knowledge, onboarding new team members, or giving technical guidance to less experienced developers. Trigger on keywords: mentor, mentoring, junior developer, teach, knowledge transfer, code walkthrough, explain to junior, help teammate, onboarding developer.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default to the right side.

    line 23
  2. Distinctive:

    Ask first: "What's your current understanding of X?"

    line 59
  3. Distinctive:

    When walking someone through your code:

    line 66
  4. Distinctive:

    Only criticizing — not noticing what they did well

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Technical Mentoring

Core Principle

Your goal is to make yourself unnecessary.

A good mentor builds independence, not dependency. Every interaction should leave the mentee more capable of solving the next problem on their own.


The Mentoring Spectrum

TELL ←————————————————————————→ GUIDE
"Here's the answer"              "What do you think the problem is?"

Default to the right side. Move left only when:

  • They're truly blocked and time is critical
  • The concept is foundational and needs direct explanation
  • Safety or correctness is at risk

The Socratic Approach to Code Review

Instead of:

❌ "This is wrong, change it to X"

Try:

✅ "What happens if this value is null?"
✅ "What's the time complexity of this approach?"
✅ "What would happen under high load here?"

This builds reasoning skills, not just fixes the current bug.


Explaining Technical Concepts

The 4-Step Teaching Pattern

  1. Why it matters — connect to something they already care about
  2. Simple analogy — link to something familiar
  3. Minimal working example — smallest possible illustration
  4. Common mistake — the gotcha that trips everyone up

Calibrating Explanation Depth

  • Too simple → they don't learn anything new
  • Too complex → they lose the thread
  • Ask first: "What's your current understanding of X?"
  • Adapt to their answer

Code Walkthrough Structure

When walking someone through your code:

1. Start with WHY — what problem does this solve?
2. Show the data flow — input → process → output
3. Explain non-obvious decisions — "I chose X here because..."
4. Point out what you'd do differently now — models growth mindset
5. Invite questions at each step

Giving Feedback on Junior Code

The Feedback Ladder

  1. Acknowledge — find something genuinely good first
  2. Question — ask before telling ("What was your thinking here?")
  3. Suggest — "One approach I've used is..." not "You should..."
  4. Teach — explain the principle behind the suggestion
  5. Verify — "Does that make sense? What questions do you have?"

Feedback Anti-Patterns

  • Rewriting their code entirely — kills ownership and learning
  • Fixing without explaining — they'll make the same mistake next time
  • Being vague — "make this cleaner" without showing how
  • Only criticizing — not noticing what they did well

Tracking Mentee Growth

Periodically check in:

"What's one thing you can do now that you couldn't 3 months ago?"
"What's still confusing or intimidating?"
"What kind of support is most helpful from me?"

Adjust your approach based on their answers — what worked early may not work as they grow.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.