Task 1 作文批改
分析图表题与作文,按教师批改风格生成并校验批改文档。
在本地 Agent 使用
所属 Skill:ielts-writing-review
Workflow Prompt
IELTS Task 1 Review
当当前学习任务需要本方法时按需读取。脚本命令中的
scripts/相对于本 Skill 根目录;执行时解析为安装目录中的绝对路径。
This workflow covers IELTS Academic Writing Task 1 only. Do not apply chart, map, table, or process criteria to General Training letters.
Core Rule
Analyze the visual prompt before correcting the student's writing. For Task 1, accurate chart/table/map/process understanding is part of Task Achievement, so do not polish language before identifying the main features.
Requested document output
When the learner requests a Word review, deliver a validated reviewed .docx; otherwise provide the review in conversation.
- Inspect the visual and student answer.
- Build the teacher-style review plan from the bundled references, the visual facts, and the student's answer.
- Generate the reviewed DOCX with
scripts/ielts-task1-review/create_and_validate_task1_review.pyfor DOCX input, orscripts/ielts-task1-review/create_task1_review_docx.pyfollowed by the validator for pasted text. - Return the absolute path to the final reviewed DOCX. For a requested document, do not stop after presenting review text or JSON.
- If validation fails, fix the review plan or document and rerun validation before delivery.
IELTS Buddy Data Hand-off
IELTS Buddy currently exposes read-only writing records to external Agents. Keep local feedback and DOCX locally; formal submission and revisions remain in the browser.
Do not use a server operation that runs another teacher-style review. For rewrites, use ../writing-revision-loop/WORKFLOW.md locally; formal browser submissions remain user-owned.
When the learner asks to keep useful corrections or expressions, follow 批改表达进入词汇本. Select evidence-backed reusable chunks and call ielts_vocabulary_add with kind="word" and items: [{text, meaning}] when the learner requests saving them.
Use these references in order:
- Read
references/visual_analysis_protocol.mdto inspect the visual. - Read
references/teacher_style.mdfor Task 1 teacher-style marking. - Read
references/scoring_guide.mdbefore scoring. - Use
references/review_format.mdfor DOCX layout and cleanup rules.
Workflow
- Identify the prompt, embedded image, and student answer.
- For
.docx, extract embedded images withscripts/ielts-task1-review/extract_docx_images.py. - Inspect the extracted image directly before reviewing. This is mandatory: never score or rewrite a Task 1 answer from the text alone.
- For
.docx, also runscripts/ielts-task1-review/extract_task1_input.pyso the review plan can distinguish prompt text from student answer paragraphs. - For pasted text, require an image attachment or image path.
- For
- Build an internal visual facts note.
- Identify visual type, units, categories, time periods, axes, legends, stages, and key values.
- Identify overview-level features before local details.
- Keep this note internal unless the user explicitly asks to see it.
- Check the student's Task Achievement.
- Mark inaccurate chart type, wrong units, missing overview, wrong key feature selection, inaccurate values, or irrelevant details in comments.
- Calibrate comment style before writing comments.
- Use
references/teacher_style.mdfor short anchored comments and realistic Band 7.5 rewrites. - Classify the new task as bar chart, line graph, table, pie chart, map, process, or mixed visual so the comments target the right Task Achievement issues.
- Use
- Split the answer into review units.
- Use sentence-level units for grammar, articles, plural forms, data phrasing, collocation, and formal wording.
- Use paragraph-level units for overview errors, poor grouping, data misreading, map/process sequencing, or missing comparisons.
- Add teacher-style comments.
- Use short Simplified Chinese comments anchored to specific English words or phrases.
- Use comments like
图表类型要写具体:bar chart,要说明是比例,有点重复,更正式,这里加逗号,这句已经在总览里说过.
- Add italic rewrites after relevant units.
- Rewrites must be concise, formal, data-accurate, and at a stable Band 7.5 standard.
- Keep rewrites learnable and close to the student's intended meaning; do not turn local fixes into over-complex Band 9 wording.
- Score the student's original answer strictly using
references/scoring_guide.md.- Score with bilingual learner-facing labels: 任务完成度 Task Achievement, 连贯与衔接 Coherence & Cohesion, 词汇资源 Lexical Resource, 语法多样性与准确性 Grammatical Range & Accuracy, and 总分参考 Overall.
- For this teacher-style educational review, criterion scores and the estimated overall score may use whole or half bands, such as
6,6.5, or7. Use.5when the original answer sits between adjacent scoring anchors; do not force criterion scores to integers.
- Give concise Band 7.5 / 8.0-oriented feedback.
- Mention blockers preventing stable Band 7.5 first.
- Then mention the most useful move toward 8.0.
- Write a 150-200 word model answer at a stable Band 8.0 standard.
- Use exactly four paragraphs:
- Introduction: paraphrase the task prompt.
- Overview: begin with
Overalland summarize the main features. - Body paragraph 1: report the first logical group of details.
- Body paragraph 2: report the second logical group of details.
- Leave one blank line between model answer paragraphs in the output DOCX.
- Align it with the visual and the scoring guide.
- Correct any inaccurate visual interpretation.
- It must be strong enough for Band 8.0: skilful key feature selection, clear overview, logical grouping, precise data language, natural comparisons, well-managed cohesion, and mostly error-free grammar.
- Keep it realistic and teacher-like, not an over-complex Band 9 answer.
- Generate and validate a reviewed
.docxby default.
- For input
MyAnswer.docx, outputMyAnswer(reviewed).docxin the same folder unless the user specifies another path. - For DOCX input, create the reviewed file by copying the original DOCX first.
- Write comments directly into the copied original answer paragraphs; do not create a second copy of the student's answer for comments.
- Insert italic rewrites immediately after the matched original answer paragraph.
- Keep the original prompt and embedded visual in place; do not repeat the task prompt or image.
- For pasted text, output to the current user's Desktop as
IELTS_Task1_Reviewed_YYYYMMDD_HHMM.docx. - Use Times New Roman for all added review text and comments.
- Use
Cyber Esmeas the Word comment author. - Do not include a visible
Visual Factssection unless the user asks for it or--include-visual-factsis intentionally used. - Do not add big visible section headings such as
Task,Reviewed Answer,Score, orModel Answer. - Preserve the original
word/document.xmlroot namespace declarations andmc:Ignorable; do not leave undeclared prefixes such asw14,w15,w16*, orwp14. - Insert a page break before the score and feedback page; keep the score lines and
冲刺 Band 7.5 / 8.0together; insert another page break before the model answer. - Never overwrite the original answer unless explicitly requested.
- Clean up temporary byproducts after a successful review.
- Delete temporary files such as
review_plan_*.json, extracted scratch images, and unpacked DOCX folders. scripts/ielts-task1-review/extract_docx_images.pycreates a unique系统临时目录/ielts_task1_images_*directory by default; delete that scratch directory after validation.- Do not delete source answers, final reviewed DOCX files, or bundled reference files.
Bundled Resources
references/visual_analysis_protocol.md: checklist for charts, tables, maps, processes, and mixed visuals.references/teacher_style.md: Task 1 teacher-style rules for concise anchored comments and rewrites.references/scoring_guide.md: concise, repository-owned Task 1 scoring guide.references/review_format.md: canonical reviewed document structure.scripts/ielts-task1-review/extract_docx_images.py: extract visual prompts from new input DOCX files to a unique scratch directory by default.scripts/ielts-task1-review/extract_task1_input.py: extract prompt, student answer, and student answer paragraph indices from a Task 1 DOCX.scripts/ielts-task1-review/create_task1_review_docx.py: create a reviewed DOCX from a JSON review plan; DOCX input is copied first, comments are anchored into extracted student answer paragraphs, and score/model sections are appended.scripts/ielts-task1-review/create_and_validate_task1_review.py: create a reviewed DOCX, validate it, and clean extracted scratch images in one command.scripts/ielts-task1-review/validate_task1_review_docx.py: verify comments, italic rewrites, student-answer paragraph comment anchoring when--input-docxis supplied, root namespace compatibility, page breaks, font, author, score lines, retained冲刺 Band 7.5 / 8.0title, removed old headings, and model answer length/four-paragraph structure.
JSON Review Plan For DOCX Creation
When using scripts/ielts-task1-review/create_task1_review_docx.py, first produce a JSON file with this shape:
{
"prompt": "Task prompt or visual prompt summary",
"student_answer_paragraph_indices": [4, 6, 8, 10],
"visual_facts": ["Internal visual facts used for accuracy. These are not shown in the DOCX by default."],
"review_units": [
{
"original": "Student sentence or paragraph.",
"comments": [{"target": "specific phrase", "text": "中文短批注"}],
"rewrite": "Italic teacher-style improvement."
}
],
"scores": {
"任务完成度 Task Achievement": "6.5",
"连贯与衔接 Coherence & Cohesion": "7",
"词汇资源 Lexical Resource": "6.5",
"语法多样性与准确性 Grammatical Range & Accuracy": "6.5",
"总分参考 Overall": "6.5"
},
"score_explanation": ["基于原文证据的简短中文评分说明。"],
"focus_feedback": ["优先修正总览准确性和自然比较表达。"],
"model_answer": [
"Paragraph 1: introduction/paraphrase.",
"Paragraph 2: Overall ...",
"Paragraph 3: first detail group.",
"Paragraph 4: second detail group."
]
}
Scores are teacher-style estimates for the review output, so each criterion and Overall may be a whole band or a half band.
Then run:
python scripts/ielts-task1-review/create_task1_review_docx.py review_plan.json --input-docx MyAnswer.docx --cleanup-plan
python scripts/ielts-task1-review/validate_task1_review_docx.py "MyAnswer(reviewed).docx" --input-docx MyAnswer.docx
For a DOCX workflow with automatic image scratch cleanup, run:
python scripts/ielts-task1-review/create_and_validate_task1_review.py review_plan.json --input-docx MyAnswer.docx
If the review plan is a permanent example/reference file, omit --cleanup-plan. Use --include-visual-facts only when the user explicitly asks to see the visual facts note in the reviewed DOCX.
Quality Bar
- The visual must be inspected before scoring or rewriting.
- Comments must stay within the extracted student answer paragraphs; prompt text and image captions are not valid anchor targets.
- The reviewed DOCX must contain real Word comments, not bracketed notes.
- Important Task Achievement issues must be commented first.
- Italic rewrites must be data-accurate and written at a stable Band 7.5 standard.
- The score must evaluate the original answer.
- The model answer must be exactly 4 paragraphs with one blank line between paragraphs, 150-200 words, and should stand securely at Band 8.0 according to the scoring guide.
- The style should follow
references/teacher_style.md, not a generic IELTS tutor voice. - Record locally judged criterion evidence as
rubricwith canonical Writing codes from../skill-taxonomy.json; keep band estimates and cited text in event details.