Claude Code Mastery: Agentic Coding from the Terminal (multi-file, git, CI, MCP)
Contents 9 sections

Module 1 Claude Code Fundamentals: Installation, CLI and the Agent-First Mental Model

Agent-First vs IDE-First: Why Agentic Coding from the Terminal Changes the Rules of the Game

Lesson 1 of 28 52 min read Free preview, no account needed
Save Notes Quiz In the course
The AI Professor knows this lesson Select any passage and get the explanation on the spot. Try it now in the demo.

Most developers who try an AI programming assistant use it without tapping into what it can truly do: they keep it captive inside the editor, like a smarter autocomplete that proposes the next line, while they remain the ones opening files, positioning the cursor, and running commands. Claude Code proposes something radically different — an agent that lives in the terminal, takes over execution based on your intent, and closes the loop on its own between reading code, modifying it across multiple files simultaneously, and running the tests. The difference is not one of interface, but of role: you stop being the typist who translates intent into every character and become the director who formulates it and judges its result. And this entire shift begins with a distinction worth internalizing from the very start: agent-first versus IDE-first.

What Claude Code Is

Claude Code is a terminal-first coding agent developed by Anthropic. Unlike an autocomplete plugin that lives inside an editor, Claude Code is a standalone program that runs on the command line (CLI) and receives controlled access to your project directory, the file system, and the shell.

Anthropic distributes Claude Code in two main forms, officially documented at code.claude.com/docs:

  • CLI (Command-Line Interface) — typically installed via npm (npm install -g @anthropic-ai/claude-code) or through the official installer. This is the form you will use daily, interactively, from the terminal.
  • SDK (Software Development Kit) — libraries for TypeScript and Python that let you embed the agent's capabilities into your own applications, pipelines, and automations. The SDK is the foundation on which the more advanced integrations are built (for example, agents running in CI).

The code and documentation are publicly accessible: the official repository is github.com/anthropics/claude-code, and the official action for GitHub integration lives at github.com/anthropics/claude-code-action. The fact that we are talking about a tool with a public, versioned, documented presence matters: it means you can verify its behavior, read the changelog, and not rely on assumptions.

What a terminal-first code agent can concretely do

An agent like Claude Code does not merely suggest your next line. It runs through a complete cycle:

  1. Understands the intent — it receives a natural-language description of what you want to achieve.
  2. Navigates and reads — it explores the project structure, opens the relevant files, searches for definitions and usages.
  3. Edits across multiple files — it makes coordinated changes to several files simultaneously, keeping them consistent with one another.
  4. Runs commands — it executes builds, tests, linters, git commands, within the permission boundaries you have set.
  5. Iterates — it reads the output of commands (for example, a failing test), corrects its own work, and repeats the cycle until the objective is reached or it hits a decision that belongs to you.

This cycle — understand → navigate → edit → execute → observe → correct — is the essence of what we call agentic coding.

The Two Mental Models: Agent-First vs IDE-First

To use Claude Code correctly, you need to internalize the distinction between the two paradigms. They are not merely different interfaces; they assume different roles for you, the developer.

IDE-First: intelligence as a layer on top of the editor

In the IDE-first model, the AI assistant is an assistance layer overlaid on your editor. You remain the direct driver of every action: you open the files, you position the cursor, you accept or reject each suggestion. The intelligence manifests predominantly through:

  • Autocomplete (completion) — as you type, the model proposes the rest of the line or block.
  • Inline suggestions — code fragments offered in context, which you accept with a keystroke.
  • Side chat — a conversation in which you ask for explanations or snippets, but you copy/apply them manually.

The rest of the lesson is in the course

Unlock the rest of this lesson and the 27 other lessons.

  • 28 lessons, with a quiz in every lesson
  • AI Professor in every lesson, fair use
  • Publicly verifiable Certificate of Completion
  • Instant access; stop the renewal anytime from your account

