Leanpub Header

Skip to main content

Agentic Specification-Driven Software Development

How to Guide AI Agents to Build Verifiable Solutions

Agentic Specification-Driven Software Development

When your agent writes both the code and the tests, how can you tell whether it understood what you asked for? Learn how to record the team’s decisions and check each change against them.

This book is a translation into English of Desarrollo agéntico de software basado en especificaciones which was originally written in Spanish

Minimum price

$21.93

$21.93

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
About

About

About the Book

What do you check your agent’s code against?

Imagine you’re playing Arkanoid. There are 199 balls on screen when you hit a brick that triples them. Your coding agent calculates 597, writes a test that expects 597, and the test passes. Your team agreed on a maximum of 200. Where did you record that decision, and which test would have caught the mistake?

I use examples like this to explain how a team can build software from specifications. A person decides what should happen and records the agreement. The agent implements the change. Before it can be merged, an independent check compares what the code does with what the team agreed. I call this approach spec-anchored development with a deterministic core. If the team later changes the limit, it can trace the test back to the decision behind it.

We follow the same change through GitHub Spec Kit, Kiro and OpenSpec. When a game is too simple to illustrate the problem, we turn to a bank and look at what should happen when a transfer reaches the daily limit.

The book includes 127 reusable prompts, 30 skills for your agent and 87 requirements for building a specification-driven development application. Try it with a problem you already have. Give the book to your AI and ask: “A bug we fixed last month came back. What could we change in our project to catch it sooner?”

Share this book

This book is a translation into English of Desarrollo agéntico de software basado en especificaciones which was originally written in Spanish

Author

About the Author

Roberto Canales Mora

I’m Roberto Canales Mora. I’ve spent more than thirty years building software, from my early jobs as a programmer to leading a software development team at a bank. I co-founded Autentia, started the Spanish technical community Adictos al Trabajo and have taught at IE Business School.

During my master’s degree in artificial intelligence at UTAMED, I built Solap with the help of coding agents. I could try an idea in an afternoon, only to discover a few sessions later that the agent had reopened a decision I thought we’d settled. I started this book to understand how to preserve those decisions and check that the code respects them. SDDApp is where I put those ideas to work.

My website and books

Translations

Translations

Languages

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

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...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

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

Free Updates. DRM Free.

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

Write and Publish on Leanpub

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.

Learn more about writing on Leanpub