Hãy tưởng tượng bạn vừa tuyển trợ lý mới. Monday sáng bạn nói:
- 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)
2 nguyên tắc
1. CLEAR — Dùng ngôn ngữ đơn giản, không ambiguous
❌ Vague:
✅ Clear:
Khác biệt:
2. DIRECT — Ra lệnh, không hỏi
❌ Questioning:
✅ Commanding:
Mẹo:
- 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")
- 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
Score: 2.3/10
Vấn đề:
v2 — Clear & Direct
- "eat?" → Claude có thể trả lời "rice, protein" generic
- Không có action verb mạnh
- Không có constraint
prompt_v1 = f"What should this person eat?\n- Height: {h}\n- Weight: {w}\n..."v2 — Clear & Direct
Score: 3.9/10 (+70%)
Fix:
Key insight: Chỉ 1 dòng đầu thay đổi từ vague question sang clear command → score tăng 70%.
- Generate — action verb mạnh
- one-day meal plan — output cụ thể
- athlete — context rõ
- Format data clean
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}"""Danh sách action verbs mạnh
Generate / Create
Analyze / Evaluate
Extract / Parse
Transform / Convert
Classify / Categorize
Quy tắc: First word should be action verb. Second word should be object. Ví dụ: "Generate meal plan" (verb + object).
- "Generate a JSON object..."
- "Create a plan for..."
- "Write a summary of..."
- "Analyze the sentiment of..."
- "Evaluate the argument in..."
- "Compare options A and B..."
- "Extract all email addresses from..."
- "Parse this JSON and list..."
- "Identify the main claims in..."
- "Translate to English..."
- "Convert JSON to CSV..."
- "Rewrite in formal tone..."
- "Classify this ticket as bug/feature/billing..."
- "Label each sentence positive/negative..."
Before/After library
Ví dụ 1: Summary task
❌ Before:
✅ After:
Ví dụ 2: Coding
❌ Before:
✅ After:
Ví dụ 3: Email
❌ Before:
✅ After:
Ví dụ 4: Analysis
❌ Before:
✅ After:
Case studies theo ngành
📝 Content — SEO writer
Before:
After:
Impact: Bounce rate giảm 30%, time-on-page tăng 2x.
💼 Sales — Email drafter
Before:
After:
Impact: Reply rate 3% → 9%.
🎓 Education — Test generator
Before:
After:
Anti-patterns
❌ Over-politeness
Hiện tượng:
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:
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:
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:
Vấn đề: "Tell" và "help" quá vague.
Fix: Specific verb: "Explain", "Compare", "Draft", "Extract".
❌ Apologize trước khi prompt
Hiện tượng:
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:
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:
Chạy v1 vs v2 qua 3 test case. Ghi kết quả.
- "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"
- [ ] First word là action verb mạnh?
- [ ] Object/subject cụ thể?
- [ ] Không có filler words?
- [ ] Không có question mark?
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%).
- Anthropic: Be clear and direct