Leanpub Header

Skip to main content

The Shape of Generated Code, Vol. 1: The Reviewer's Kit

The Reviewer's Kit: A Practical Method to Review AI-Generated Code

The Shape of Generated Code, Vol. 1: The Reviewer's Kit
This book is 100% completeLast updated on 2026-10-15

AI-assisted code often looks finished while resting on a premise nobody checked. A practical, evidence-based method for developers, tech leads and architects to find system-level defects before they ship.

Minimum price

$12.00

$12.00

You pay

Author earns

Packages

Details
$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
About

About

About the Book

AI coding assistants produce code that compiles, passes its tests and reads well. The defects that matter are rarely in the lines you are shown — they sit in what is absent, in aggregates nobody bounded, and in premises nobody stated.

The Reviewer's Kit is a practical method for reviewing that code at system level:

- A repeatable reconnaissance pass (census.sh, fully listed in the book) that points review time where it pays.

- An evidence model on four axes — method, observed result, confidence, status — so every finding says what was actually verified.

- Techniques for the recurring shapes: identity premises, client-only limits, IDOR/ownership, unbounded reads, duplicated rules, error text used as control flow, guards after side effects, missing controls and contract drift.

- Webhooks done right: authenticity, replay, idempotency, per-provider redelivery and reconciliation.

- A complete, anonymised worked case, a plan to turn findings into fixes, and agent rules you can paste into your coding assistant.

- Exercises with an answer key and two sample reports.

For mid-level and senior backend developers, tech leads and architects comfortable with C#, TypeScript/Node or Python. Not a pentest or certification — a method that makes review evidence explicit.

Packages: The Book ($12) — the ebook in PDF and EPUB. Book + Correction Prompts ($19) — adds 36 ready-to-use prompts (investigate, fix + test, verify) for every finding class. Complete Kit ($29) — adds the full reviewer's toolkit: scripts, checklist, templates and prompts.

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF and EPUB

The Book

Minimum price

Suggested price$12.00

$12.00

    Book + Correction Prompts

    Minimum price

    Suggested price$19.00

    $19.00

    • Correction Prompts (36 prompts)

    This book is also available in the following packages:

    • Complete Kit

      No Description Available

      • Complete Kit
      Minimum price
      $29.00
      Suggested price
      $29.00

    Author

    About the Author

    Edinaldo Sá

    Edinaldo Sá is a software engineer with 16 years of experience in .NET and more than 12 years in software architecture. He studied Physics at FURG. He reviews AI-assisted code in his daily work, and this kit distils the method he uses.

    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