Hãy tưởng tượng bạn vừa tuyển trợ lý mới. Monday sáng bạn nói: Cách A:
- Nhận diện prompt vague vs prompt clear & direct
- Bắt đầu prompt với action verb mạnh (Generate, Write, Analyze)
- Biết sự khác biệt giữa "hỏi" và "ra lệnh" — và vì sao ra lệnh hiệu quả hơn
- Đo improvement cụ thể khi áp dụng technique (2.3 → 3.9 trong case study)
Mở đầu: Đồng nghiệp mới cần chỉ dẫn rõ, không úp mở
Ừm, em biết không, kiểu như, anh đang nghĩ đến cái slide deck, về cái dự án mới, có lẽ làm sao đó cho thuyết phục khách hàng, em hiểu ý anh chứ?
Cách B:
Tạo slide deck 10 slide cho dự án Q2, audience là khách hàng enterprise, gửi draft cho anh trước 5pm thứ 4.
Trợ lý cách A: confused, có thể làm sai hướng. Trợ lý cách B: biết chính xác task, có thể bắt đầu ngay.
Claude y hệt. Prompt cách A → output vague. Prompt cách B → output clear, on-point.
Technique "Clear & Direct" — đầu tiên và quan trọng nhất trong prompt engineering — chính là rèn cách B.
2 nguyên tắc
1. CLEAR — Dùng ngôn ngữ đơn giản, không ambiguous
❌ Vague:
Tôi cần biết về những thứ mà người ta đặt trên mái nhà để dùng năng lượng mặt trời
cái gọi là solar panel ấy."
✅ Clear:
Giải thích cách solar panel hoạt động trong 3 đoạn.
Khác biệt:
- Dùng từ chính xác ("solar panel" thay vì "cái thứ trên mái")
- Độ dài cụ thể ("3 đoạn" thay vì "giải thích")
- Không fillers ("kiểu như", "ừm", "các bạn biết đấy")
2. DIRECT — Ra lệnh, không hỏi
❌ Questioning:
Em có thể liệt kê vài nước dùng năng lượng địa nhiệt không?
✅ Commanding:
Liệt kê 3 nước đang dùng năng lượng địa nhiệt, kèm số liệu GW công suất.
Mẹo:
- Bắt đầu với action verb: Viết, Tạo, Phân tích, So sánh, Extract, Summarize, Generate, Write...
- Không "Em có thể...", "Bạn nghĩ...", "Có lẽ..."
- Treat Claude như đồng nghiệp thông minh cần clear direction
Case study: Meal planner (từ bài 6.13)
v1 — Vague
prompt_v1 = f"What should this person eat?\n- Height: {h}\n- Weight: {w}\n..."
Score: 2.3/10
Vấn đề:
- "eat?" → Claude có thể trả lời "rice, protein" generic
- Không có action verb mạnh
- Không có constraint
v2 — Clear & Direct
prompt_v2 = f"""Generate a one-day meal plan for an athlete with these specifications:
- Height: {h} cm
- Weight: {w} kg
- Goal: {goal}
- Dietary restrictions: {restrictions}"""
Score: 3.9/10 (+70%)
Fix:
Generate— action verb mạnhone-day meal plan— output cụ thểathlete— context rõ- Format data clean
Key insight: Chỉ 1 dòng đầu thay đổi từ vague question sang clear command → score tăng 70%.
Danh sách action verbs mạnh
Generate / Create
- "Generate a JSON object..."
- "Create a plan for..."
- "Write a summary of..."
Analyze / Evaluate
- "Analyze the sentiment of..."
- "Evaluate the argument in..."
- "Compare options A and B..."
Extract / Parse
- "Extract all email addresses from..."
- "Parse this JSON and list..."
- "Identify the main claims in..."
Transform / Convert
- "Translate to English..."
- "Convert JSON to CSV..."
- "Rewrite in formal tone..."
Classify / Categorize
- "Classify this ticket as bug/feature/billing..."
- "Label each sentence positive/negative..."
Quy tắc: First word should be action verb. Second word should be object. Ví dụ: "Generate meal plan" (verb + object).
Before/After library
Ví dụ 1: Summary task
❌ Before:
Could you maybe tell me what this article is about?
✅ After:
Summarize the article in 3 bullet points, each under 15 words.
Ví dụ 2: Coding
❌ Before:
I'm trying to make a Python function to... I think it should... maybe?
✅ After:
Write a Python function
calculate_tax(income, bracket)that returns tax amount based on progressive brackets.
Ví dụ 3: Email
❌ Before:
Can you help me respond to this email?
✅ After:
Draft a reply to this email. Tone: professional but warm. Length: 100-150 words. Acknowledge their concern, explain delay, promise fix by Friday.
Ví dụ 4: Analysis
❌ Before:
What do you think about this idea?
✅ After:
Evaluate this startup idea on 3 dimensions: market size, competition, execution difficulty. Score each 1-5. Provide 1-sentence reasoning per dimension.
Case studies theo ngành
Content — SEO writer
Before:
Write something about Vietnam travel
After:
Write a 600-word SEO article about budget travel in Vietnam. Target keyword: 'vietnam travel on budget'. Include 5 H2 headings, 2 internal link opportunities, meta description < 160 chars.
Impact: Bounce rate giảm 30%, time-on-page tăng 2x.
Sales — Email drafter
Before:
Help me write sales email
After:
Draft a cold outreach email to a CTO at a 500-person SaaS company. Objective: book a 20-min intro call. Open with relevant hook from their company blog. Max 100 words.
Impact: Reply rate 3% → 9%.
Education — Test generator
Before:
Make quiz about photosynthesis
After:
Generate a 10-question quiz on photosynthesis for grade 9. Mix: 5 multiple-choice, 3 short-answer, 2 essay. Include answer key with explanations.
Anti-patterns
Over-politeness
Hiện tượng:
Could you please, if it's not too much trouble, maybe help me with...
- Vấn đề
- Noise, token tốn, Claude không cần lịch sự.
- Fix
- Command thẳng. Lịch sự không giúp Claude hiểu thêm.
Hypothetical phrasing
Hiện tượng:
What if we were to... hypothetically... in a scenario where...
- Vấn đề
- Unclear if bạn thực sự muốn action hay chỉ hỏi lý thuyết.
- Fix
- "Generate [thing]. Context: [scenario]."
Multiple actions in one
Hiện tượng:
Analyze, summarize, translate, and generate recommendations
- Vấn đề
- Claude sẽ làm một chút của mỗi, không deep.
- Fix
- Chia thành nhiều prompt, hoặc 1 prompt với prioritized steps (xem bài 6.17).
Action verb yếu
Hiện tượng:
Tell me about X" / "Help with Y
- Vấn đề
- "Tell" và "help" quá vague.
- Fix
- Specific verb: "Explain", "Compare", "Draft", "Extract".
Apologize trước khi prompt
Hiện tượng:
Sorry to bother you, but I'm stuck on...
- Vấn đề
- Mistakenly treat Claude như người cần empathy.
- Fix
- Skip. Claude không cảm xúc. Get straight to task.
Áp dụng ngay
Bài tập 1: Rewrite 5 prompts (15 phút)
Rewrite 5 prompt sau từ vague → clear & direct:
- "Tell me about Python"
- "Help me write a business plan"
- "What should I do if my startup is failing?"
- "Can you analyze this data for me?"
- "Make me a logo description"
Chạy cả vague và rewrite qua Claude. So sánh output.
Bài tập 2: Refactor prompt của bạn (15 phút)
Lấy prompt v1 cho app của bạn (từ bài 6.13). Apply Clear & Direct:
- First word là action verb mạnh?
- Object/subject cụ thể?
- Không có filler words?
- Không có question mark?
Chạy v1 vs v2 qua 3 test case. Ghi kết quả.
Tóm tắt bài học
- Dòng đầu là dòng quan trọng nhất. Claude "orient" theo dòng đầu.
- Clear = đơn giản không ambiguous. Direct = ra lệnh, không hỏi.
- Action verb mạnh ở đầu: Generate, Write, Analyze, Extract, Classify...
- Treat Claude như đồng nghiệp thông minh cần clear direction — không cần lịch sự, không cần úp mở.
- Case study meal plan: Clear & direct alone → score 2.3 → 3.9 (+70%).