What Claude Code is and how it differs from a chat window
Course contents (20 lessons)
- Meet Claude Code
- What Claude Code is and how it differs from a chat window
- Installing Claude Code and signing in
- Your first session: explore, ask, change
- Asking well and staying in control
- Asking for changes: context, goal, constraints and acceptance criteria
- Reading and approving edits
- Permission modes: how much freedom to give
- Project memory and slash commands
- CLAUDE.md: teaching the tool about your project
- Slash commands and custom commands
- Everyday coding workflows
- The plan-first workflow
- Understanding unfamiliar code
- Debugging with Claude Code
- Refactoring safely
- Writing tests with Claude Code
- Git, small changes, cost and security
- Git workflows: branches, commits and pull request descriptions
- Keeping changes small and reviewable
- Context and cost awareness
- Security habits: secrets, commands and untrusted input
- Extending the tool, teamwork and a final project
- Hooks and MCP servers explained
- Team practices for AI-assisted coding
- Final project: building a small app step by step
The short version
Claude Code is a coding tool from Anthropic. You start it inside a project folder, usually in a terminal, and talk to it in plain language. It can read the files in your project, propose edits, create new files and run commands such as your test suite. It asks for your permission before it changes files or runs commands, depending on the settings you choose. It also works inside popular IDEs, so you are not limited to the terminal.
The word agentic matters. A normal chatbot answers a question and stops. An agentic tool takes a goal, decides what to look at, makes a change, checks the result and continues. You stay in charge of the direction and the approvals.
How this differs from copy and paste
Before tools like this, my routine was: copy a function into a chat window, ask a question, copy the answer back, find out it did not fit the rest of the project, repeat. The assistant could see only what I pasted. Claude Code can look at the project itself.
| Chat window | Claude Code | |
|---|---|---|
| Sees your code | Only what you paste | Searches and reads files in the project |
| Applies changes | You copy them by hand | Edits files directly, after approval |
| Checks its work | Cannot | Can run tests, linters and the build |
| Context of your conventions | You repeat it every time | Reads a project memory file |
What it is good for
- Understanding a codebase you did not write.
- Fixing bugs when you can describe the symptom.
- Small and medium features that touch a few files.
- Writing tests for existing code.
- Mechanical refactors, such as renaming across many files.
- Drafting commit messages and pull request descriptions.
What it is not
It is not a replacement for knowing your craft. It makes mistakes. It can misread a requirement, write code that looks right but fails an edge case, or confidently use a library function that does not exist. The code that reaches production is still your responsibility, which is why much of this course is about review.
A first prompt, as a taste
Here is the kind of request that works well on day one. It is a question, so nothing is changed.
Give me a tour of this project. What does it do, how is it structured, how do I run it and how do I run the tests? Point to the files that tell you each thing.
Why it works
It is read-only, so it is safe. It asks for evidence ("point to the files"), which lets me check the claims. And it asks for the two things every new developer needs first: how to run the app and how to run the tests. If the answer is wrong, I learn early how well the tool understands this project, before I trust it with edits.
A second early prompt:
Find where user passwords are validated. Explain the flow from the login request to the check, listing each file and function in order. Do not change anything.
"Do not change anything" is a useful phrase while you are learning. It makes the intent plain.
Terminal and IDE
The terminal is the home of the tool, and it offers the full set of features. IDE integrations bring it closer to your editor, for example showing proposed changes in the editor's diff view. The details depend on your editor and the current version of the integration, so follow the official instructions for yours. The ideas in this course are the same either way.
Accounts and cost
Using it requires an account with Anthropic, through one of the supported ways of signing in, and usage is limited or billed according to your plan. Plans and prices change, and I will not quote any. Check the official pricing page before you rely on it for daily work.
The common mistake
The common mistake is expecting a magic button. People type "build me an app" and are surprised by a mess. The tool works best when you give it a clear, bounded task and review the result, just as you would with a new colleague on their first week.
Try it yourself
Before installing anything, write down three tasks in a project of yours that you do not enjoy: for example writing tests for old code, finding where a setting is used, or cleaning up naming. Mark each one as "read-only", "small change" or "large change". You will use this list in the next lessons to choose your first real tasks.
This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.
Sign up free I already have an account