Back to website
Mayank Aggarwal Learning Center

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.

  • 28:29 video
  • 2 min read
  • Beginner
01

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.

02

The concept

Chat assistant vs coding agent#

Chat assistantCoding agent (Claude Code)
You copy code in and outIt reads and edits files in your project directly
Sees only what you pasteCan search and explore the whole codebase
Suggests commandsCan run commands and tests, and react to the output
One answer per questionPlans and works through multi-step tasks

A good workflow#

  1. Start in your project folder, so the agent sees the right files.
  2. 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/."
  3. Let it plan first for anything non-trivial, and read the plan before it writes code.
  4. Review every change. Read the diff as you would a teammate's pull request.
  5. Verify: run the app and the tests yourself.
  1. Start in your project folder
  2. Describe the goalnot just the action
  3. Let it plan firstread the plan before it writes code
  4. Review every changeread the diff
  5. 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:

Markdown
# 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#

VagueClear
"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."
03

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.

04

Recap & next

Key takeaways

  1. Claude Code is an agentic coding tool: it reads your codebase, edits files and runs commands.
  2. Describe the goal clearly, let it plan, then review every change before accepting it.
  3. A CLAUDE.md file in your project gives it standing instructions and conventions.
  4. You stay the engineer: you own the design decisions and the final review.

Quick check

2 questions · instant feedback

1What is a CLAUDE.md file for?
2Your role when using an AI coding agent is to…

Finished this lesson?

Mark it complete to track your progress and keep your streak going.

Next