Tutorials / Claude Code: AI-Assisted Coding from First Prompt to Daily Workflow / What Claude Code is and how it differs from a chat window

What Claude Code is and how it differs from a chat window

10 min read text
Course contents (20 lessons)
  1. Meet Claude Code
  2. What Claude Code is and how it differs from a chat window
  3. Installing Claude Code and signing in
  4. Your first session: explore, ask, change
  5. Asking well and staying in control
  6. Asking for changes: context, goal, constraints and acceptance criteria
  7. Reading and approving edits
  8. Permission modes: how much freedom to give
  9. Project memory and slash commands
  10. CLAUDE.md: teaching the tool about your project
  11. Slash commands and custom commands
  12. Everyday coding workflows
  13. The plan-first workflow
  14. Understanding unfamiliar code
  15. Debugging with Claude Code
  16. Refactoring safely
  17. Writing tests with Claude Code
  18. Git, small changes, cost and security
  19. Git workflows: branches, commits and pull request descriptions
  20. Keeping changes small and reviewable
  21. Context and cost awareness
  22. Security habits: secrets, commands and untrusted input
  23. Extending the tool, teamwork and a final project
  24. Hooks and MCP servers explained
  25. Team practices for AI-assisted coding
  26. 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 windowClaude Code
Sees your codeOnly what you pasteSearches and reads files in the project
Applies changesYou copy them by handEdits files directly, after approval
Checks its workCannotCan run tests, linters and the build
Context of your conventionsYou repeat it every timeReads 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