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
$50.97
Minimum price
$19.99
$24.99
About the Bundle
About the Books
For decades, software development meant, above all, writing code. Artificial intelligence has changed that equation. When generating code is no longer the costly part of the process, the bottleneck shifts: understanding the problem, making decisions, structuring the system, and providing the right context become the activities that truly determine a project's success.
Software Development in the AI Era explains this transformation without focusing on specific tools, models, or prompts. The book shows why code is no longer the primary intellectual artifact of development and how specification, architecture, and context have moved to the center of modern software engineering.
Throughout the chapters, you will understand:
This book does not teach you how to use a specific AI tool. Instead, it explains the paradigm shift the software industry is undergoing and establishes the conceptual foundation for working effectively within this new reality.
It serves as the ideal introduction to the trilogy comprising Spec Driven Development, FOCUS Architecture, and Context Engineering, providing the context that connects these three pillars into a unified vision of software development in the age of artificial intelligence.
SDD: Spec-Driven Development in the Age of AI
Artificial intelligence can already write code in seconds. The problem is that plausible-looking code isn't the same as correct code; those who simply fire off impromptu prompts end up with systems no one understands, skyrocketing AI bills, and results that break the moment they encounter an edge case.
This book teaches the method that puts you back in the driver's seat: SDD (Spec-Driven Development). The concept is simple yet powerful: you clearly describe what you want before asking for the code, so the AI works against a clear contract rather than guessing your intentions.
What you will learn:
- What SDD is and why it has become essential now that AI has lowered the cost of writing code
- The software development fundamentals underpinning the method—from Waterfall and Agile to Clean Architecture, SOLID, and TDD—explained in plain language
- Leading SDD tools on the market, with a focus on the GitHub Spec Kit
- How to write project charters, specifications, plans, and tasks that the AI actually follows
- The full cycle in practice: building a real application from end to end, with every decision explained and justified
Who this is for:
For both beginners who want to truly understand how software is built and experienced developers tired of battling "vibe-coding" and prompts that burn through money without getting anywhere.
By the end, you won't just be using AI to code faster; you'll be using it to build complete, robust applications with clear, maintainable code—knowing exactly what you asked for, why you asked for it, and how to evaluate the output.
FOCUS Architecture presents an opinionated architectural approach for creating simple, organized, and maintainable systems. Instead of multiplying layers and abstractions, the book demonstrates how to structure applications around four components—View, Orchestrator, Use Case, and Repository—thereby reducing the cost of change and simplifying the work for both developers and AI tools. Through practical examples in various languages, you will learn to build software that scales without turning into a tangled mess of code.
AI quality doesn't depend solely on the model; it relies primarily on the quality of the context you provide.
In this book, you will learn how to transform specifications, architecture, documentation, ADRs, conventions, code, and tools into a context system capable of producing consistent results. Instead of relying on increasingly elaborate prompts, you will discover how to organize project information so that AI agents understand the problem, adhere to standards, and make decisions better aligned with your engineering practices.
You will gain insight into how LLMs actually utilize context, how tokens and context windows work, why excessive context degrades response quality, and the techniques used to build environments ready for AI-assisted development. The book covers topics such as Context Layers, Context Packing, Context Recovery, living documentation, persistent context files, MCP, RAG, and context validation and compression, alongside a comprehensive process for integrating AI into the development lifecycle.
This is the third volume in a trilogy that began with *Spec-Driven Development*, focusing on how to correctly specify systems for AI, and *FOCUS Architecture*, covering how to organize software so that both humans and AI can safely evolve it. *Context Engineering* completes this journey by showing how to transform all that information into high-quality context, enabling AI to move beyond generic responses and act as a true engineering partner.
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.)
In fact, authors have earned over $15 million writing, publishing and selling 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.