Runtime Kit Cookbook entries are recipes, not loose snippets. Each recipe starts with the Runtime Kit product moment, shows the package files or app surface you own, gives the public Runtime Kit boundary, and ends with a check you can use to prove it worked.
Use these when you want to copy a Runtime Kit shape and adapt the names. The examples stay on the public side of the wall: package files, package-owned content, callable slots, named data reads, action requests, and placeable surface descriptors.This is not the whole-product Bitfield Cookbook. That future cookbook can own product-level recipes across account, proof, deployment, and operations. This section is only the Runtime Kit Cookbook.The full examples live inexamples/ and are indexed by cookbook-examples.json. The docs check makes sure the snippets shown here match those files exactly.How to use the Runtime Kit Cookbook
Every recipe should answer the same questions:If a recipe does not answer those questions yet, it is not finished.
scene
Start with the screen, package, or action the user is trying to build.
files
Name package files, app surfaces, descriptors, or shell files.
contract
Name data names, targets, payloads, replies, and boundaries.
check
End with a concrete pass/fail point and common failures.
Recipes
Package set with one record
Create the smallest complete package: one package, one record, one stable address, and one check.
Package-owned file
Attach package-owned text, JSON, image, or other bytes without letting the package read outside itself.
Callable package slot
Declare a named callable target so app code can ask for work without importing the implementation.
React surface for package data
Read named data, render every state, and send an action request from one surface.
Placeable surface product loop
Compose package data, targets, surface descriptors, a dumb shell, and surface bodies.
Start here
- Package to screen if you have not built the full chain yet.
- Package set with one record if you want the smallest complete package recipe.
- Package-owned file if your package needs to bring bytes with it.
- Callable package slot if your package needs a target that can answer requests.
- React surface for package data if your app needs to show data and trigger work.
- Placeable surface product loop if you want package-to-shell composition.