Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • AI
Labs

Introduction to Claude Code

Claude Code is an agentic AI-based coding assistant that can be used to audit, troubleshoot, and even write code. In this lab, you will get hands-on experience with using Claude Code by observing the agentic loop, using modes, managing manual and auto-approvals, setting up Claude to use existing test suites while coding, exploring Claude Code’s working memory and context both with and without the CLAUDE.md file, and using Skills.

Lab platform
Lab Info
Level
Intermediate
Last updated
Nov 03, 2026
Duration
1h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Introduction

    Claude Code lets you review, troubleshoot, and create coding projects using AI tooling. In this lab, you will get hands-on experience with Claude Code, observing how it works to understand and make changes to a code base, and practicing prompting for these tasks and changes. You will discover the agentic loop, leverage different approval modes, prep Claude Code to use test suites, experience Claude's context and working memory functions, and see how to use a Claude Skill to perform specific, rote tasks.

    A small Python service that tracks inventory has been provided for use in this lab. If desired, review the service under the inventory directory now ... or wait until it's time to prompt Claude to do it!

  2. Challenge

    The agentic loop

    When you ask Claude to perform a task, Claude enters the agentic loop: this is a cycle of behaviors where Claude reviews the given task, determines next steps, and then performs actions to resolve the task presented. These actions can involve running commands, code, and tests; querying for more information; observing application behavior; and a variety of other acts that let Claude "learn" what it needs to know to effectively complete the prompted action, including repeating and stopping actions.

  3. Challenge

    Approvals and approval modes

    Notice the bottom of your Claude Code prompt: Claude should currently be in manual mode. This means Claude will ask your permission to perform any actions that will affect change on your application. When asked to approve changes, you will have the option to accept or deny the changes, or approve all changes for the current session.

    Should you approve all changes for the current session, Claude will be able to alter your code base without prompting until you exit the Claude session.

  4. Challenge

    Claude and test suites

    To best set Claude up for success when using it to troubleshoot, implement features, or otherwise make changes to your code, you should have Claude leverage existing test suites. This can be done by including information about these suites in your prompt, or by providing instructions regarding a code implementation workflow in your CLAUDE.md file, which will be covered later.

  5. Challenge

    Claude's working memory

    Claude remembers previous parts of your session via its context window, which functions as a temporary workspace for holding conversation history and the actions it performed in relation to that history, as well as system prompts, tool definitions, and file contents read by Claude. You can view your active context usage via the /context command, which breaks down how the context is being used.

    Performance can drop and token-spend increase as the context for a session grows longer, wherein Claude begins to miss information stored in its context and otherwise degrade. To resolve this, you can run the /compact command, which has Claude create a summary of the previous context that it can reference, ensuring your Claude session remains within the context window and working smoothly.

    Alternatively, if you wish to proceed in your session but have no need for the previous context, such as when you are working on a completely new feature or bug, you can clear the existing context via the /clear command.

  6. Challenge

    Creating standing context with a CLAUDE.md file

    Every time you exit your Claude session, your working memory is lost. To ensure Claude can orient itself in your project every time you start a Claude session, you can leverage a CLAUDE.md file within your project root to provide Claude standing context.

    The CLAUDE.md file should instruct Claude on the project itself, including how it's built and expected coding styles and standards. It can also include workflow information about how Claude should interact with the project, such as telling it to create new git branches and always run the test suite when changing code.

    You can create the CLAUDE.md file yourself, or have Claude generate one via the /init command.

  7. Challenge

    Claude skills

    Claude skills are folders that contain instructions, scripts, and resources for Claude to use when encountering or performing repetitive tasks. These can be found in the .claude/skills directory of your project. The skill itself is defined in a SKILL.md markdown file -- much like how the CLAUDE.md file defines important information regarding your project to Claude's standing context.

    Creating a Claude skill for common tasks will improve Claude's consistency and performance when performing that task. You can view the current skills for your project via the /skills command.

About the author

With a background at a cloud hosting company, I started learning Linux and DevOps from the bottom up as a technical writer set out to document configuration management systems. Falling in love with Linux, DevOps and tech as a whole, I eventually took my ability to explain technical concepts to wide audiences to the training area, creating courses on Red Hat, SaltStack, HashiCorp, LXD, Docker, and more.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight