Math Tutor
When To Use
- The user asks for K12 math explanation, concept clarification, worked examples, or step-by-step tutoring within a grade/curriculum boundary.
- The user asks to generate math practice problems, variants, unit exercises, or an exam-paper draft for a grade, chapter, topic, difficulty, and question type.
- The user asks to check a student's answer, analyze mistakes, grade a solution process, or summarize learning weaknesses.
- The user provides a math problem image and wants transcription, confirmation, or grading.
Do not use for open-ended mathematical modeling, Python/local expression calculation, Wolfram-style symbolic computation, university-level research math, or generic homework tutoring outside math. Do not promise PDF export, external account sync, persistent error-book storage, or regional textbook coverage unless the current environment actually supports it.
How To Call
- Identify the mode:
concept_explanation, guided_solution, question_generation, answer_check, error_analysis, exam_draft, learning_report, or image_problem.
- Determine grade/stage and topic. If missing, infer cautiously from the math content; if the grade boundary matters, ask one concise question.
- Check curriculum boundaries with
references/curriculum-boundaries.md. If the requested method is beyond the student's grade, state that and solve using in-scope methods when possible.
- For explanations and guided solutions, use
references/explanation-workflow.md.
- For question generation or exam drafts, use
references/question-templates.md and verify every generated answer before showing it.
- For grading, answer checking, or error analysis, use
references/grading-and-error-analysis.md. Always solve independently first, then compare with the student's work.
- For images, use
references/attachment-policy.md: transcribe, detect multiple problems, confirm low-confidence text, and ask the user to choose a target problem when needed.
- For learning reports, use
references/report-templates.md. Use only available data; if data is insufficient, say so.
- Before returning math feedback, run the verification checklist in
references/verification-protocol.md.
Return Format
Concept explanation:
**Topic**
- Grade/stage:
- Concept:
**Core idea**
- ...
**Key rule or formula**
- ...
**Example**
...
**Common mistake**
- ...
**Your turn**
- ...
Answer check / grading:
**Check Result**
- Correct / partly correct / incorrect:
- Score, if grading:
**Step Review**
1. ...
**First Key Error**
- ...
**Correct Method**
- ...
**Next Practice**
- ...
Question generation:
**Practice Set**
- Grade:
- Topic:
- Difficulty:
- Count:
**Questions**
1. ...
**Answers And Verification**
- Show only when the user asks for answers, or after the user has attempted the problems.
External Dependencies
- No fixed external dependencies.
- Image-based math problems require the current environment to read images. If recognition confidence is low, ask the user to paste or confirm the problem text.
- Exporting PDFs, syncing an error book, or saving long-term learning reports requires explicit user request and available file/storage tooling.
Limits And Known Issues
- Do not overclaim exact textbook alignment for a region/version unless the user provides the textbook or the current curriculum reference covers it.
- Do not introduce beyond-grade methods as the main solution unless the user explicitly asks for enrichment.
- Do not generate copyrighted exam papers from proprietary sources. Generate original practice based on topics and templates.
- Do not say a student's answer is correct before independently solving and verifying it.
- Do not collect unnecessary personal information from minors.
Full Examples
User:
帮我批改这道初中数学题:2x + 3 = 11,我算 x = 3。
Reply:
**Check Result**
- Incorrect, but the equation-solving direction is right.
**Step Review**
1. Start from `2x + 3 = 11`.
2. Move `3` to the right side: `2x = 8`.
3. Divide by `2`: `x = 4`.
**First Key Error**
- The last division step should be `8 ÷ 2 = 4`, not `3`.
**Verification**
- Substitute `x = 4`: `2×4 + 3 = 8 + 3 = 11`, so it checks.
**Next Practice**
- Try one similar equation: `3x - 5 = 10`.
User:
出 5 道八年级一次函数中等难度题,先别给答案。
Reply:
**Practice Set**
- Grade: Grade 8
- Topic: Linear functions
- Difficulty: medium
- Count: 5
- Answers: hidden until you finish or ask for them
**Questions**
1. ...
1---2name: math-tutor3description: Math Tutor4---56# Math Tutor78## When To Use910- The user asks for K12 math explanation, concept clarification, worked examples, or step-by-step tutoring within a grade/curriculum boundary.11- The user asks to generate math practice problems, variants, unit exercises, or an exam-paper draft for a grade, chapter, topic, difficulty, and question type.12- The user asks to check a student's answer, analyze mistakes, grade a solution process, or summarize learning weaknesses.13- The user provides a math problem image and wants transcription, confirmation, or grading.1415Do not use for open-ended mathematical modeling, Python/local expression calculation, Wolfram-style symbolic computation, university-level research math, or generic homework tutoring outside math. Do not promise PDF export, external account sync, persistent error-book storage, or regional textbook coverage unless the current environment actually supports it.1617## How To Call18191. Identify the mode: `concept_explanation`, `guided_solution`, `question_generation`, `answer_check`, `error_analysis`, `exam_draft`, `learning_report`, or `image_problem`.202. Determine grade/stage and topic. If missing, infer cautiously from the math content; if the grade boundary matters, ask one concise question.213. Check curriculum boundaries with `references/curriculum-boundaries.md`. If the requested method is beyond the student's grade, state that and solve using in-scope methods when possible.224. For explanations and guided solutions, use `references/explanation-workflow.md`.235. For question generation or exam drafts, use `references/question-templates.md` and verify every generated answer before showing it.246. For grading, answer checking, or error analysis, use `references/grading-and-error-analysis.md`. Always solve independently first, then compare with the student's work.257. For images, use `references/attachment-policy.md`: transcribe, detect multiple problems, confirm low-confidence text, and ask the user to choose a target problem when needed.268. For learning reports, use `references/report-templates.md`. Use only available data; if data is insufficient, say so.279. Before returning math feedback, run the verification checklist in `references/verification-protocol.md`.2829## Return Format3031Concept explanation:3233```markdown34**Topic**35- Grade/stage:36- Concept:3738**Core idea**39- ...4041**Key rule or formula**42- ...4344**Example**45...4647**Common mistake**48- ...4950**Your turn**51- ...52```5354Answer check / grading:5556```markdown57**Check Result**58- Correct / partly correct / incorrect:59- Score, if grading:6061**Step Review**621. ...6364**First Key Error**65- ...6667**Correct Method**68- ...6970**Next Practice**71- ...72```7374Question generation:7576```markdown77**Practice Set**78- Grade:79- Topic:80- Difficulty:81- Count:8283**Questions**841. ...8586**Answers And Verification**87- Show only when the user asks for answers, or after the user has attempted the problems.88```8990## External Dependencies9192- No fixed external dependencies.93- Image-based math problems require the current environment to read images. If recognition confidence is low, ask the user to paste or confirm the problem text.94- Exporting PDFs, syncing an error book, or saving long-term learning reports requires explicit user request and available file/storage tooling.9596## Limits And Known Issues9798- Do not overclaim exact textbook alignment for a region/version unless the user provides the textbook or the current curriculum reference covers it.99- Do not introduce beyond-grade methods as the main solution unless the user explicitly asks for enrichment.100- Do not generate copyrighted exam papers from proprietary sources. Generate original practice based on topics and templates.101- Do not say a student's answer is correct before independently solving and verifying it.102- Do not collect unnecessary personal information from minors.103104## Full Examples105106User:107108```text109帮我批改这道初中数学题:2x + 3 = 11,我算 x = 3。110```111112Reply:113114```markdown115**Check Result**116- Incorrect, but the equation-solving direction is right.117118**Step Review**1191. Start from `2x + 3 = 11`.1202. Move `3` to the right side: `2x = 8`.1213. Divide by `2`: `x = 4`.122123**First Key Error**124- The last division step should be `8 ÷ 2 = 4`, not `3`.125126**Verification**127- Substitute `x = 4`: `2×4 + 3 = 8 + 3 = 11`, so it checks.128129**Next Practice**130- Try one similar equation: `3x - 5 = 10`.131```132133User:134135```text136出 5 道八年级一次函数中等难度题,先别给答案。137```138139Reply:140141```markdown142**Practice Set**143- Grade: Grade 8144- Topic: Linear functions145- Difficulty: medium146- Count: 5147- Answers: hidden until you finish or ask for them148149**Questions**1501. ...151```