What's next in this lesson

  • Why the Terminal, Not the Editor
  • The 2026 Anthropic Models and Their Role in Routing
  • A Concrete Example: The Same Task, Two Paradigms
  • The Boundaries of This Lesson (What We Do NOT Cover Now)
  • The Execution Loop and the Role of Context
  • Why It Matters Now: The Maturing of the Ecosystem
  • Conclusion: A Change of Role, Not Just of Tool

Interactive demo

Your account, before you pay

The real app, in a sample account with no subscription: the home page, the subscriptions, the learning paths, the catalog. Nothing is saved and you don't need an account.

courses-ai.com/app Interactive demo · sample account

In every lesson

The AI Professor starts from the lesson you have open

You ask it in writing or by voice, right from the lesson, and you can listen to the answer on request. Where needed, it fills in from general knowledge. When you select a passage, a bar appears with “Explain this to me”, “Give me an example”, “Why does it matter?” and “My own question”.

Its panel has four tabs:

  • Conversation: you ask, it answers starting from the lesson
  • Summary: the key ideas of the lesson, point by point
  • AI Quiz: 3, 5 or 10 new questions from the lesson, with explanations
  • Review: flashcards made from the lesson

Included in every subscription and in single-course access, within a fair-use limit.

Screenshot from the app: the AI Professor panel, open in a lesson.

The demo opens on a lesson from the course “AI for Business Leaders”, with prepared answers; voice is off in the demo.

It is an artificial intelligence system, not a human teacher; its answers may contain errors. Details in the Terms & Conditions.

Course curriculum

Everything you'll learn in this course

11 modules · 28 lessons · about 23 hours of reading · advanced level

1 Claude Code Fundamentals: Installation, CLI and the Agent-First Mental Model 3 lessons
  • Agent-First vs IDE-First: Why Agentic Coding from the Terminal Changes the Rules of the Game Reading now 52 min
  • Installation, Authentication, and Your First Run: From npm to Your First Agentic Task 50 min
  • CLAUDE.md as Project Memory: Instructions, Conventions, and Persistent Context 50 min
2 Multi-File and Large Codebases: Plan, Edit, Review and Context Management 3 lessons
  • The Plan / Edit / Review Loop: How the Agent Works on Multiple Files at Once 51 min
  • Context Management in Large Codebases: The Context Window, /compact, and Efficiency Strategies 52 min
  • Refactoring at Scale with Zero Regressions: Migrations, Renames, and Cross-Cutting Changes 53 min
3 The Full Git Workflow: Branches, Commits, Conflicts, Code Review and PRs 3 lessons
  • Assisted Git from the Terminal: Branches, Staging, and Quality Commit Messages 50 min
  • Resolving Merge Conflicts and Assisted Rebase: Strategies for a Clean History 51 min
  • AI-Assisted Code Review and Pull Requests: From Diff to PR with the gh CLI 51 min
4 Headless Mode (claude -p) and Non-Interactive Automation 2 lessons
  • claude -p: Programmatic Execution, Structured Output, and Script Integration 52 min
  • Non-Interactive Pipelines and Batch Operations: Repeatable, Safe Automation 51 min
5 Subagents and Agent Teams: Orchestration, Delegation and Controlled Parallelization 2 lessons
  • Subagents: Context Isolation, the Task Tool, and Defining Specialized Agents 52 min
  • Agent Teams and Controlled Parallelization: Delegation, Orchestration, and Safety Limits 52 min
6 Lifecycle Hooks: Deterministic Guardrails and Custom Automations 2 lessons
  • The Anatomy of Hooks: PreToolUse, PostToolUse, Stop, SubagentStop, and Configuration in settings.json 53 min
  • Hooks in Practice: Deterministic Guardrails, Automatic Formatting, and Custom Validations 52 min
7 CI/CD Integration: GitHub Actions with claude-code-action and GitLab CI/CD 2 lessons
  • claude-code-action on GitHub Actions: Setup, Triggers, and PR Automation 53 min
  • GitLab CI/CD and Portable Agentic Pipelines: Headless Mode on Any Runner 51 min
