The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Bought separately
$116
$29.00
About the Bundle
About the Books
Claude Code for Beginners is a practical, hands-on guide to Anthropic's command-line AI coding assistant, written for developers who want to make AI-assisted coding a daily habit rather than a novelty. Across twelve chapters, you'll go from a fresh installation to a working command of every major feature: navigating the conversational interface, editing and refactoring files with confidence, writing tests across multiple frameworks, debugging with real stack traces, managing Git workflows and pull requests, and extending your setup with the Model Context Protocol.
Rather than staying theoretical, the book walks you through real terminal sessions, runnable code examples in Python, JavaScript/TypeScript, and Bash, and a complete progressive project that takes you from "Hello, World" to a tested, version-controlled, CI-integrated CLI application. Advanced topics like subagents, background tasks, and CLAUDE.md files round out the journey, while a closing chapter on productivity habits and team workflows helps you carry what you've learned into everyday engineering work.
Whether you're a junior engineer, an experienced developer exploring AI tooling for the first time, or a technical lead evaluating Claude Code for your team, this book gives you the workflows, habits, and mental models to use AI-assisted coding well: knowing when to trust it, when to challenge it, and when to take the keyboard back.
Claude Code is not a chat window bolted onto your editor. It is an AI agent that lives in your terminal, reads your repository, edits your files, runs your tests, and opens pull requests. It can chain dozens of actions together in the time it used to take you to open a single file. That speed changes the job. The scarce resource is no longer typing. It is judgment: knowing what to delegate, what to verify, where the boundaries belong, and what “done” really means.
Mastering Claude Code: A Practical Guide to Agentic Software Development in the Terminal is the field manual for moving from occasional prompting to dependable, team-wide use. Teams that adopt agentic coding without a plan often end up reviewing every line of output, which is slower than before. Teams that adopt it thoughtfully get a genuine multiplier. This book shows you how to be the second kind of team.
Across eighteen chapters, you will learn how the agentic loop works and how Claude Code reasons about your code, how to install and configure it for real projects, and how to write prompts that hold up inside a messy, real-world codebase. You will master the CLAUDE.md project memory system, the full permission and sandboxing model, plan mode, and test-driven agent workflows. From there, the book moves into advanced territory: custom slash commands and skills, hooks for automation and guardrails, MCP servers, subagents, parallel work with git worktrees, and headless mode with the Agent SDK for CI/CD pipelines.
Beyond the individual developer, it tackles what most guides skip, including team adoption and governance, cost and usage management, measuring impact and proving value, and recovering when the agent goes wrong. Quick reference appendices, a security quick card, and guidance on supervising background agents keep the essentials close at hand.
Every command, flag, and setting is checked against Anthropic’s official documentation, with version notes and source links included. Written for software engineers, tech leads, DevOps engineers, and engineering managers, Mastering Claude Code helps you get results you can trust and build a team that can repeat them.
A hands-on guide to using Claude Code as an engineering collaborator rather than a code generator. It starts with installation, the terminal environment, and Claude Code's agent loop, then establishes Git safety habits: clean working trees, branching strategies, commit contracts, diff review, guardrails, and secrets exclusions.
You will learn how to shape repository context with `CLAUDE.md`, `CLAUDE.local.md`, scoped rules, and monorepo exclusions; configure tiered permissions, settings scopes, hooks, and prompt-injection defenses; and write specifications that define scope, data models, API contracts, acceptance criteria, constraints, and test plans before implementation begins.
The development chapters cover generating code that matches existing patterns, controlling scope, implementing incrementally, writing behavior-coupled tests, enforcing checks with hooks, debugging from reproduction through root cause, and refactoring safely with characterization tests and code-review workflows.
Advanced topics include custom subagents, skills, MCP integrations, browser verification, CI/CD, pull request templates, headless mode, parallel sessions, model selection, and cost control. Two walkthroughs build a FastAPI and PostgreSQL API with a TypeScript frontend, Docker, tests, GitHub Actions, branch protection, and deployment.
The book also addresses licensing, provenance, security, accountability, and how to keep human engineering judgment in the loop.
Claude Opus 5.5 is the first model in Anthropic's Claude 5.5 family, and it changes what you build on Monday: it performs at the level of the previous frontier model at roughly 40% lower cost, with structured-output support, agentic tooling, and a one-million-token context window. This book is the working manual for teams shipping on it.
You start with the API contract itself — the Messages API, the four breaking changes (thinking cannot be disabled, forced `tool_choice` is rejected, thinking blocks are prefix-locked, and text between tool calls arrives inside thinking blocks), async and streaming, and a production client factory. From there: model selection via a hypothesis ladder and effort sweeps; tool use with Pydantic structured outputs, strict tool use, and MCP; retrieval architecture including Contextual Retrieval with its documented numbers and just-in-time context; agentic workflows (chaining, routing, parallel, orchestrator, evaluator-optimizer) and a production agent loop; evaluation harnesses with three grader types plus OpenTelemetry tracing and Prometheus metrics; prompt-injection defense with groundedness checks, tool-layer authorization, sandboxing, human review queues, and red-teaming; cost and latency optimization across five levers with prompt caching; testing and deployment with GitHub Actions CI, containerization, secrets, and a model upgrade procedure.
The capstone assembles PolicyLens, a complete FastAPI policy-triage service with citations, review queue, caching, and incident runbooks. Chapter 12 is a reusable reference architecture; Chapter 13 is a launch-and-operations checklist. Every chapter has runnable walkthroughs, real failure cases, debugging guidance, exercises, and a recap checklist.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.