1.2

Your First Conversation

Learning the rhythm of working with Claude Code

πŸ’¬ Tutorial ⏱️ ~10 minutes

Claude Code isn't just a chatbotβ€”it's an AI that can see your files, run commands, and make changes. Let's learn how to have a productive conversation with it.

πŸš€ Starting a Session

Navigate to a project folder (or create one) and start Claude Code:

cd ~/Documents/Projects/terminal-practice claude

You'll see Claude Code start up. The interface is simple: a prompt where you type, and responses that appear below.

πŸ‘€ Claude Can See Your Folder

Here's the key difference from chatting with Claude in a browser: Claude Code can see the files in your current folder. Try asking:

What files are in this folder?

Claude will actually look at your folder and tell you what's there. If the folder is empty, it'll say so. If there are files, it'll list them.

✨ This Is the Magic

Claude Code doesn't just talkβ€”it can look at your actual files and folders. This means you can ask questions about real code, real documents, real projects. Not hypotheticals.

πŸ”„ The Conversation Flow

A typical Claude Code conversation has a rhythm:

  1. You ask for something β€” "Create a file called hello.txt"
  2. Claude explains what it will do β€” "I'll create hello.txt with..."
  3. Claude asks for permission β€” "Should I proceed?"
  4. You approve (or modify) β€” "Yes" or "Actually, name it greeting.txt instead"
  5. Claude does it β€” Creates the file, shows you what it did

This permission step is important. Claude Code won't change your files without asking first. You're always in control.

πŸ“

Starter Prompts Template

10 ready-to-use prompts for your first Claude Code sessions

πŸ“„ Preview PDF
Download PDF

πŸ§ͺ Guided Practice: Your First Conversation

Let's walk through a complete conversation together. Follow along in your terminal:

🎯 Activity: Create Your First File

Start Claude Code in your practice folder
Make sure you're in ~/Documents/Projects/terminal-practice and run claude
Ask Claude what's in the folder
Type: What files are in this directory?
Expected response: Claude will list any files you created in Module 0, or say the folder is empty
Create a simple text file
Type: Create a file called notes.txt with the text "My first Claude Code file"
Expected: Claude will show you what it's about to create and ask for confirmation
Approve the action
Type: yes or just press Enter
Expected: Claude creates the file and confirms it's done
Verify the file exists
Type: Show me the contents of notes.txt
Expected: Claude will read and display the file contents
Make a change
Type: Add another line to notes.txt that says "Added by Claude Code"
Expected: Claude proposes the change, you approve, and it updates the file
Exit Claude Code
Type: /exit or press Ctrl+C twice
You'll return to your normal terminal prompt
Verify in Finder
Open Finder, navigate to your practice folder, and double-click notes.txt
You should see both lines of text you created with Claude

βœ… Success Check

You'll know you've got this when: you can start a Claude Code session, create or modify a file through conversation, and see the changes persist in your actual file system.

πŸ’¬ Example Conversation

Here's what a real first conversation might look like:

You:

Create an HTML file called hello.html with a simple "Hello World" page

Claude:

I'll create a basic HTML5 page with "Hello World" content. Here's what I'll create:

[Shows the HTML code]

Should I proceed?

You:

Yes

Claude:

βœ“ Created hello.html

The file is ready! You can open it in a browser to see the result.

You:

Can you add some CSS to center the text and make it blue?

Claude:

I'll add an internal CSS style block to center the text and color it blue...

[Shows the modified code]

Should I update hello.html with these changes?

Notice how the conversation builds: you make a request, Claude shows you what it will do, you approve, then you can iterate with follow-up requests.

⌨️ Useful Commands

Inside Claude Code, you can use special slash commands:

Essential Slash Commands

/help β€” See all available commands
/clear β€” Clear the conversation history (fresh start)
/exit β€” Quit Claude Code and return to terminal

⚑ Pro Tip

Press Ctrl+C once to cancel a running operation. Press it twice quickly to exit Claude Code entirely. This is faster than typing /exit.

πŸ’‘ Tips for Good Conversations

Be Specific

"Create a file" is vague. "Create a file called index.html with a basic HTML5 template including a title and heading" is better. The more specific you are, the better Claude can help.

Ask Questions

If you're not sure what to do next, ask Claude. "What would you suggest?" or "What are my options here?" Claude can help you think through problems.

Review Before Approving

When Claude shows you what it's about to do, actually read it. Make sure it matches what you want. It's easier to correct course before changes happen than after.

Iterate and Refine

Don't expect perfection on the first try. Ask Claude to modify or improve its work. "Can you add error handling?" or "Make the code more readable" are perfectly valid requests.

🏁 End Your Session

When you're done, type:

/exit

Or press Ctrl+C twice. You'll return to your normal terminal prompt.

Any files Claude created are real files in your folder. Open Finder and navigate thereβ€”you'll see them.

πŸ“š Resources & Further Reading

πŸ’­ Pause & Reflect

Before moving on, take a moment to consider:

  • What surprised you about conversing with Claude Code?
  • How does this feel different from using ChatGPT or Claude.ai?
  • What's the first real thing you want to build?

🎯 First Conversation Complete!

You know how to talk to Claude Code. Now let's build something real.

Topic 1.2 Complete β€’ Up Next: 1.3 – Building Something Small