Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Agentic Coding with Claude Code
  • Table Of Contents Toc
Agentic Coding with Claude Code

Agentic Coding with Claude Code

By : Eden Marco
4 (2)
close
close
Agentic Coding with Claude Code

Agentic Coding with Claude Code

4 (2)
By: Eden Marco

Overview of this book

Most developers encounter Claude Code through chat-style prompting, but that approach breaks down as projects grow and automation must be safe, repeatable, and controlled. Agentic Coding with Claude Code shows how to move beyond ad hoc prompts and use Claude Code as an extensible, agent-driven development platform. This book focuses on building context-aware AI workflows directly in your terminal and IDE. You will learn how to control Claude Code using slash commands, manage long-term context with persistent memory files, and automate development tasks using hooks that trigger actions across Claude Code's lifecycle. The book also covers the Model Context Protocol (MCP) as an important part of the modern agentic ecosystem. You will understand why MCP exists, explore its core architecture, and configure MCP servers inside Claude Code to improve context sharing across tools, agents, and workflows. The trade-offs between MCP, skills, and subagents are discussed to help you choose the right approach. You will design and orchestrate multi-agent systems using subagents, parallel sessions, and hierarchical delegation. By the end of the book, you will be able to integrate Claude Code into real-world development workflows with confidence and control.
Table of Contents (18 chapters)
close
close
Lock Free Chapter
1
Part 1: Foundations of Context Engineering and Claude Code
5
Part 2: Extending Claude Code: Protocols, Automation, and Structured Workflows
11
Part 3: Advanced Agents and Deep System Design
16
Other Books You May Enjoy
17
Index

Using pec-driven design

In this section, instead of vibe coding the application, we use something called spec-driven design. This will be elaborated on later in the book, but the general idea is to create a spec file describing the application, the use case or business use case, and possibly some nonfunctional requirements.

The spec file that we create should tell Claude to reference the spec file when it is going to code. This helps optimize the context window and improves the results we get.

To begin, we press Shift + Tab and switch to plan mode in Claude Code. Plan mode is designed for tasks like this, where we want to do read-only work, conduct some research, and plan what Claude is going to do.

I have added the following prompt, in which I ask Claude to help write a spec file for a project called HookHub.

I want you to help me write a spec file for a project I am building. It's called "hookhub". It's a place where cool open source Claude hooks are displayed and...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Agentic Coding with Claude Code
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon