Skip to main content
Code Guide

Learning to Code with AI

The guide for developers who want to use AI to accelerate their learning — without becoming dependent on it.

The hard truth: AI can make you 3x more productive or unemployable in 3 years. Which path you take depends entirely on how you use it.

Choose Your Path

Learning tracks adapted to your experience level and role. Pick yours before diving in.

Junior Developer

Foundation path for newcomers

  1. Read the Cheat Sheet
  2. Create your first CLAUDE.md
  3. Practice with simple tasks
  4. Learn diff review workflow
  5. Explore slash commands
  6. Take the beginner quiz

Senior Developer

Intermediate efficiency boost

  1. Skim Quick Start
  2. Set up custom hooks
  3. Configure MCP servers
  4. Create project-specific agents
  5. Master Plan Mode
  6. Build automation workflows

Product Manager

Overview for non-technical roles

  1. Read Architecture overview
  2. Understand capabilities
  3. Review privacy guide
  4. Learn team integration
  5. Explore use cases

DevOps / SRE

Infrastructure and reliability focus

  1. Setup Claude for infrastructure
  2. Master the FIRE debugging framework
  3. Practice K8s troubleshooting
  4. Automate incident response

Product Designer

Design-to-code workflow with Figma MCP

  1. Learn image analysis basics
  2. Explore wireframing tools
  3. Setup Figma MCP
  4. Master design-to-code workflow
  5. Print cheat sheet

Quick Self-Check

Answer each question honestly. Your score appears after answering all 5.

Can you explain the last piece of code AI generated for you?
Have you debugged code without AI this week?
Do you understand WHY the solution works, or just that it compiles?
Could you write the same function without AI assistance?
Do you know the limitations of AI for this type of problem?

The Three Developer Patterns

Which one are you? Be honest.

Dependent

Signs: Copy-paste without understanding, can't debug AI code, anxiety without AI

→ Read "Breaking Dependency" section

Avoidant

Signs: Refuses AI "on principle", slower than peers, missing out on productivity gains

→ Read "Embracing AI Tools" section

Augmented

Signs: Uses AI critically, understands everything, can work with or without AI

→ Read "Optimizing Your Flow" section

Configure Learning Mode

Claude Code can be configured to support your learning, alongside producing code.

CLAUDE.md Configuration

Add this to your project's CLAUDE.md to make Claude ask questions before generating code:

## Learning Mode
Before generating code, ask me:
1. What approaches have I considered?
2. What am I stuck on specifically?
3. What do I expect the solution to look like?

If I skip these, remind me to think first.
Full Template →

Slash Commands for Learning

/explainExplain existing code (built-in)
/learn:quizTest your understanding after implementing
/learn:teachStep-by-step explanation of a topic
/learn:alternativesShow other approaches & trade-offs
View /learn: commands →

The 70/30 Rule

Balance producing and learning each week:

70% Produce
30% Learn
  • 70% Production: Use AI freely, focus on output
  • 30% Learning: No AI, or AI as teacher only

The UVAL Protocol

Your framework for learning with AI without losing skills.

U

Understand First (15-min Rule)

Before asking AI: State the problem in ONE sentence. List 3 possible approaches. Identify what you DON'T know. Then ask AI with context.

# In your CLAUDE.md
Before generating code, ask me:
1. What approaches have I considered?
2. What specifically am I stuck on?
V

Verify (Explain It Back)

If you can't explain the code to a colleague, you don't really understand it.

# Use /learn:quiz command after code generation
Claude asks YOU to explain what the code does
A

Apply (Transform, Don't Copy)

Never copy-paste raw. Modify at least one element (variable name, structure, or edge case) to force genuine understanding.

Forbidden: Copy-paste verbatim
Required: Adapt to your context
L

Learn (Capture the Insight)

End each session by capturing one thing you learned. A single insight, not a full journal.

# Session-end hook automatically asks:
"What's ONE thing you learned today?"
→ Logs to ~/claude-learnings.md

30-Day Progression Plan

Week-by-week guide to mastering AI-assisted development.

WeekFocusAI RatioExercise
Week 1Foundations20% AIBuild feature WITHOUT AI, then compare
Week 2Understanding40% AIUse AI, but explain every line
Week 3Critical Use60% AIChallenge AI suggestions, find bugs
Week 4Augmented70% AIFull productivity with verification

Ready-to-Use Templates

Configure Claude Code to support both learning and producing.

Learning Mode CLAUDE.md

Configuration that makes Claude explain the reasoning before generating the code. Includes challenge mode and interview prep.

View →

/learn: Commands

Quiz, teach, and explore alternatives. Namespaced commands for learning workflows.

View →

Learning Capture Hook

Session-end hook that prompts for ONE learning insight. Builds a learning journal with zero friction.

View →

Choose Your Methodology

AI amplifies both good and bad code, so structuring your workflow matters.

TDD

Critical business logic

Red-Green-Refactor with AI. Write the test first, let Claude implement the minimum code to pass. Catches regressions before they ship.

Test-Driven

SDD

Architecture upfront

Design before code. Spec the interfaces, validate with Plan Mode, then generate implementation. Best for complex systems.

Spec-Driven

BDD

PM/dev collaboration

User stories become tests. Given/When/Then scenarios that both PMs and developers understand. Bridge the communication gap.

Behavior-Driven

GSD

Throwaway prototypes

Ship fast and verify later, for situations where speed beats perfection. Refactor or delete once you've validated the concept.

Get-Stuff-Done
Personalized Learning

Start With Interactive Onboarding

Claude asks 2-4 questions about your profile, then guides you through personalized content

1

Choose your language
English or French

2

Select your goal
Learn, audit setup, or explore

3

Pick your level
Junior, Senior, or Power User

4

Get personalized path
Curated content for you

Ready to Learn the Right Way?

The full guide includes: Red flags checklist, breaking dependency strategies, case studies, and more.