agentleFS
galandogalando/temper/skills/teach-me/SKILL.md

teach-me

Skill17 starsChanged 9 months agoMITView on GitHub

Comprehension companion — incrementally teach the user every change, confirm mastery before advancing, and quiz to close gaps. Keeps the human engaged across all phases.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use interview.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dazuckSkill

    interview

    Interview me about a plan to flesh out requirements before implementation. Asks non-obvious questions one at a time until all ambiguities are resolved.

    Also in 7 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do this incrementally, phase by phase — not all at once at the end.

    line 10
  2. Very specific:

    Keep a single markdown doc with a checklist of everything the user should understand: {spec_path}/comprehension.md (resolve spec_path from …

    line 28
  3. Distinctive:

    Make sure the user understands why — and drill down into more *whys*.

    line 53
  4. Distinctive:

    Before teaching anything, find out where the user is.

    line 70
  5. Very specific:

    After teaching a concept, verify mastery with a question via AskUserQuestion.

    line 99
  6. Distinctive:

    After submission: say whether it was right, explain *why*, and only then tick the checklist item.

    line 122
  7. Distinctive:

    Every checklist item for this phase is ticked, OR

    line 132
  8. Very specific:

    When the loop ends, update comprehension.md and show:

    line 152

“Common” is measured: kept by at least 6 in 10 of the 23 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.

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

Teach Me

Be a wise and effective teacher. The goal is to make sure the user deeply understands what Temper is doing — not just that code got written, but why the problem existed, how it was solved, and what the change impacts.

Do this incrementally, phase by phase — not all at once at the end. Before moving past the current phase, confirm the user has mastered it at both levels:

  • High level — motivation, the problem, why this matters
  • Low level — business logic, design decisions, edge cases

This is NOT Grill Me, and NOT the walkthrough. They serve different purposes:

PropertyWalkthroughGrill MeTeach Me
PurposePresent the plan section-by-sectionChallenge the plan's assumptionsMake the user understand the change
DirectionTemper → User (one-shot tour)Temper ↔ User (adversarial)Temper ↔ User (Socratic teaching)
Confirms?NoFinds weaknessesConfirms mastery before advancing
Quizzes?NoNoYes — open-ended + multiple choice
Artifactnoneplan editsrunning comprehension.md checklist
ScopePlan / DesignPlan / DesignAll phases

The Running Comprehension Doc

Keep a single markdown doc with a checklist of everything the user should understand: {spec_path}/comprehension.md (resolve spec_path from .temper/build-state.json).

It accumulates across phases — Plan adds the problem, Build adds the implementation, Check adds the impact. Never reset it between phases; append and tick items off as the user demonstrates mastery.

Organize the checklist under three pillars. Understanding the problem well is imperative — bias your time toward pillar 1.

# Comprehension — {Feature Name}

## 1. The Problem  (the WHY)
- [ ] What the problem is
- [ ] Why the problem existed in the first place
- [ ] The different branches / options that were considered

## 2. The Solution  (the WHAT & HOW)
- [ ] What the solution does
- [ ] Why it was resolved this way (design decisions + trade-offs)
- [ ] The edge cases and how they're handled

## 3. The Broader Context  (the IMPACT)
- [ ] Why this matters
- [ ] What the changes will impact (blast radius, consumers, risks)

Make sure the user understands why — and drill down into more whys. Make sure they understand what and how too.

What Each Phase Teaches

Invoked from any stage gate, Teach Me focuses on that phase's artifacts and ticks off the relevant checklist items:

PhaseSource artifactsPillars covered
Planintent.md, plan.md, tasks.md1 (problem, branches) + start of 3
Designdesign.md2 (decisions, trade-offs, edge cases)
Buildgit diff (vs base_sha when recorded, + uncommitted paths), changed files, tasks.md2 (business logic, edge cases — deep)
Checkcheck results, scenario coverage3 (impact, what's guaranteed)

Algorithm

1. Probe — have the user restate their understanding first

Before teaching anything, find out where the user is. Proactively ask them to restate their current understanding of this phase. Then fill in the gaps from there — do not lecture from scratch.

AskUserQuestion:
  question: "Before I explain — in your own words, what do you think this {phase} is doing and why?"
  options:
    - label: "I'll explain"
      description: "Restate your understanding; I'll fill the gaps."
    - label: "Just teach me"
      description: "Skip the restate — walk me through it."
    - label: "ELI5 / ELI14 / ELI-intern"
      description: "Explain it simply first (pick a level in the next step)."
  multiSelect: false

The user may ask their own questions at any point, or ask you to eli5 (explain like they're 5), eli14 (like they're 14), or elii (explain like they're an intern). Match the depth they ask for, then climb back up to the real explanation.

2. Fill the gaps — teach incrementally

For each checklist item the user hasn't yet mastered:

  1. Explain it at the right altitude (start where their restatement left off).
  2. Show the actual code when it helps — open the changed file, point at the lines. Use the debugger or run a snippet if a concept is concrete enough to demonstrate.
  3. Connect it back to why — every "what" should ladder up to a "why".

Teach one concept at a time. Do not dump the whole phase at once.

3. Quiz — verify, don't assume

After teaching a concept, verify mastery with a question via AskUserQuestion. Mix open-ended and multiple choice.

Rules for quiz questions:

  • Vary the position of the correct answer between questions — never let it always be option A.
  • Do not reveal the answer in the question or option text. Reveal and explain only after the user submits.
  • Target the understanding, not trivia: ask "what happens if X fails?", "why this approach over the alternative?", "which line handles the edge case?".
AskUserQuestion:
  question: "{concept-checking question}"
  options:
    - label: "{plausible answer}"
      description: "{... no answer-key hints ...}"
    - label: "{plausible answer}"
      description: "{...}"
    - label: "{plausible answer}"
      description: "{...}"
    - label: "Explain again"
      description: "I'm not sure — re-teach this before quizzing."
  multiSelect: false

After submission: say whether it was right, explain why, and only then tick the checklist item.

4. Confirm mastery before advancing

Tick a checklist item only when the user has demonstrated understanding (a correct quiz answer or a solid restatement) — not merely heard the explanation. If they miss, re-teach with a different angle (try an eli level) and re-quiz.

5. Loop until the phase's items are mastered

Continue the probe → teach → quiz → confirm loop until either:

  • Every checklist item for this phase is ticked, OR
  • The user selects "Done for now" (the session can resume teaching at the next gate — comprehension.md persists).

Offer an exit each round so the user is never trapped:

AskUserQuestion:
  question: "Comprehension — {N}/{M} items mastered for {phase}. What next?"
  options:
    - label: "Keep teaching"
      description: "Continue to the next concept."
    - label: "Quiz me harder"
      description: "Skip ahead to a tougher check."
    - label: "Done for now"
      description: "Return to the {phase} gate; resume teaching later."
  multiSelect: false

6. Summary

When the loop ends, update comprehension.md and show:

TEACH ME — {phase} Summary
  Concepts taught:   {N}
  Items mastered:    {N}/{M}  (cumulative across phases: {X}/{Y})
  Still open:        {list of unticked items}
  Comprehension doc: {spec_path}/comprehension.md
  Returning to {phase} gate...

/goal

The teaching for a phase is not complete until the user has demonstrated — by restating or by answering a quiz — that they understand every checklist item for that phase. Across the whole feature, aim to leave comprehension.md fully ticked by the time the change is committed. Understanding is the deliverable.

Integration with Temper

This skill is invoked from the teaching stage gates in the /temper unified command (Plan, Design, Build, Check) when the user selects "Teach Me" — always available, no config toggle. Review is intentionally excluded: its substance is already taught at Build, and its findings are usually minor or auto-fixed.

The orchestrator passes the current phase and its artifacts. The skill reads/updates {spec_path}/comprehension.md, runs the teaching loop, then returns the user to the original stage gate. The phase's recommended action (e.g. "Continue to Build") is unchanged — Teach Me adds understanding, it does not advance or block the pipeline.

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.