liveBook · Manning

Chapter 5: Getting started with Claude Code

What you will learn in chapter 5 of Claude at Work

Introduces Claude Code’s ability to work autonomously in a repository and the judgment required to decide how much independence to give it.

After this chapter you will be able to

What it builds on

Section by section

Introduction

Introduces Claude Code’s ability to work autonomously in a repository and the judgment required to decide how much independence to give it.

Key terms: Claude Code, agentic coding, repository, reviewer, acceptance-test, free rein, production-grade project, testing ground

5.1 What is agentic coding?

This section introduces agentic coding and explains how Claude Code works with a repository, local tools, and permissions.

Key terms: agentic coding, autonomously, terminal application, repository, codebase, tool calls, single turn, Anthropic’s cloud, permissions, sandbox

5.2 Installing and running Claude Code

This section explains how to install and sign in to Claude Code, how its usage affects other Claude tools, and why running it in an editor helps with code review.

Key terms: native installers, claude command, Anthropic account, token consumption model, quotas, editor, Git integration, file differences, Claude Code plugins, Claude Code engine

5.3 Try it now — run Claude Code in your editor

This exercise starts a Claude Code session in the application repository from an editor terminal, with approvals required before Claude acts.

Key terms: Git repository, docs folder, terminal window, manual permission mode

5.4 Your first Claude Code session

This section explains how CLAUDE.md gives fresh Claude Code sessions repository context and how to create it with /init.

Key terms: CLAUDE.md, context, Claude Code session, /init, project README, design documentation

5.5 Try it now — use Claude to build the agent documentation

This section walks through using Claude Code to initialize shared agent documentation and resolve project decisions before coding.

Key terms: /init, initialization, CLAUDE.md, project-level CLAUDE.md, personal, repo, markdown, repo layout, open decisions, conventions that are easy to get wrong

5.6 Changing the permission mode to let Claude run free

This section compares Claude Code permission modes and explains why auto mode can reduce approval interruptions without removing permission checks entirely.

Key terms: permission mode, manual, acceptEdits, plan, auto, bypassPermissions, CLAUDE.md, risk-accepted circumstances, auto mode, AI classifier

5.7 Try it now — build out the application scaffolding in auto mode

The section walks through using Claude Code in auto mode to build a walking skeleton, then shows why the user must clarify scope and retain control over workflow decisions.

Key terms: walking skeleton, boilerplate code, Dockerfiles, Docker Compose, Helm chart, design docs, full vertical slice, phase 0, auto mode, permission requests

5.8 Your role as reviewer

The section explains how to review Claude-written code efficiently by combining selective inspection with independent checks and remaining accountable for the result.

Key terms: source code scan, micro-review, external proofs, quality gates, definition of done, pytest, Docker Compose, accountable, external constraints, user-acceptance tester

5.9 Writing code with the Superpowers skills

The section explains why an MVP is a manageable first step for a complex Claude Code build, while noting where Claude has already saved time.

Key terms: greenfield build, minimum viable product (MVP), key workflows, auth service, dependency versions, tests, Docker images, deployment artifacts

5.10 Try it now — build the MVP for your first service

This section walks through building a service MVP with Claude Code, then checking the resulting code and API while keeping agent autonomy balanced with review.

Key terms: /clear, context, Superpowers plugin, brainstorming skill, MVP, /goal, evaluator, turns, testing gates, Docker Compose

5.11 Your turn: Complete the first service

This section asks the reader to turn a working MVP into a complete, verifiable service by directing Claude Code and reviewing its work.

Key terms: MVP, SOLID principles, automated testing, scripted deployments, quality gates, auth MVP, stub identity provider, Dex, OAuth Proxy, Docker Compose

5.12 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 4: Maximizing productivity with skills and schedules Chapter 6: Planning and building in stages with BDD →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.