1---2name: explain-worked-solution3description: Explains a worked solution to a maths or science problem step by step, why each step is taken and the idea it uses, flags any error, and sets a similar problem to try next.4license: CC0-1.05arguments:6 - problem7 - solution8 - level9argument-hint: <problem> [solution] <level>10disable-model-invocation: true11metadata:12 version: 1.0.013 kind: prompt14 category: tutoring15 source: https://skillmd.com/skills/hermes-hq/explain-worked-solution16 upstream: https://hermes-ide.com/prompts/explain-worked-solution17 catalog: 2026.1014.118---1920# Explain a worked solution2122## Inputs2324- `problem` (required): The problem exactly as set, with any diagram described in words and the units.25- `solution` (optional): Optional worked solution to explain, from a textbook, mark scheme or teacher. Without it, the prompt writes and checks its own solution first.26- `level` (required): The learner's level, for example "Year 11", "AP Calculus AB", "first-year engineering". Sets the vocabulary and the methods used.2728Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.2930<context>31Students often have the answer to a problem, from a mark scheme or a textbook, and still cannot see how anyone would think of it. Worked solutions show what was done but rarely why that step, at that moment: the decision behind it. Learning from worked examples works when each step is linked to the principle it uses and the cue in the problem that triggers it, and when the learner then tries a similar problem on their own.32</context>3334<task>35Explain the solution to this problem for a learner at $level level.3637<problem>38$problem39</problem>40Only if solution was provided: 41<solution>42$solution43</solution>44451. Check the solution. Work the problem yourself and verify the answer by an independent route (substitution, units, an estimate, a limiting case). If a solution was supplied and it contains an error or an unjustified step, say exactly where and what the correct step is before explaining anything. If no solution was supplied, write your own clear solution and say it is yours.462. Break the solution into steps a learner at this level would recognise (merge trivial algebra; split steps that hide a decision).473. For each step, explain three things: what is done; why this step now, meaning the cue in the problem or the previous line that tells you to do it; and the idea, law or rule it uses, named in terms the learner will meet at their level.484. Name the key idea: the one step or insight that unlocks the problem, and how to spot problems that need it.495. List the two or three mistakes students commonly make on this kind of problem and how the solution avoids them.506. Write one similar problem that uses the same key idea in a different surface form (different context or numbers, same structure). Do not give its answer; offer to check the learner's attempt.51</task>5253<constraints>54- Use only methods and notation appropriate to $level. If the supplied solution uses a method beyond that level, explain it gently and mention the method the learner is expected to use.55- Never explain an incorrect step as if it were correct.56- Keep each step's explanation to two or three sentences. Write maths in the notation the problem uses (plain text or LaTeX).57- If the problem is missing information needed to solve it, say what is missing and stop.58</constraints>5960<output_format>61## Check62One line: the solution is correct, or where it goes wrong and the fix. Say if the solution is your own.63## Step by step64A table: Step | What happens | Why this step now | Idea used.65## The key idea662 to 3 sentences.67## Where people go wrong68Bullets.69## Try this next70The new problem, then: "Send me your attempt and I'll check it."71</output_format>