Khám phá và hiểu codebase với Claude Code
Các workflow khám phá codebase với Claude Code: overview, tìm code, hỏi như senior engineer, dùng subagents và plan mode để hiểu hệ thống nhanh.
Tại sao dùng Claude Code để explore?
Lấy overview nhanh
Bắt đầu broad
give me an overview of this codebaseexplain the main architecture patterns used herewhat are the key data models?Drill down vào chi tiết
Tìm code liên quan
Locate feature code
Hiểu mối quan hệ giữa files
Dùng @ để reference trực tiếp
Hỏi như senior engineer
Dùng subagents để investigate
Plan mode: explore → plan → implement
Phase 1: Explore
Phase 2: Plan
Phase 3: Implement
Phase 4: Commit
Khi nào nên explore, khi nào code thẳng?
Tình huống
Nên
Tài liệu tham khảo
Cập nhật lần cuối