Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

This article is not yet available in English. Showing the Vietnamese version.

All news
AI & AutomationCông nghệ

Bắt AI làm BA trước khi cho gõ Code: Mẹo dùng Claude không bị ngáo từ Hacker News

February 22, 20265 min read

Lướt Hacker News hóng drama dev cãi nhau vụ dùng Claude Code. Tách biệt Plan và Execute: Cứu cánh cho não cá vàng của AI hay chỉ tổ vẽ chuyện?

Share this post:
business, office, team, kanban, work, work process, to organize, structure, organization, workflow, development, planning, management, success, company, team, team, kanban, kanban, kanban, kanban, kanban, workflow, workflow, development, planning, planning, management, management, management
Nguồn gốc: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claudeNguồn gốc: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude
Nguồn gốc: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claudeNguồn gốc: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/bat-ai-lam-ba-truoc-khi-cho-go-code-meo-dung-claude
claude codeai codingprompt engineeringdeveloper workflowhacker news dramallm context limit
Share this post:

Bình luận

Related posts

robot, educational toy, robotics, companion robot, mini robot
AI & AutomationDev Life

Using AI to Code Slower: The Counter-Intuitive Truth to Surviving as a Dev

Everyone hypes AI as a 10x speed multiplier. But a top Hacker News post argues we should use AI to write better code, even if it means slowing down. Here's why.

May 264 min read
Read more →
brothers and sisters, hold hands, children, childhood, girl, people, black and white, memory, memories, children, children, children, girl, people, black and white, black and white, black and white, black and white, black and white, memory, memories
AI & AutomationTechnology

Coding Agents Just Got a Brain Upgrade: Say Goodbye to "Goldfish Memory" with Agentmemory

Agentmemory is trending on GitHub by curing the short-term memory loss of coding agents like Claude and Codex. But is this persistent memory a blessing or a risk?

May 173 min read
Read more →
burgdamm, germany, dig, castle, palace, landscape, architecture, moated castle, museum, medieval architecture, reflection, palace garden, moat, landscaped garden
Dev LifeAI & Automation

Stop Worshiping Code: Why Domain Expertise is Your Only Real Moat

A viral Hacker News post drops a truth bomb: Writing clean code won't save your job. Understanding the business logic is the ultimate survival tool.

May 313 min read
Read more →
waste separation, garbage cans, recycling, garbage, ton of plastic, waste, garbage can, blue, waste bins, paper wheelie bin, paper waste, blue tonne, plastic, ton, disposal, waste container, container, trash can, waste bin, large refuse containers, black, environmental protection, waste disposal, recycling, recycling, recycling, recycling, recycling, garbage, garbage, waste, waste, waste, trash can, trash can
TechnologyAI & Automation

I'm Tired of AI Slop: When the Internet Became a Chatbot Echo Chamber

A 1277-point Hacker News thread reveals a harsh truth: We devs are getting sick and tired of the AI-generated garbage flooding the web. Dead Internet Theory is here.

May 273 min read
Read more →
church, graubünden, religion, nature, spring, church tower
TechnologyAI & Automation

Magnifica Humanitas: When the Pope Drops a PR to Review AI Ethics

The Vatican just dropped Magnifica Humanitas, an encyclical on AI ethics. Hacker News is going thermonuclear. Here is the TL;DR and dev takeaway.

May 262 min read
Read more →
video production, video, movie, film, equipment, filmmaking, clapperboard, clapper, studio, scene, tv, board, shoot, cinema, camera, video production, video, video, video, video, video, movie, movie, film, film, filmmaking, clapperboard, cinema
AI & AutomationTechnology

Loova Agents: Ending the 'Prompt Engineer' Era and Fixing the 20-Tab Video Workflow Nightmare

Tired of melting your RAM with 20 tabs just to make one AI video? Loova Agents claims to be your new 'AI Director'. Let's see if it's legit or just more AI hype.

May 174 min read
Read more →

Dạo này anh em lướt X hay Reddit chắc ngấy tận cổ mấy bài tâng bốc "AI code thay thế dev", "1 prompt ra ngay con app tiền tỷ" rồi đúng không? Toàn mõm cả! Làm dự án thật mà cứ ném mẹ cái prompt "viết cho tao cái tính năng X" thì chỉ có ăn cám, code rác sinh ra ngập mặt, fix bug còn quá tội.

Hôm qua trên Hacker News có một bài bốc được hơn 700 upvote, bóc trần cách dùng Claude Code hàng "riêu" (real) của một lão dev. Bí kíp cốt lõi? Tách biệt hoàn toàn khâu Lên kế hoạch (Planning) và Thực thi (Execution). Nghe sặc mùi Agile chạy Jira, nhưng hóa ra lại là tuyệt chiêu trị cái bệnh "não cá vàng" của mấy con LLM.

Tuyệt chiêu "bắt AI làm BA, bắt nó tự thông não"

