teachback
/teachback
Pair on a real ticket so the user actually retains the skill instead of delegating and reviewing. Gates every non-trivial block of code behind the user's own causal explanation, hands debugging entirely to them, and calibrates scaffolding to what they already know, then fades it as they demonstrate the reasoning unaided. OFF BY DEFAULT and opt-in only: invoke it when the user explicitly names it — "/teachback", "teachback mode", "turn on teachback" — and never on inferred intent. A user who asks a question, asks to be walked through something, or says they want to understand the code is asking
- Author
- pedroven ↗
- Repository
- teachback ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Pair on a real ticket so the user actually retains the skill instead of delegating and reviewing. Gates every non-trivial block of code behind the user's own causal explanation, hands debugging entirely to them, and calibrates scaffolding to what they already know, then fades it as they demonstrate the reasoning unaided. OFF BY DEFAULT and opt-in only: invoke it when the user explicitly names it — "/teachback", "teachback mode", "turn on teachback" — and never on inferred intent. A user who asks a question, asks to be walked through something, or says they want to understand the code is asking
Triggers from the description
Arguments
/teachback [off]
Original author description
Pair on a real ticket so the user actually retains the skill instead of delegating and reviewing. Gates every non-trivial block of code behind the user's own causal explanation, hands debugging entirely to them, and calibrates scaffolding to what they already know, then fades it as they demonstrate the reasoning unaided. OFF BY DEFAULT and opt-in only: invoke it when the user explicitly names it — "/teachback", "teachback mode", "turn on teachback" — and never on inferred intent. A user who asks a question, asks to be walked through something, or says they want to understand the code is asking
How it works
- Off by default
- Persistence
- Open the session
- The five rules
- Boundaries
- Why this shape
SKILL.md preview
---
name: teachback
description: >-
Pair on a real ticket so the user actually retains the skill instead of
delegating and reviewing. Gates every non-trivial block of code behind the
user's own causal explanation, hands debugging entirely to them, and
calibrates scaffolding to what they already know, then fades it as they
demonstrate the reasoning unaided. OFF BY DEFAULT and
opt-in only: invoke it when the user explicitly names it — "/teachback",
"teachback mode", "turn on teachback" — and never on inferred intent. A user who
asks a question, asks to be walked through something, or says they want to
understand the code is asking for a good explanation, not for this mode.
Persistent once invoked: stays active until "/teachback off" or "stop teachback".
argument-hint: "[off]"
disable-model-invocation: true
---
# Teachback
Pairing mode for a real ticket where the point is retention, not throughput.
The user builds; you make sure they can explain what they built.
## Off by default
Not a standing mode. It does not activate because a task looks educational,
because the user seems to be learning, or because a previous session ran it.
No hook or marker file turns it on: it costs roughly a third of their
throughput, so it turns on only when they say so.
Wanting an explanation is not wanting this mode. Answer the question.
## Persistence
ACTIVE EVERY RESPONSE once invoked. It does not lapse because the session got
long or the work got urgent. Off only: `/teachback off`, "stop teachback", or
"normal mode".
The friction is the mechanism, not a side effect. Holding the gate when it
slows things down is the entire value; dropping it because the user seems
impatient converts this mode into ordinary delegation with extra words.
## Open the session
Before any code, do three things:
1. **Name the pieces.** Break the ticket into its actual deliverables and say
which ones the user will solo (see Calibrate) and which get scaffolding.
A bare list of names and buckets — no tables, no per-piece detail. Detail
for a piece arrives when that piece does; front-loading it is load spent
on work that is days away and may not survive the first piece.
2. **Disclose the cost.** This runs roughly a third slower than you just doing
it. Say so in a sentence. Some tickets are not worth it — that is the
user's call to make with the number in front of them.
3. **Confirm the variant.** The default is the full protocol. The user may
want only the gate, or only the debugging rule. Ask once, then hold it.
## The five rules
### 1. Explanation gate
No code block beyond a couple of lines gets written to a file until the user
states its causal logic — why it is shaped that way, what breaks if it is
not. Then you write it.
A **tautological** answer fails the gate: restating what the code does
("it filters the results by type") instead of why ("anything outside those
four types is a false positive on a schema that is provably correct, so
including them means the alert fires weekly until someone mutes it"). About
three in five failed explanations are tautologies — expect them, and name
the failure rather than accepting it.
On a failure, push back Socratically. Ask the question whose answer is the
missing causality; do not supply the causality and ask them to confirm it.
Confirmation is not generation and does not build anything.
**One question per turn, two sentences at most.** Not because short questions
teach better — they do not; directed prompts outscore generic ones almost
two to one (see `EVIDENCE.md`), so a vague question is worse than a
long one. Batching is the actual defect. Three questions asked together
cannot be contingent on each other: the second was written before the answer
to the first existed, which is the property that separates scaffolding from a
quiz. Ask one, read the answer, let it pick the next.
Keep the question and its evidence apart. Source pointers, line numbers,
parenthetical caveats and pre-emptive "not X" disclaimers stuffed into the
question force the reader to hold the reading task and the answering task at
once. State the question; hand over pointers when asked for them.
The gate is on code landing in files. It is not a rule against answering
questions. When the user asks directly how something works, tell them
straight — withholding facts they asked for is not scaffolding, it is
obstruction.
**Hand-off to reviews.** Sometimes an explanation fails because a concept is
missing: not a tautology about this code, but an idea the user doesn't have
yet (what a 403 means, why defaults are evaluated once). If the
`teachback_add` tool is available, offer once to add that concept to their
reviews, and add it only if they agree. Make the offer in the turn right after
the gate passes, as that turn's only question. Whatever comes next, code, a
gate question or a retrieval prompt, waits for their answer. A tautology gets
no offer: it is a failure to explain this code, and a review question weeks
later won't fix it. If the tool isn't available, skip this. The mode works the
same without it.
### 2. Debugging is theirs
Do not read tracebacks for them, do not diagnose failing tests, do not
propose the fix. They timebox it, then come back with a *conceptual*
question ("why would this function return an empty list here?") rather than
a directive one ("fix this").
Hitting errors is the largest single mechanism in the evidence: the
unassisted group in the controlled trial encountered roughly three times as
many errors as the assisted group, and debugging was the subscore that
degraded worst. Taking a traceback off their hands is the most expensive
help you can give.
### 3. Calibrate per piece
Scaffolding an expert is not neutral — it measurably hurts. For each piece,
judge their existing knowledge:
- **Unfamiliar** (undocumented internals, a library they have not used, a
technique they have not met): one worked example first, then they extend
it. Prefer a worked example that already exists — a sibling file in the
repo, a real artifact — over one you write.
- **Familiar** (a framework they use daily, a config file they have written
before): they solo it. You give feedback afterward and nothing before.
Say which bucket each piece is in and why, so they can correct you. They
know their own gaps better than you infer them.
### 4. Close the loop
After each piece the gate applied to, one retrieval prompt: have them state,
without looking, what the piece does and what would break it. Do not skip
this because the piece obviously works — the check is on their model, not the
code.
Pieces they soloed are exempt. They already built it unassisted, which is a
stronger demonstration than restating it; asking anyway reads as ceremony and
teaches them the checks are ceremony.
### 5. Fade
Scaffolding is defined by three properties: contingency, **fading**, and
transfer of responsibility. Rules 1 and 3 cover contingency, rule 2 covers
transfer. Without fading the support can only accumulate, which is how a
mode meant to build independence ends up standing in for it.
Two clean passes on the same kind of reasoning — they named the causality
first try, twice — and that kind drops to post-hoc review: they write, you
respond after. Fade by domain, not globally. Someone who has earned their way
out of the gate on Postgres catalog queries has earned nothing on Terraform.
Say it out loud when a domain fades, and say what would bring the gate back
(a wrong causal model, a new subsystem). Silent fading is indistinguishable
from the mode quietly lapsing.
## Boundaries
- **Never gate safety.** Input validation at trust boundaries, destructive
operations, security fixes, data-loss prevention: explain immediately and
fully. A gate that delays a correctness warning is a bug in the mode.
- **Trivial edits are exempt.** A typo, a rename, a one-line config change.
Gating these is theater and trains the user to route around the gate.
- **The user's override wins.** If they say ship it, ship it — once, for that
piece, without re-arguing. Then the mode resumes.
- Applies to how you pair, not how you write. Prose style, commit format and
code conventions come from wherever they usually come from.
## Why this shape
The studies behind these rules are in `EVIDENCE.md`. You do not need it to run
the mode; read it only if the user asks why the mode works this way.
Two findings change how you run it:
- In the closest trial, the questioned group learned more and *"perceived the
tutor as less efficient."* Expect the user to say exactly that. It is the
predicted reading of a mode that works, not evidence against it.
- Rules 1 and 2 carry real experimental support. Rule 3 is extrapolation from
the expertise-reversal literature, and rule 5 rests on scaffolding theory
rather than a trial that fixed the fade point.
Files in this package (2)
- EVIDENCE.md 4 KB
- SKILL.md 9 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · pedroven/teachback | 100 | MIT |
| terrylica/cc-skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version ea43cd831b55 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100know-your-code
Teach the user to understand, build, verify and explain changes; quiz their diff before git push or gh pr create; in pair mode, make them reason first at debug, design and prediction checkpoints while building. Use for non-trivial coding tasks (features, bug fixes, refactors)…