Prompt : How to Talk to AI So It Gets It Right the First Time
Overview
Write prompts that work the first time -- from one clear question to a multi-session agent project.
Prompt is a practical book for developers, makers and students who use chat assistants and coding agents. You will learn a reusable prompt anatomy, lock down output formats, steer with examples, fix bad results without starting over, and run long projects from a spec and a progress file -- the same working method used on real multi-session software projects.
What you will learn- A seven-part prompt skeleton: role, goal, context, constraints, steps, output format, success criteria
- How to specify Markdown and JSON contracts, and how to run a fix-pass when a reply fails
- Few-shot examples, reasoning prompts, and decomposition into chained steps
- File-scoped code prompts, repository rules, and one-task sessions with done-when lines
- Document and media briefs, safety rules against invented facts, and a small prompt library with lint
Developers, makers and students who already use chat assistants or coding agents. Assumes comfort with a terminal, Markdown and basic Git. Every ML term is defined in plain language on first use.
About the authorLeonardo Galli is a 17-year-old developer who lives in Milan, Italy. He builds open source software and writes prompts for coding agents daily. He is the author of Spark and Signal. He also works with electronics and radio, hikes in the mountains, and referees soccer matches. Readers can find his work at github.com/Leo-Galli; GitHub is the only contact channel listed in this book.
This item is Non-Returnable
Customers Also Bought
Details
- ISBN-13: 9798167011007
- ISBN-10: 9798167011007
- Publisher: Independently Published
- Publish Date: November 2026
- Dimensions: 9 x 6 x 0.74 inches
- Shipping Weight: 1.05 pounds
- Page Count: 358
Related Categories
