Skip to content

Examples Cookbook

Look forQuestion
Task shapeIs it really your task?
SecretsWhere do they come from?
Side effectsCan it write, send, or delete?
StoppingWhat limits loops and retries?

Examples show shape, not production readiness

Section titled “Examples show shape, not production readiness”

Run examples in a disposable environment first. Before adapting one, identify secrets, side effects, loop limits, output shape, and review path.

Look forQuestion
Task shapeIs it actually your task?
SecretsWhere do keys come from?
Side effectsCan it write, send, spend, or delete?
StoppingWhat limits loops and retries?
OutputWho or what consumes the result?

Move serious examples into application code

Section titled “Move serious examples into application code”

A useful example often grows into a workflow. When that happens, give it ownership, tests, configuration, and deployment notes like any other code.