- VS Code is a free code editor with three main areas: the explorer for your files, the editor for reading and changing code, and the terminal where commands run.
- Check the publisher before you install an extension. The real Claude Code extension is published by Anthropic.
- Switch to Manual while you're learning. Recent versions start in Auto, which edits most files without asking. Manual shows each change side by side and asks first.
- Small, clear requests name the file, the one change and what not to touch.
- A change isn't done until you've checked it works. The AI can be confidently wrong.
AI Development Academy · Part 1 · Lesson
How to Set Up VS Code with Claude (and Make AI Ask Before It Edits) | AI Development Academy Ep. 1
Paul asks Nova to make one button blue. She redesigns his whole website and deletes his invoice system. In Lesson 1 of Commits and Conflicts: AI Development Academy, Paul sets up a better workbench, where the AI asks first.
Show more
You'll learn the three main areas of VS Code, how to install the Claude Code extension safely, how to switch Claude to the mode that asks before it edits, how to turn a vague request into a small, clear one, and how to read a change before you accept it.
📥 Free setup checklist and prompt card:
https://commitsandconflicts.com/videos/t-nLogdfzMs
⏱️ CHAPTERS
00:00 Cold open: "Can the button stay blue?"
0:00 Today's session
0:00 Meet VS Code
0:00 Add Claude
0:00 Make it ask first
0:00 Your first safe change
0:00 Takeaway and homework
🧰 WHAT YOU NEED
Visual Studio Code (free): https://code.visualstudio.com
The Claude Code extension, published by Anthropic
A paid Claude plan or a Claude Console account
Official setup guide: https://code.claude.com/docs/en/vs-code
⚙️ SETUP STEPS
1. Install VS Code and open it.
2. Open the Extensions view (Ctrl+Shift+X, or Cmd+Shift+X on a Mac).
3. Search for "Claude Code" and check that the publisher is Anthropic. Install it.
4. Open a file, click the spark icon at the top right of the editor, and sign in.
5. At the bottom of the prompt box, switch the mode to Manual while you're learning, so Claude asks before it edits.
✅ YOUR FIRST SAFE CHANGE
1. Make a copy of your practice project.
2. Open the folder in VS Code.
3. Ask Claude to explain the project, without changing anything.
4. Ask for one small, clear change.
5. Read the side-by-side view, then accept or reject.
6. Open the page and check it works.
🧠 PROMPT: EXPLAIN FIRST
Explain what this project does. Don't change any files.
🧠 PROMPT: ONE SMALL, CLEAR CHANGE
In index.html, change the contact button's background color to blue.
Only change that button. Don't edit any other file.
Show me the change before you make it.
📝 TEMPLATE FOR SMALL REQUESTS
In [which file], change [one thing]. Don't touch [everything else].
🏠 YOUR HOMEWORK
• Install VS Code and the Claude Code extension from Anthropic
• Switch Claude to the mode that asks before editing
• Ask Claude to explain a small practice project without changing anything
• Make one small change, and read the side-by-side view before you accept it
• Keep your practice project ready for Lesson 2
Menus and mode names change as the tools are updated. If anything looks different, check the official setup guide. The website and AI answers in the episode are invented for the example.
▶️ NEXT: Lesson 2, GitHub Copilot in VS Code:
Commits and Conflicts is a comic strip about a developer, his AI assistant, and the bugs in their relationship. Created by Paul Haines. Produced by CSP Geeks.
Lesson materials
This week's homework
0 of 5 done
Before you accept any AI change
0 of 5 done
Your ticks are saved on this device. Subscribe free or sign in to keep them on every device.
Attachments
-
Download ai-dev-lesson-01-prompt-card (opens in a new tab)
ai-dev-lesson-01-prompt-card
PDF · 109 KB
-
Download ai-dev-lesson-01-setup-checklist (opens in a new tab)
ai-dev-lesson-01-setup-checklist
PDF · 109 KB
Key points
Setup steps
- Install VS Code from code.visualstudio.com and open it.
- Open the Extensions view with Ctrl+Shift+X, or Cmd+Shift+X on a Mac.
- Search for Claude Code, check that the publisher is Anthropic, and install it.
- Open a file, click the spark icon at the top right of the editor, and sign in.
- At the bottom of the prompt box, switch the mode to Manual.
You need a recent version of VS Code, and a paid Claude plan or a Claude Console account. Menus and mode names change as the tools are updated, so check the official guide if anything looks different.
The prompts from this lesson
Explain first
Explain what this project does. Don't change any files.
One small, clear change
In index.html, change the contact button's background color to blue.
Only change that button. Don't edit any other file.
Show me the change before you make it.
The first line names the file and the one change. The second line sets a boundary. The third asks to see the change first.
A template for small requests
In [which file], change [one thing]. Don't touch [everything else].
Example: In the homepage file, change the contact button color to blue. Don't touch any other file.
Your first safe change
- Make a copy of your practice project.
- Open the folder in VS Code.
- Ask Claude to explain the project, without changing anything.
- Ask for one small, clear change.
- Read the side-by-side view, then accept or reject.
- Open the page and check it works.
Claude keeps checkpoints during a conversation, so you can rewind its edits. That helps, but it isn't a backup. Until Lesson 3 sets up Git, your copy is your only backup.
Sources
- Use Claude Code in VS Code, Anthropic
- Download Visual Studio Code, Microsoft
Downloads
Two downloads are in the Attachments on this page: the AI Development Lesson 1 setup checklist, with the install steps and your first safe change, and the small, clear requests prompt card.
More videos
AI Academy for Agencies · Part 3 · Lesson
Build Your Ideal Client Avatar with AI | AI Academy for Agencies, Lesson 3 (plays video)
Episode 9 · Short
Episode 9: On Timeout | AI Usage Limits (plays video)
SEO Academy · Part 1 · Lesson