Phase 07 · AI-Assisted Engineering with Claude CodeLesson 1 of 4
Claude Code for Beginners
Set up an agentic coding tool and complete your first task with it.
The problem
Claude Code is an agentic coding tool: instead of only answering questions in a chat window, it works directly in your project. It can read your codebase, edit files, run commands and tests, and iterate until a task is done. Used well, it lets one developer do the work of several. Used carelessly, it produces confident mistakes. This lesson is about using it well.
The concept
Chat assistant vs coding agent#
| Chat assistant | Coding agent (Claude Code) |
|---|---|
| You copy code in and out | It reads and edits files in your project directly |
| Sees only what you paste | Can search and explore the whole codebase |
| Suggests commands | Can run commands and tests, and react to the output |
| One answer per question | Plans and works through multi-step tasks |
A good workflow#
- Start in your project folder, so the agent sees the right files.
- Describe the goal, not just the action: "Add a password-reset flow. Users get an email link valid for 30 minutes. Follow the existing patterns in
auth/." - Let it plan first for anything non-trivial, and read the plan before it writes code.
- Review every change. Read the diff as you would a teammate's pull request.
- Verify: run the app and the tests yourself.
- Start in your project folder
- Describe the goalnot just the action
- Let it plan firstread the plan before it writes code
- Review every changeread the diff
- Verifyrun the app and the tests
CLAUDE.md: standing instructions#
A CLAUDE.md file in your project gives the agent context it would otherwise have to rediscover every session:
# Project notes
- Python 3.12, managed with uv. Run tests with: uv run pytest
- API routes live in app/routes/, one file per resource
- Never commit secrets; config comes from environment variables
- Code style: type hints everywhere, small functions
Short, specific notes about commands, structure and conventions make every session faster and more consistent.
Writing good requests#
| Vague | Clear |
|---|---|
| "Fix the bug" | "Submitting the signup form with an empty email crashes with KeyError: 'email'. Show a validation message instead." |
| "Make it better" | "Split process_order into smaller functions and add tests for the discount logic." |
| "Add a feature" | "Add CSV export to the reports page, matching the existing PDF export button." |
Try it
Your task · about 10 minutes
Open a small project in Claude Code and ask it to add one feature. Review the plan before approving, then read every diff it proposes.
Recap & next
Key takeaways
- Claude Code is an agentic coding tool: it reads your codebase, edits files and runs commands.
- Describe the goal clearly, let it plan, then review every change before accepting it.
- A
CLAUDE.mdfile in your project gives it standing instructions and conventions. - You stay the engineer: you own the design decisions and the final review.
Quick check
2 questions · instant feedback
Go deeper
The full course on Claude Code
Udemy course
Claude Ecosystem - AI, Code, Cowork, M365 & Certification
View course (opens Udemy in a new tab)
Finished this lesson?
Mark it complete to track your progress and keep your streak going.