8 MCP in Practice: Consuming External Tools with Least-Privilege Permissions 2 lessons
  • Connecting Claude Code to MCP Servers: Configuration, Scope, and Transport 52 min
  • Least-Privilege MCP: Minimal Permissions, Tool Approvals, and Trusted Data Sources 52 min
9 Security and Sandboxing: Deny Rules, Least-Privilege and Lessons from Real 2026 CVEs 3 lessons
  • The Code Agent's Threat Model: CVE-2025-59536 and CVE-2026-21852 Dissected 53 min
  • Deny Rules, Permissions, and Never-Run-as-Root: Defensive Configuration of Claude Code 52 min
  • Sandboxing, Isolation, and the OWASP Agentic Top 10: Defense in Depth for Coding Agents 53 min
10 Capstone Project: An End-to-End Agentic Pipeline on a Realistic Repo 3 lessons
  • From Issue to Code: Multi-File Implementation, Branch, and an Agent-Guided PR 53 min
  • Headless, Subagents, and a Generated Guide: Automating Documentation and Verification 52 min
  • CI, Security, and Delivery: claude-code-action, Deny Rules, and the Final Production Posture 53 min
11 2026 Appendix: Official Resources, Updates, Learning Paths and the Agent SDK 3 lessons
  • Official Resources, 2026 Updates, and Learning Paths 34 min
  • Claude Design → Claude Code: The Design-to-Code Handoff (Anthropic Labs, 2026) 18 min
  • Agent SDK: From claude -p to Custom Agents in Production 30 min

At the end

You leave with proof anyone can check

The Certificate of Completion for “Claude Code Mastery: Agentic Coding from the Terminal (multi-file, git, CI, MCP)”: a private attestation with a unique number and a QR code. A recruiter confirms it is authentic on the public verification page, with no account and no cost.

Example of a Cursuri AI Certificate of Completion with sample data: the serial number and the issue date in the top-right corner, the holder’s name, the course, the tier awarded, the percentage of lessons, the average score, the study time, the course version, the issuer and the verification QR code
The real document, an A4 PDF, shown here with sample data. Yours carries your name, the course “Claude Code Mastery: Agentic Coding from the Terminal (multi-file, git, CI, MCP)”, the serial number, the issue date and the tier you earned; the QR code in the image is decorative.
  • Anyone can verify it

    Public verification page, QR code and cryptographic fingerprint, with no account for the person checking.

  • You show it where it counts

    Add it to your CV and LinkedIn profile; a recruiter confirms authenticity with one click.

  • It says exactly what it attests

    The course, the tier you earned (Pass, Merit or Distinction), the serial number and the issue date, plus the percentage of lessons completed.

Frequently asked questions

Good to know before you start

How do I get access to the course?

You can read the beginning of the first lesson right on this page, with no account. For the course you create an account, pick how many courses you want each month — from 1 course to the full catalog — and get access immediately after your payment is confirmed. Everything happens 100% online.

Can I stop my subscription anytime?

Yes. You stop the renewal straight from your account, in just a few clicks. Your access stays active until the end of the period you have already paid for, and nothing more is charged after that.

What does the subscription for this course include?

All 28 lessons in the course, interactive quizzes, the AI Professor built into every lesson (select a passage and choose “Explain this to me”), within a fair-use limit, personal notes, automatically saved progress and content updates included.

Is there a fixed learning schedule?

No. You learn at your own pace, on any device. Lessons are structured step by step, and the platform saves your progress automatically, so you can pick up right where you left off — anytime.

Ready to unlock all the content?

Just this course, €99 / month, VAT included, or 3 courses with this one included, €199 / month, VAT included. You change your courses at every renewal, and the AI Professor is included in your subscription. Your Certificate of Completion stays yours after you stop the subscription.

Instant access Stop the renewal anytime Secure payment via Stripe
From €99 / month, VAT included · Stop the renewal anytime
Unlock the full course

Pick up where you left off, when you have time

We email you the link back to this lesson and what comes next in the course.

  • The link back to this exact lesson
  • What comes next in the course
  • How the AI Professor helps inside every lesson
  • Unsubscribe with one click
  • Address deleted automatically if you do not confirm