Context Management 102: เขียน task briefContext Management 102: write a task brief
เปลี่ยนคำสั่ง AI ที่กว้างเกินไปให้เป็น task brief สั้น ชัด มี goal, audience, source, constraints และ output formatTurn a vague AI request into a compact task brief with goal, audience, source, constraints, and output format.
A task brief is a small document that tells AI what job it is doing.
It does not need to be fancy. It needs to remove guessing.
Bad prompt:
Make this better.
Better brief:
Task: Rewrite this onboarding email.
Goal: Make new workshop learners feel clear about what to do before class.
Audience: Thai professionals who are new to AI tools.
Source: Use the draft below.
Constraints: Friendly, direct, no hype, keep under 180 words.
Output: Thai email with subject line and bullet checklist.
The second version gives the model a job, a reason, a reader, source material, boundaries, and a target shape.
The task brief template
Use this template when the task matters:
Task:
Goal:
Audience:
Source:
Current state:
Constraints:
Output format:
Definition of done:
Ask first if:
You will not always need every field. For quick tasks, use only the first five. For important tasks, fill more.
Task
Write the task as a verb.
Good tasks:
- summarize these notes
- compare these two options
- review this draft for unsupported claims
- turn this transcript into action items
- create a lesson outline from this source
Weak tasks:
- thoughts?
- improve
- analyze
- help me
Weak tasks are not forbidden. They just force the model to choose the job for you.
Goal
The goal explains what success means.
Goal: Help a beginner decide what to do next, not teach every detail.
This changes the answer. Without the goal, the model may write a textbook when you need a decision memo.
Audience
Audience changes language, depth, examples, and assumptions.
Audience: Thai small-business owners who use LINE and Google Sheets but do not code.
That is much more useful than:
Audience: everyone.
If there are two audiences, say which one matters most.
Source
Source tells the model what it should trust.
Source: Use only the pasted policy below. Do not add outside assumptions.
or:
Source: Use the meeting notes as primary source. Use your general knowledge only for structure, not facts.
This matters when hallucination would be expensive.
Constraints
Constraints are rules for the work.
Examples:
Constraints:
- Thai first
- no sales language
- keep product names unchanged
- avoid claims about certificates
- include uncertainty if the source does not say something
Good constraints are concrete. Vague constraints like "make it professional" are less useful unless you explain what professional means here.
Output format
Output format prevents cleanup work.
Output format:
- Title
- 3-sentence summary
- Table: issue, why it matters, suggested fix
- Final recommendation
If you want Markdown, JSON, table, email, checklist, or slides, say so.
Definition of done
Definition of done tells the model how to judge completeness.
Definition of done:
The answer is ready to paste into a learner handout without extra restructuring.
This is especially useful for agents and longer tasks.
Ask first if
Use this field when a wrong assumption would be costly.
Ask first if:
- the source does not include the target audience
- the requested format conflicts with the content
- you need current facts that are not in the source
This prevents the model from confidently filling gaps that should be human decisions.
Practice: upgrade three prompts
Rewrite these into task briefs:
1. Make this copy better.
2. Summarize this meeting.
3. What should I do with this spreadsheet?
For each one, include:
Task:
Goal:
Audience:
Source:
Constraints:
Output format:
Task brief คือเอกสารสั้นที่บอก AI ว่ากำลังทำงานอะไร
ไม่ต้องสวยหรู ต้องลดการเดา
prompt ที่ไม่ดี:
ช่วยทำให้อันนี้ดีขึ้นหน่อย
brief ที่ดีกว่า:
Task: rewrite onboarding email นี้
Goal: ทำให้ learner รู้ชัดว่าต้องเตรียมอะไรก่อนเข้า class
Audience: professional คนไทยที่เพิ่งเริ่มใช้ AI tools
Source: ใช้ draft ด้านล่าง
Constraints: friendly, direct, ไม่ hype, ไม่เกิน 180 words
Output: email ภาษาไทย พร้อม subject line และ bullet checklist
แบบที่สองให้ job, เหตุผล, คนอ่าน, source, boundary และรูปแบบ output
template ของ task brief
ใช้ template นี้เมื่องานสำคัญ:
Task:
Goal:
Audience:
Source:
Current state:
Constraints:
Output format:
Definition of done:
Ask first if:
ไม่จำเป็นต้องใช้ทุก field ทุกครั้ง งานเร็วใช้แค่ห้าช่องแรกก็พอ งานสำคัญค่อยเติมมากขึ้น
Task
เขียน task เป็น verb
ตัวอย่าง task ที่ดี:
- summarize notes เหล่านี้
- compare options สองแบบนี้
- review draft นี้หา claim ที่ไม่มี evidence
- เปลี่ยน transcript เป็น action items
- สร้าง lesson outline จาก source นี้
task ที่อ่อน:
- thoughts?
- improve
- analyze
- help me
ไม่ใช่ว่าห้ามใช้ แต่ task แบบนี้บังคับให้ model เลือกงานแทนคุณ
Goal
goal อธิบายว่า success คืออะไร
Goal: ช่วย beginner ตัดสินใจ next step ไม่ใช่สอนทุก detail
สิ่งนี้เปลี่ยนคำตอบ ถ้าไม่มี goal model อาจเขียน textbook ทั้งที่คุณต้องการ decision memo
Audience
audience เปลี่ยนภาษา ความลึก ตัวอย่าง และ assumption
Audience: เจ้าของธุรกิจไทยที่ใช้ LINE และ Google Sheets แต่ไม่ได้เขียน code
มีประโยชน์กว่า:
Audience: ทุกคน
ถ้ามีสอง audience ให้บอกว่า audience ไหนสำคัญที่สุด
Source
source บอก model ว่าควรเชื่ออะไร
Source: ใช้ policy ที่ paste ด้านล่างเท่านั้น อย่าเติม assumption จากข้างนอก
หรือ:
Source: ใช้ meeting notes เป็น source หลัก ใช้ความรู้ทั่วไปได้เฉพาะจัด structure ไม่ใช่เติม fact
สำคัญมากเมื่องานที่ hallucinate แล้วเสียหาย
Constraints
constraints คือกฎของงาน
ตัวอย่าง:
Constraints:
- Thai first
- ไม่ใช้ sales language
- คงชื่อ product เดิม
- ห้าม imply เรื่อง certificate
- ถ้า source ไม่บอก ให้ระบุ uncertainty
constraint ที่ดีต้อง concrete คำกว้างอย่าง "professional" มีประโยชน์น้อย ถ้าไม่อธิบายว่า professional ในบริบทนี้คืออะไร
Output format
output format ช่วยลดงาน cleanup
Output format:
- Title
- Summary 3 ประโยค
- Table: issue, why it matters, suggested fix
- Final recommendation
ถ้าต้องการ Markdown, JSON, table, email, checklist หรือ slides ให้บอกตรงๆ
Definition of done
Definition of done บอก model ว่างานเสร็จแปลว่าอะไร
Definition of done:
คำตอบพร้อม paste เข้า learner handout โดยไม่ต้อง restructure เพิ่ม
มีประโยชน์มากกับ agent และงานยาว
Ask first if
ใช้ field นี้เมื่อ assumption ผิดแล้วเสียหาย
Ask first if:
- source ไม่มี target audience
- format ที่ขอขัดกับเนื้อหา
- ต้องใช้ fact ปัจจุบันที่ไม่มีใน source
ช่วยกัน model เติมช่องว่างแบบมั่นใจเกินไป
แบบฝึกหัด: upgrade prompt สามอัน
เขียนใหม่เป็น task brief:
1. ช่วยทำ copy นี้ให้ดีขึ้น
2. summarize meeting นี้
3. ฉันควรทำอะไรกับ spreadsheet นี้
แต่ละอันให้มี:
Task:
Goal:
Audience:
Source:
Constraints:
Output format:
เข้าสู่ระบบเพื่อบันทึกความคืบหน้าSign in to track your progress
เข้าสู่ระบบSign in→