claude-mastery-course

πŸ“Š The Visual Reference

All the key visuals from the course in one place. Bookmark this page.


πŸ—ΊοΈ Course flow

Β  Β  Β  Β  Β 
πŸ‘‹ 01 Intro β†’ πŸš€ 02 Getting Started β†’ πŸ’‘ 03 Prompting
Β  Β  Β  Β  ↓
πŸ—οΈ 08 Projects ← πŸ§ͺ 07 Advanced ← πŸ› οΈ 04 Features
↓ Β  ↑ Β  ↓
πŸ“š 09 Resources Β  βš™οΈ 06 API ← πŸ’» 05 Claude Code

🧠 The three Claude surfaces

πŸ‘€ You
   β”‚
   β”œβ”€β”€β–Ά πŸ’¬ Claude.ai      (chat β€” web, mobile, desktop)  ─┐
   β”œβ”€β”€β–Ά πŸ’» Claude Code    (terminal coding agent)        ─┼──▢ 🧠 Claude
   └──▢ βš™οΈ Claude API     (build your own apps)          β”€β”˜

πŸ’Ž The model family

                          INTELLIGENCE
                              β–²
                       πŸ’Ž Opusβ”‚
                              β”‚
                              β”‚  ⚑ Sonnet
                              β”‚
                              β”‚            πŸš€ Haiku
                              └──────────────────────────►
                                                  SPEED & COST
Β  πŸ’Ž Opus ⚑ Sonnet πŸš€ Haiku
Best for Hardest tasks Daily driver High volume
Examples Complex reasoning, agentic coding 90% of production work Classification, simple Q&A

🎯 The 6 ingredients of a great prompt

                          🎯 Great Prompt
                                β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό           β–Ό           β–Ό           β–Ό           β–Ό
   🎭 ROLE     πŸ“‹ CONTEXT    🎯 TASK    πŸ“ CONSTRAINTS  πŸ“¦ FORMAT  🌟 EXAMPLES

πŸ› οΈ Diagnosing a bad prompt

🚨 Bad output? Walk down this list β€” first match wins.

If… Then…
❓ Task is ambiguous Add: β€œAsk me 3 clarifying questions first”
🎨 Wrong tone or format Add: an example or a format spec
🧩 Complex multi-step task Break into a chain of smaller prompts
🧠 Reasoning is shallow Add: β€œThink step-by-step before answering”
πŸ“‹ Details are missing Add: role + context + constraints
🀷 Still bad? Try a different model (Sonnet β†’ Opus)

πŸ“ The Claude.ai feature universe

Area What’s in it
πŸ—οΈ Workspace Projects Β· Custom Instructions Β· Style Presets
πŸ“₯ Inputs File Uploads Β· Images Β· PDFs Β· Spreadsheets
πŸ“€ Outputs Artifacts Β· Code Execution Β· File Creation
🌐 Live data Web Search · Research Mode
🧠 Memory Cross-chat memory · Past chat search
πŸ”Œ Connectors Google Workspace Β· GitHub Β· Slack Β· Notion Β· 40+ more
πŸŽ’ Skills PowerPoint Β· Excel Β· Word Β· Custom Skills

πŸ”„ Claude Code’s core loop

   πŸ‘€ You describe a goal
            β”‚
            β–Ό
   🧠 Claude plans  ◀──────────────┐
            β”‚                      β”‚
            β–Ό                      β”‚
      Read-only or edit?           β”‚
       β”‚            β”‚              β”‚
       β–Ό            β–Ό              β”‚
  πŸ“– Read       πŸ“ Propose         β”‚
   files         edit              β”‚
       β”‚            β”‚              β”‚
       β”‚            β–Ό              β”‚
       β”‚     πŸ‘€ You approve?       β”‚
       β”‚      β”‚           β”‚        β”‚
       β”‚     yes          no ──▢ πŸ’¬ push back β”€β”€β”˜
       β”‚      β–Ό
       β”‚   ✏️ Apply
       β”‚      β”‚
       β–Ό      β–Ό
   πŸ’¬ Report  ── Done? ──▢ βœ… Finished
                  β”‚
                  no ──▢ (back to plan)

πŸ€– The agent loop (API)

🎯 Goal
   β”‚
   β–Ό
🧠 Plan  ◀──────────────┐
   β”‚                    β”‚
   β–Ό                    β”‚
  Tool needed?          β”‚
   β”‚           β”‚        β”‚
   yes         no       β”‚
   β–Ό           β–Ό        β”‚
πŸ”§ Call tool   β”‚        β”‚
   β”‚           β”‚        β”‚
   β–Ό           β”‚        β”‚
πŸ‘€ Result      β”‚        β”‚
   β”‚           β”‚        β”‚
   β–Ό           β–Ό        β”‚
  Done?                 β”‚
   β”‚       β”‚            β”‚
   no  β”€β”€β”€β”€β”˜ (loop)     β”‚
   β”‚                    β”‚
   yes                  β”‚
   β–Ό                    β”‚
πŸ’¬ Answer ──▢ βœ… Done    β”‚

πŸ”Œ Tool use sequence

1.  πŸ‘€ User       ──▢  🧠 Claude     "Should I bring a jacket?"
2.  🧠 Claude     ──▢  πŸ’» Your code   tool_use: get_weather("Paris")
3.  πŸ’» Your code  ──▢  πŸ’» Your code   calls weather API
4.  πŸ’» Your code  ──▢  🧠 Claude      tool_result: {temp: 14, drizzle}
5.  🧠 Claude     ──▢  πŸ‘€ User        "Yes β€” 14Β°C, drizzly. Light jacket."

🌐 MCP architecture

🧠 Claude Β  ──MCP──▢ Β  πŸ“§ Mail Β· πŸ™ GitHub Β· πŸ—„οΈ Database Β· πŸ““ Notion Β· βž• any other MCP server

Each server exposes tools (actions Claude can take), resources (data Claude can read), and prompts (templates).


πŸ’° The cost-saving router pattern

                                              β”Œβ”€β”€β–Ά πŸš€ Haiku   (easy 90%)   ──▢ πŸ’¬ Answer
πŸ‘€ User query  ──▢  ⚑ Router (cheap/fast) ───
                                              └──▢ πŸ’Ž Opus    (hard 10%)   ──▢ πŸ’¬ Answer

πŸš€ Production checklist

Walk top to bottom before shipping any Claude-powered app:

# Step What to check
1 πŸ”’ Secrets in vault No keys in code, repo, or logs
2 ⏱️ Rate-limit endpoint Don’t expose raw API to users
3 πŸ’° Cost caps + alerting Anomaly alerts on token spend
4 πŸ” Retries with backoff Handle 429s and 5xxs gracefully
5 πŸ“ Logging + PII redaction Audit trail, but no leaks
6 πŸ§ͺ Eval set Regression tests on every prompt change
7 πŸ›‘οΈ Fallback model Survive model outages
8 πŸ’Ύ Prompt caching Static context > 1024 tokens? Cache it
9 πŸš€ Ship it! Β 

πŸ“š The four projects (Module 8)

# Project Skills
1️⃣ πŸ’¬ CLI Chatbot Streaming Β· multi-turn Β· system prompts
2️⃣ πŸ“„ Doc Q&A RAG Β· caching Β· file parsing
3️⃣ πŸ” Research Agent Tool use Β· planning Β· web fetch
4️⃣ πŸ€– Code Reviewer Structured outputs Β· git integration Β· JSON schema

πŸ‘‰ Want this interactively? Open hub.html in your browser.