- Claude Code là agentic coding tool — có direct access vào file, terminal và codebase để tự làm việc, thay vì copy-paste qua lại như Claude.ai.
- Điểm khác biệt cốt lõi: nó chạy như một AI Agent = một LLM operating in a loop (real-time), có tools để tương tác với môi trường và đạt mục tiêu.
- Cơ chế: agentic loop 3 pha (Gather context → Take action → Verify results), context window được quản bằng compaction, tools chạy code khi cần, và 3 permission modes (Default · Auto-accept · Plan mode) cấu hình được.
- Cài đặt & surface: terminal (curl / PowerShell Invoke-RestMethod; Homebrew & winget không auto-update), VS Code, JetBrains, Desktop, hoặc web (claude.ai/code — chỉ GitHub repo); Claude chỉ truy cập thư mục chạy lệnh + mọi subfolder.
- Prompt: viết càng descriptive càng tốt; Shift+Tab cycle giữa Approval và Auto-accept; Plan Mode dùng read-only tools để phân tích codebase, hỏi clarifying questions rồi trả về kế hoạch chi tiết trước khi đụng code.
- Takeaway lớn nhất: workflow Explore → Plan → Code → Commit. Plan (read-only) để course-correct trước khi viết code; Code cần success criteria + tools + test suite; Commit thì chạy subagent code reviewer (fresh eyes, không bias) rồi tạo commit message theo style của mình.
Claude Code 101 là gì? Là khoá nhập môn về Claude Code — agentic coding tool của Anthropic — dạy cách để Claude tự đọc code, sửa file và chạy lệnh ngay trong môi trường dev của bạn. Đây là ghi chú tiếng Việt tóm tắt toàn khoá, thuật ngữ giữ nguyên tiếng Anh kèm chú thích.
TL;DR — Claude Code là một AI Agent biết lập trình: khác Claude.ai ở chỗ nó có direct access vào file/terminal/codebase và tự làm việc thay vì copy-paste. Lõi của "agent" = một LLM operating in a loop có tools. Dùng hiệu quả cần nhớ 3 điều: context window là working memory (không nhồi cả repo), nó hỏi permission trước khi hành động, và nó có thể sai nên phải luôn ở trong vòng review. Và takeaway lớn nhất của khoá: theo workflow Explore → Plan → Code → Commit — đừng nhảy thẳng vào code.
#Claude Code là gì?
Claude Code = agentic coding tool (công cụ lập trình dạng agent): nó hiểu codebase, edit file, chạy lệnh terminal, và tích hợp với dev tools sẵn có để giúp bạn hoàn thành việc nhanh hơn.
Có mặt trên nhiều "cửa": terminal, Visual Studio Code, Claude Desktop app, web, và JetBrains IDEs.
#Claude Code khác Claude.ai ở đâu?
Nếu đã dùng Claude.ai, bạn sẽ thấy khác biệt lớn: Claude.ai buộc bạn copy-paste code qua lại. Claude Code có direct access (truy cập trực tiếp) tới file, terminal và toàn bộ codebase → nó tự vào và làm, không cần bạn chép tay.
⭐ Điểm khác biệt cốt lõi: Claude Code hoạt động như một AI Agent.
#AI Agent là gì? (khái niệm lõi)
AI Agent = phần mềm có thể tương tác với môi trường (environment) và thực hiện hành động (actions) để hoàn thành một mục tiêu (goal) định trước.
Về bản chất, nó vận hành bằng một LLM operating in a loop (mô hình ngôn ngữ chạy trong một vòng lặp) theo thời gian thực. AI Agent có thể được cấp tools, external services, hoặc thậm chí các AI Agent khác để đạt mục tiêu.
Nhịp của loop giống cách một người làm việc: nhìn → làm một việc → xem kết quả → nghĩ → làm tiếp, lặp đến khi xong. Bọc một LLM trong loop + cho nó tools là biến nó từ "chỉ nói" thành "làm được việc".
#Claude Code làm được gì trong thực tế
- Đọc & hiểu codebase — nhờ giải thích một feature hoặc trace một bug xuyên suốt code.
- Sửa file xuyên project — refactor một function và update mọi file tham chiếu tới nó.
- Chạy lệnh terminal — build, chạy test, cài package, và dùng output để quyết định bước tiếp theo.
- Search web — tra documentation hoặc API reference mới nhất khi cần.
#3 điều tâm niệm để dùng hiệu quả
- Context window — "working memory" (trí nhớ làm việc) của Claude. Chứa được nhiều nhưng không phải tất cả cùng lúc. Đây là chỗ tính "agentic" phát huy: Claude tự tìm chiến lược định vị câu trả lời trong codebase mà không load toàn bộ vào context.
- Nó hỏi permission — mặc định Claude Code xin phép trước khi chạy lệnh hoặc sửa file. Bạn luôn nắm quyền, dù thích kiểu hands-on hay hands-off.
- Nó có thể sai — như mọi công cụ, Claude Code không hoàn hảo: có thể hiểu nhầm ý, tạo bug, hoặc over-engineer. Ở trong vòng review giúp bắt lỗi sớm.
Áp dụng thực tế: "LLM in a loop, có tools, tự sai được" nghĩa là nên quản Claude Code như quản một junior engineer mới vào team: cấp context tốt, chốt success criteria rõ, review từng bước — chứ không giao khoán rồi tin tuyệt đối. Vì nó tự làm, rủi ro cũng tự nhân lên nếu buông tay.
#Cơ chế bên trong: Agentic Loop
Claude Code khác app chat thông thường; hiểu agentic loop sẽ dùng nó hiệu quả hơn. Vòng lặp gồm 5 bước:
- Anh nhập một prompt vào Claude Code.
- Claude gather context (thu thập ngữ cảnh cần) bằng cách tương tác với model — model trả về text hoặc một tool call mà Claude Code có thể thực thi.
- Take action — ví dụ sửa một file hoặc chạy một lệnh.
- Verify results — kiểm tra kết quả và xác định xem đã đạt đúng điều prompt đặt ra chưa.
- Đạt rồi → Claude kết thúc và chờ prompt tiếp theo. Chưa đạt → loop lại và thử tiếp cho tới khi kết quả hoàn chỉnh & verify được.
Gói gọn 3 pha: Gather context → Take action → Verify results. Xuyên suốt loop, anh có thể add context, interrupt (ngắt), hoặc steer (lái) để dẫn Claude về đúng mục tiêu.
#Context window & compaction
Claude có context window quyết định lưu và tham chiếu được bao nhiêu: hội thoại, nội dung file, output của lệnh, v.v. Khi chạm giới hạn, Claude Code thực hiện compaction — tự động quyết định bỏ hoặc tóm tắt phần nào để kéo context window về mức dùng được, rồi làm tiếp.
Tools là xương sống của cách agent hoạt động. Đa số AI assistant chỉ text in → text out; tools cho phép Claude Code quyết định khi nào chạy code để tiến gần hoàn thành task — có thể là file-reading tool, web search tool, hay vô số năng lực khác. Claude dùng semantic understanding (hiểu ngữ nghĩa) để quyết khi nào gọi tool và dùng output thế nào.
#Permission modes (khoá dạy 3 — bản hiện tại đã có 5)
Khoá dạy 3 chế độ:
- Default behavior — Claude hỏi phép rõ ràng trước khi sửa file hoặc chạy shell command.
- Auto-accept — file được sửa không cần hỏi, nhưng lệnh vẫn cần được duyệt.
- Plan mode — chỉ dùng read-only tools để lập kế hoạch hành động trước khi bắt tay làm.
⚡ Cập nhật thực tế (07/2026): Claude Code bản hiện tại đã tách thành 5 mode (đổi nhanh bằng phím 1–5, hoặc cycle bằng Shift+Tab):
- Ask permissions — chính là Default: hỏi trước mọi edit & command.
- Accept edits — chính là Auto-accept: tự sửa file, lệnh vẫn hỏi.
- Plan mode — read-only, vạch kế hoạch trước khi làm.
- Auto mode — chạy tự chủ hơn (tự thực thi trong phạm vi an toàn), nhanh hơn Accept edits nhưng chưa bỏ hết chốt như Bypass.
- Bypass permissions — bỏ qua HẾT permission, chạy mọi thứ không hỏi. Đây chính là "skip permissions" mà khoá cảnh báo — rủi ro cao nhất.
Ba mode đầu khớp 1-1 với những gì khoá dạy; hai mode sau (Auto mode, Bypass permissions) là phần khoá gốc chưa cập nhật.
Tất cả cấu hình trong settings file. ⚠️ Thận trọng khi bỏ qua permission (Bypass): cho Claude Code tự do chạy lệnh nghĩa là một sai sót có thể khó bắt kịp trước khi nó xảy ra.
#Cài đặt & các "cửa" chạy Claude Code
Cài rất nhanh, tuỳ anh muốn dùng ở terminal, IDE, desktop hay web.
Terminal
- macOS / Linux / WSL: cài một phát bằng lệnh
curl. Thích Homebrew thì brew install cũng được — nhưng không hỗ trợ auto-update.
- Windows: PowerShell dùng
Invoke-RestMethod; CMD dùng curl; hoặc winget — cũng không auto-update như Homebrew.
- Cài xong gõ
claude; chưa nhận thì restart terminal. cd vào thư mục dự án rồi chạy claude.
- Lần đầu: chọn color theme, đăng nhập bằng Claude account (Pro / Max / Enterprise) hoặc API key. Có Enterprise thì chọn đúng option đó.
- ⭐ Phạm vi quyền = thư mục anh chạy
claude: Claude truy cập được thư mục đó + toàn bộ subfolder.
IDE
- VS Code: Extensions → tìm "Claude Code" → chọn extension của Anthropic có dấu tích xanh (blue verification check) → Install → restart. Mở bằng command palette (
Ctrl/Cmd + Shift + P → "Claude Code Open in New Tab") hoặc click logo Claude ở sidebar. Trải nghiệm gần như terminal; có thể tắt UI, dùng thẳng terminal trong settings.
- JetBrains: cài plugin từ JetBrains Marketplace → restart → click logo Claude → mở pane terminal chạy cạnh editor.
Desktop & Web
- Desktop: đăng nhập Claude Desktop → có toggle "Code" ở trên; làm việc trong một folder cụ thể, đổi permission, chạy được cả cloud environment.
- Web: vào
claude.ai/code (hoặc nhãn "Code" ở sidebar chat). Giống desktop nhưng chỉ giới hạn ở GitHub repositories.
Chọn cửa nào?
- Terminal — muốn cutting edge: tính năng ship ở đây trước.
- IDE (VS Code / JetBrains) — trải nghiệm gần như y hệt, gắn liền editor.
- Desktop — hợp để Claude chạy nền trong lúc anh làm việc khác.
- Web — hợp làm việc remote trên một GitHub repo.
#Prompt đầu tiên & chọn chế độ duyệt
Nói chuyện với Claude Code y như mọi AI assistant khác. Khi gõ prompt, có vài thứ vừa bảo vệ anh vừa làm mọi thứ dễ hơn.
Auto-Accept vs. Approval — bấm Shift + Tab để cycle giữa các chế độ:
- Approval mode — Claude hỏi phép mỗi lần muốn sửa file hoặc chạy lệnh. (Chính là "Default behavior" / "Ask permissions" ở phần trên.)
- Auto-accept mode — file edits tự duyệt, nhưng lệnh vẫn cần anh cho phép.
- Không có đúng/sai — tuỳ anh thấy thoải mái.
#Plan Mode trong thực chiến
Plan Mode (cũng nằm trong menu Shift + Tab): lấy prompt của anh, dùng read-only tools để phân tích codebase + research cách hiện thực. Nó hỏi lại các câu clarifying dọc đường, rồi trả về một kế hoạch chi tiết có thể đem thực thi.
Hợp nhất khi: lên kế hoạch cho thay đổi phức tạp hoặc code review an toàn (read-only, không đụng gì), và các feature nhiều bước (multi-step implementation).
Ví dụ — thêm Dark Mode toggle:
- Mở root directory của dự án, chạy
claude.
- Bấm
Shift + Tab vài lần để vào Plan Mode.
- Viết prompt mô tả rõ — VD: "app cần dark mode toàn bộ, tạo toggle trên header cho user chuyển light/dark, tự tìm contrast color hợp light theme hiện có".
- Để Claude lập plan → review plan → ổn thì accept, cho Claude xin duyệt ở từng bước.
- Cuối cùng anh thấy đúng những gì Claude đã làm và cách nó đi tới kết luận.
Chốt: prompt càng descriptive (mô tả rõ) càng tốt; muốn stay in the loop ở mọi bước thì được; dùng Plan Mode để Claude đào sâu chi tiết trước khi đụng code.
#⭐ Workflow lõi: Explore → Plan → Code → Commit
Nếu chỉ lấy một thứ từ khoá này, hãy lấy quy trình này. Nhảy thẳng vào "bảo Claude viết code" = phải course-correct (chỉnh sửa) nhiều về sau.
1. Explore & Plan — nhanh nhất là Plan Mode. Trong plan mode, Claude không sửa được file — chỉ đọc để thu thập thông tin về cách hiện thực. Vào bằng Shift + Tab tới khi thấy "Plan Mode", rồi viết prompt (VD: "thêm WebP conversion vào image upload pipeline — tìm chỗ nên đặt, có cần dependency mới không, tiếp cận thế nào"). Claude đọc file liên quan, chạy web search, trả về plan. Review → không đạt thì bảo nó sửa vùng cụ thể. ⭐ Đây là chỗ tốt nhất để course-correct vì CHƯA viết dòng code nào.
Có thể chạy explore subagent ngoài plan mode nếu chỉ muốn tóm tắt codebase mà không định sửa gì sau đó.
2. Code — plan ổn → approve → Claude làm từng item. Chọn auto-accept file edits hay hỏi mỗi lần. Claude tự troubleshoot trước khi coi plan "finished", nhưng đôi lúc anh phải nhảy vào. Lợi thế Plan Mode: sau khi thực thi anh có context vì sao ra kết quả đó → giúp định hướng bước tiếp. Ba tip cho phase này:
- Define success criteria — Claude cần biết "correct" trông thế nào để tự tin về kết quả; ghi explicit trong plan.
- Add tools — tool giúp Claude đạt mục tiêu → bớt qua lại. VD build web UI thì cài Claude in Chrome để Claude control tab browser + test UI trực tiếp.
- Include a test suite — cho Claude bộ test để liên tục validate; Claude viết test hộ được. ⚠️ Trước khi giao, đảm bảo test đáng tin (source of truth) để tránh false positive.
Quick tip: Claude cứ vấp đúng một lỗi lặp lại → bảo nó lưu cách giải vào CLAUDE.md.
3. Commit — anh tự test + hài lòng → push. Trước khi commit, chạy subagent code reviewer: một cặp mắt mới (fresh eyes), không dính thiên kiến mà main agent tích luỹ trong session. Rồi bảo Claude viết commit message theo style của anh. Cứ thế lặp lại cho feature tiếp theo.
Recap 4 pha: Explore (đưa Claude context dự án) · Plan (bản kế hoạch để đo thành công) · Code (qua lại tới kết quả cuối) · Commit (review + push, rồi sang feature tiếp).
Góc Delivery Manager: bốn pha này gần như trùng với cách tôi vẫn quản một dự án giao cho team — chỉ khác là lần này người thực thi là Claude Code. Chốt kế hoạch và hướng đi trước khi bắt tay viết code (thay vì code trước rồi sửa sau); success criteria chính là Definition of Done; subagent review là tách người kiểm tra khỏi người làm để bỏ thiên kiến; test suite làm chuẩn để khỏi nghiệm thu nhầm. Đây là bộ khung tôi dùng để giao việc cho AI mà vẫn giữ được kiểm soát rủi ro.
#Từ khoá cần thuộc
🔴 Core: agentic coding tool · AI Agent (LLM operating in a loop + tools) · direct access (files/terminal/codebase) · context window (working memory) · agentic loop (Gather context → Take action → Verify results) · compaction (nén context khi đầy) · tools (dùng semantic understanding để quyết khi nào gọi) · permission modes (Default/Approval · Auto-accept · Plan mode) · Shift + Tab (cycle giữa các mode) · Plan Mode (read-only → clarifying questions → detailed plan) · descriptive prompt · Explore → Plan → Code → Commit (workflow lõi) · success criteria · subagent code reviewer (fresh eyes, no session bias) · CLAUDE.md (lưu solution lặp) · directory access (thư mục chạy claude + mọi subfolder) · "can make mistakes".
🟡 Important: các "cửa" chạy Claude Code (terminal · VS Code · Claude Desktop · web · JetBrains) · install: curl / PowerShell Invoke-RestMethod (Homebrew & winget KHÔNG auto-update) · sign in Pro/Max/Enterprise hoặc API key · terminal = features ship first · web = chỉ GitHub repos · VS Code blue verification check · Approval mode = Default (hỏi mỗi lần) · Plan Mode hợp cho safe code review + multi-step features · dùng terminal output để quyết bước tiếp · refactor cross-file · interrupt / steer / add context giữa loop · verify results (Claude tự kiểm việc mình làm) · tool call do model trả về · cấu hình permission trong settings file · explore subagent (chạy ngoài plan mode để tóm tắt codebase) · add tools (VD Claude in Chrome test UI) · test suite = source of truth (tránh false positive) · course-correct trước khi viết code · commit message theo style của mình.
🟢 Good-to-know: search web cho docs/API reference · "stay in the loop" · Claude.ai = copy-paste vs Claude Code = tự làm · restart terminal/IDE nếu chưa nhận lệnh · tắt UI dùng thẳng terminal trong VS Code · Desktop chạy nền + cloud environment · quy trình plan → review → accept → duyệt từng bước → xem lại kết quả · thận trọng khi skip permission (khó bắt lỗi trước khi xảy ra) · bản Claude Code hiện tại (07/2026) có 5 mode: Ask permissions · Accept edits · Plan mode · Auto mode · Bypass permissions (đổi bằng phím 1–5 / Shift+Tab).
Nguồn: Claude Code 101 (Anthropic Academy) — Copyright Anthropic. Phần đề thi thử cho khoá này nằm ở tab "Đề thi thử".
Câu hỏi thường gặp
- Claude Code là gì?
- Claude Code là agentic coding tool của Anthropic: nó hiểu codebase, tự sửa file, chạy lệnh terminal và cắm vào các dev tool sẵn có để hoàn thành công việc nhanh hơn. Dùng được ở terminal, VS Code, JetBrains IDEs, Claude Desktop app và trên web.
- Claude Code khác Claude.ai ở điểm nào?
- Khác biệt cốt lõi là Claude Code hoạt động như một AI Agent và có direct access vào file, terminal cùng toàn bộ codebase — nó tự vào làm việc thay vì để bạn copy-paste code qua lại như trên Claude.ai.
- AI Agent là gì?
- AI Agent là phần mềm có thể tương tác với môi trường và thực hiện hành động để hoàn thành một mục tiêu định trước. Về bản chất, nó là một large language model (LLM) operating in a loop theo thời gian thực, có thể dùng tools, external services hoặc cả các AI Agent khác để đạt mục tiêu.
- Claude Code có những permission mode nào?
- Khoá Claude Code 101 dạy 3 chế độ: Default (hỏi phép trước khi sửa file hoặc chạy lệnh), Auto-accept (tự sửa file, nhưng chạy lệnh vẫn phải duyệt), và Plan mode (chỉ dùng read-only tools để lập kế hoạch trước khi làm). Tính tới 07/2026, Claude Code bản thật đã có 5 mode: Ask permissions (= Default), Accept edits (= Auto-accept), Plan mode, Auto mode (chạy tự chủ hơn trong phạm vi an toàn) và Bypass permissions (bỏ qua hết — rủi ro cao nhất, chính là "skip permissions" mà khoá cảnh báo). Chuyển nhanh bằng phím 1–5 hoặc Shift+Tab; cấu hình trong settings file.
- Compaction trong Claude Code là gì?
- Khi hội thoại chạm giới hạn context window, Claude Code tự động compact — quyết định bỏ bớt hoặc tóm tắt phần nội dung cũ để kéo context về mức dùng được, nhờ đó phiên làm việc tiếp tục mà không vỡ giới hạn.
- Cài đặt Claude Code và chạy được ở đâu?
- Claude Code dùng được ở terminal (macOS/Linux/WSL cài bằng curl; Windows dùng Invoke-RestMethod trong PowerShell hoặc curl trong CMD — lưu ý Homebrew và winget không auto-update), extension VS Code, plugin JetBrains, Claude Desktop app, và trên web tại claude.ai/code (chỉ làm việc với GitHub repo). Terminal nhận tính năng mới sớm nhất. Claude chỉ truy cập thư mục anh chạy lệnh claude cùng toàn bộ subfolder của nó.
- Plan Mode trong Claude Code dùng khi nào?
- Plan Mode dùng read-only tools để phân tích codebase và nghiên cứu cách hiện thực, hỏi lại các câu clarifying rồi trả về một kế hoạch chi tiết trước khi đụng vào code. Nó hợp nhất cho việc lên kế hoạch cho thay đổi phức tạp, làm code review an toàn (không sửa gì), và các feature nhiều bước. Bấm Shift+Tab để vào Plan Mode; sau khi duyệt plan, Claude vẫn xin phép ở từng bước thực thi.
- Workflow Explore Plan Code Commit trong Claude Code là gì?
- Đây là quy trình cốt lõi của khoá Claude Code 101, gồm 4 pha: Explore (đưa Claude context liên quan của dự án), Plan (dùng Plan Mode read-only lập kế hoạch để đo thành công và course-correct trước khi viết code), Code (qua lại giữa bạn và Claude — nên định success criteria, thêm tools, và có test suite làm nguồn chân lý), và Commit (chạy subagent code reviewer với góc nhìn mới không thiên kiến, rồi tạo commit message theo style của bạn trước khi push).
Đề thi thử (29 câu)
Đề thi thử tự biên soạn, bám sát đề thi chứng chỉ thật. Bản tương tác — chấm điểm, đáp án & giải thích từng câu — nằm ở tab “Đề thi thử” trên trang.
-
What is Claude Code? How is Claude Code best described?
- A. A chatbot that answers coding questions in a web browser
- B. An agentic coding tool that understands your codebase, edits files, runs commands, and integrates with your developer tools
- C. A code linter that only checks style violations
- D. A cloud service that hosts and deploys your applications
-
What is Claude Code? What is the key differentiator that separates Claude Code from Claude.ai?
- A. Claude Code uses a larger language model
- B. Claude Code is free while Claude.ai is paid
- C. Claude Code works as an AI Agent with direct access to your files, terminal, and codebase
- D. Claude Code can only answer questions but cannot write code
-
What is an Agent? Which statement best defines an AI Agent?
- A. Software that interacts with its environment and performs actions to complete a defined goal, built on an LLM operating in a loop
- B. A pre-recorded script that runs the same fixed steps every time
- C. A database that stores prompts and responses
- D. A single one-shot call to a language model with no ability to act
-
What Can Claude Code Do? Claude Code runs your test suite, reads the failing output, and then decides what to fix next. Which capability does this demonstrate?
- A. Searching the web for documentation
- B. Running terminal commands and using the output to decide what to do next
- C. Storing the entire codebase in its context window
- D. Deploying the application to production
-
Using Claude Code Effectively In the context of using Claude Code effectively, what does the "context window" refer to?
- A. The list of files currently open in your editor
- B. Claude's working memory — it can hold a lot, but not everything at once
- C. A pop-up window that asks for your permission
- D. The maximum number of terminal commands per session
-
Using Claude Code Effectively By default, what does Claude Code do before running commands or making changes to your files?
- A. It applies all changes automatically without notifying you
- B. It asks you for permission, keeping you in control
- C. It emails you a summary after the changes are done
- D. It requires you to manually approve every token it generates
-
The Agentic Loop The agentic loop is often summarized as three repeating phases. What are they?
- A. Compile, run, debug
- B. Gather context, take action, verify results
- C. Read, summarize, reply
- D. Plan, approve, deploy
-
The Agentic Loop In the agentic loop, what happens after Claude Code takes an action and verifies that the results do NOT yet satisfy your prompt?
- A. It stops and reports a failure to the user
- B. It permanently discards the prompt
- C. It loops back and tries again until the results are complete and verifiable
- D. It switches to plan mode automatically
-
Context When the conversation reaches the limit of the context window, what does Claude Code do?
- A. It compacts the conversation, automatically removing or summarizing content to bring the context back to a usable size
- B. It immediately ends the session and loses all progress
- C. It asks you to manually delete old messages
- D. It doubles the size of the context window
-
Tools What role do tools play for Claude Code compared to a typical text-in/text-out assistant?
- A. They translate the conversation into other languages
- B. They let Claude Code execute code — like reading a file or searching the web — deciding via semantic understanding when to call a tool and how to use its output
- C. They compress the context window
- D. They replace the need for a language model entirely
-
Permissions In Auto-accept permission mode, how does Claude Code behave?
- A. It runs everything — file edits and shell commands — without asking
- B. It edits files without asking, but shell commands still require approval
- C. It only reads files and never makes changes
- D. It asks for permission before every single action
-
Permissions What characterizes Plan mode in Claude Code?
- A. It uses read-only tools to compile a plan of action before starting any work
- B. It auto-accepts all file edits and commands
- C. It deploys the plan to production automatically
- D. It disables the context window to save memory
-
Installing Claude Code You run the `claude` command inside a project directory. What does Claude Code have access to?
- A. Only the single file you explicitly open
- B. That directory and all of its subfolders
- C. Your entire hard drive, including the home directory
- D. Nothing until you grant access file-by-file
-
Installing Claude Code Which installation methods for Claude Code do NOT support auto-updates?
- A. The curl script and PowerShell Invoke-RestMethod
- B. Homebrew (brew install) and winget
- C. The VS Code and JetBrains extensions
- D. All installation methods auto-update equally
-
Installing Claude Code On Windows, which command is used to install Claude Code in PowerShell?
- A. curl
- B. brew install
- C. Invoke-RestMethod
- D. apt-get install
-
Installing Claude Code How is Claude Code on the web (claude.ai/code) different from the desktop app?
- A. It gives full access to your local file system
- B. It is restricted to working with GitHub repositories
- C. It cannot run any tools
- D. It requires an API key instead of a Claude account
-
Installing Claude Code According to the course, which surface should you choose if you want to stay on the cutting edge with the newest features first?
- A. The desktop app
- B. The web app
- C. The terminal
- D. The JetBrains plugin
-
Installing Claude Code When you first run `claude` in the terminal, which of the following is part of the initial setup?
- A. Choosing a color theme and signing in with a Claude account (Pro/Max/Enterprise) or an API key
- B. Manually writing a configuration file from scratch
- C. Installing a separate database server
- D. Granting root access to your machine
-
Your First Prompt Which keyboard shortcut cycles between the permission/acceptance modes in Claude Code?
- A. Ctrl + P
- B. Shift + Tab
- C. Cmd + Enter
- D. Alt + M
-
Your First Prompt What does Plan Mode do when given a prompt?
- A. It immediately edits files to implement the request
- B. It uses read-only tools to analyze your codebase, asks clarifying questions, and returns a detailed plan it can execute
- C. It runs every command automatically without asking
- D. It only searches the web for documentation
-
Your First Prompt Which scenario is Plan Mode especially well-suited for?
- A. Planning complex, multi-step changes or doing a safe, read-only code review
- B. Quickly deleting temporary files
- C. Bypassing all permissions to move faster
- D. Changing the terminal color theme
-
Your First Prompt In Approval mode, when does Claude ask for your permission?
- A. Only the first time in a session
- B. Each time it wants to edit a file or run a command
- C. Never — it edits files silently
- D. Only when running commands, never for file edits
-
Your First Prompt According to the recap, what is the single most important thing to do when writing a prompt for Claude Code?
- A. Keep it as short as possible
- B. Be as descriptive as possible about what you want to achieve
- C. Always disable permissions first
- D. Write it in code rather than plain language
-
Explore, Plan, Code, Commit What is the core workflow the course recommends as its single biggest takeaway?
- A. Code, Test, Debug, Deploy
- B. Explore, Plan, Code, Commit
- C. Prompt, Approve, Merge, Release
- D. Plan, Code, Review, Rollback
-
Explore, Plan, Code, Commit During the Explore and Plan step (Plan Mode), what is Claude restricted from doing?
- A. Reading files in the codebase
- B. Running web searches
- C. Editing files — it can only read them to gather information
- D. Asking you clarifying questions
-
Explore, Plan, Code, Commit Why is the planning step described as the best place to course-correct?
- A. Because it happens before any code is written
- B. Because Claude cannot make mistakes during planning
- C. Because it automatically commits the changes
- D. Because it skips the need for testing
-
Explore, Plan, Code, Commit Which of the following is one of the tips for making the coding phase smoother?
- A. Keep the success criteria vague so Claude stays flexible
- B. Define a success criteria, add tools, and include a reliable test suite
- C. Always run in bypass permissions mode
- D. Avoid giving Claude any tools so it stays focused
-
Explore, Plan, Code, Commit Before committing, why should you run a subagent code reviewer instead of relying on the main agent?
- A. Subagents run faster than the main agent
- B. A subagent gives a fresh pair of eyes without the bias the main agent picked up during the session
- C. The main agent is not allowed to read code
- D. Subagents automatically push the code for you
-
Explore, Plan, Code, Commit The course gives a quick tip: if Claude keeps running into the same issues, what should you ask it to do?
- A. Restart the terminal each time
- B. Switch to bypass permissions mode
- C. Save the solution to its CLAUDE.md file
- D. Delete the test suite