A real incident
Two-thirds of one app category wired their model in the same broken way. The chapters next door teach you to decide whether your site needs a model at all, and to wire one in the way you choose.
The chapters
4 hours total
- Decide whether to add AI33 minYou decide in writing whether your site needs an AI feature, by answering three questions about the need, the risk, and the cost, and if it does, you give the model one job.
- Model vs. coding assistant20 minYou see why the model inside your site is a part you specify, and a different system from the agent that helped you build the site.
- Make your first call20 minYou read one request to a model and its reply in full: the instructions, the input, the tokens you pay for, and why the reply changes from run to run.
- Prompt like an engineer18 minYou rewrite a vague prompt into a spec that states the role, the boundaries, one worked example, and the format.
- Output your code can use18 minYou make the model's reply follow a fixed list of fields, and you check the values before your code acts on them.
- Give the model facts19 minYou give the model current facts by pasting a short, dated block into the prompt, and you decide in writing whether the feature needs to fetch facts from a larger collection.
- Give the model tools22 minYou give the model a tool it can request, such as one that looks up a signed-in member's own orders, and your code decides whether to run it.
- Choose a model23 minYou test the model you accepted as a default against the same provider's cheaper model on five real inputs of your own, keep the cheaper one if it passes, and start the one-page Model Spec.
- Wire in the model30 minYou add the AI feature to your live site as one reviewed change: the key on the server, a spending cap, a fallback, a switch that turns the feature off, and a test on a preview copy.
- Launch the assistant25 minYou decide whether to launch the AI feature at all, and if you do, you launch it with written limits, a handoff to a person, a spending cap, and a weekly check of its answers.
The sum
By the end you have written down whether your site needs AI, and taken one AI feature, your own or the club's support assistant, from a first model call to a launch, adding a clearer prompt, then facts, then tools only as far as the job needs, on a model you chose by testing it.
The Model Spec is one page that records how your AI feature uses its model: the job, the model, the prompt, the output structure, the context, how far you customized the model (prompt, facts, or tools), and the fallback. You start it when you choose a model and finish it when you launch the feature.
The Model SpecMarkdown fileDownload →