Thực tế, đưa AI vào codebase lớn mà bắt nó nhảy vào code ngay là một ván cược nhân phẩm. Rất dễ toang. Tóm tắt nhanh workflow của tác giả bài viết cho anh em lười đọc:

  • Không đâm đầu vào code ngay: Bắt con Claude đọc hiểu hệ thống rồi nôn ra một cái file plan.md chi tiết.
  • Duyệt plan như sếp duyệt dự án: Thằng dev (là mình) sẽ soi cái file plan đấy. Chỗ nào ngu, thiếu logic thì chửi (à nhầm, prompt) cho nó sửa, đến khi nào mượt mới thôi.
  • Chốt sổ mới cho gõ phím: Khớp lệnh xong xuôi mới cấp quyền cho AI chạy execute theo đúng từng step trong plan.
  • Hack não hệ thống Attention: Phải dùng mấy từ đao to búa lớn trong prompt như "deeply", "in great details", "intricacies" thì nó mới chịu cày sâu vào source. Không có mấy từ này, nó chỉ lướt sóng sương sương cái tên hàm rồi phán bừa.
  • Chống tràn RAM (Context limits): Dùng file plan để lưu trạng thái, sau đó gõ lệnh /reset clear mẹ chat đi làm lại từ đầu để model đỡ bị ngợp.

Anh em dev Hacker News chia phe combat nảy lửa

Bên dưới phần comment là cả một bãi chiến trường. Dân tình chém nhau đủ các góc nhìn, tổng hợp lại thì có mấy luồng chính thế này:

1. Team thực dụng: Chơi hệ Ticket file Text Nhiều lão (như zitrusfrucht hay gbnwl) cực kỳ tâm đắc. Thay vì viết plan.md chung chung, các pháp sư này bắt AI đẻ ra file ticket_123.md. Nhẹ nhàng, chả cần Jira hay Trello rườm rà. Lợi thế cực lớn là có thể cắt nhỏ task, vứt cho nhiều Agent chạy song song. Kênh chat chính chỉ dùng để xâu chuỗi và review. Nghe mượt phết!

2. Team chê: "Vẽ chuyện, tao tự gõ cho lẹ" Lão jamesmcq thì ném một quả tạ xanh rờn: "Cái trò múa may này chỉ dành cho mấy khứa không biết code. Dành thời gian ngồi check plan, dỗ dành AI, điều phối qua lại... thà tao tự gõ mẹ cho lẹ. Làm trò này chả ai thắng, trừ tài khoản ngân hàng của Anthropic". Ý kiến này đại diện cho kha khá anh em theo chủ nghĩa truyền thống, ngán ngẩm cái cảnh phải "hầu hạ" con AI.

3. Team phản damage: "Tại ông gà không biết dùng" Bị chê thì các pháp sư AI nhảy vào táp lại ngay. Một ông kể vừa nhờ AI viết tính năng audit log. Tốn 5 phút lên plan, sau đó treo máy 30 phút đi uống cà phê đợi AI code + test. Việc lẽ ra mất 1-2 ngày giờ xong trong nửa tiếng. Một điểm ăn tiền nữa: AI không biết mệt. Anh em code tới 4h chiều là mắt mờ tay run, hay gõ nhầm (fat fingering), còn bọn Agent thì chạy line nào chuẩn line đó. Việc vứt việc tay chân cho AI giúp dev giữ não ở tầm cao (high-level), không bị chìm trong ba cái vụ lặt vặt.

4. Team khóc thuê môn "Tâm linh học LLM" Cười ỉa nhất là đoạn anh em bàn về việc phải nhét chữ "deeply" vào để AI khỏi lười. Nghề dev ngày xưa tự hào vì tính logic, hệ thống chạy ra kết quả 100% giống nhau (deterministic). Giờ thì sao? Anh em viết file AGENTS.md mà như dỗ trẻ con: phải IN HOA, in đậm, đe dọa đủ kiểu chỉ để... cầu nguyện bộ máy attention của LLM nó focus đúng chỗ. Có ông còn kêu: "Hôm nọ tao chat 'Mày làm được' thế là nó làm được cái việc nó vừa từ chối tao xong. Ảo ma Canada!"

Chốt hạ: Cơm bưng nước rót hay vẫn phải xắn tay áo?

Tóm lại, LLM dạo này thông minh thật, cày trâu thật, nhưng thả rông là đứt. Anh em cứ coi nó như một thằng thực tập sinh siêu nhân nhưng thi thoảng hơi ngáo ngơ. Phải có quy trình rõ ràng: Giao task -> Bắt viết báo cáo cách làm -> Mình duyệt -> Mới cho chạm vào source code.

Và nhớ cho tôi một câu này: Dù con AI có code mượt đến đâu, 100% review từng dòng code. Tuyệt đối không commit đoạn code mà mình không hiểu. Vì đến ngày sập server, sếp tế lên thì không có con AI nào ra giơ đầu chịu báng hộ anh em đâu!


Nguồn hóng hớt: How I use Claude Code: Separation of planning and execution (Hacker News) (Link HN tượng trưng dựa trên data, bài gốc: boristane.com)