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

Improving auto-generated commit messages with context engineering

Earlier, we discussed context engineering. To make this more concrete, let us look at a specific use case taken directly from the Claude Code documentation:

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---

## Context

- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

## Your task

Based on the above changes, create a single git commit.

This example shows a skill that performs the same task as generating a commit message, but in a way that is more robust, safer, and richer in features. Understanding why this approach is better helps clarify how context engineering, tool control, and agent design come together in practice.

In skills, we can run shell and Bash scripts. This means we can execute arbitrary code as part of...

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