recipe Card

Recipe Cards

Recipes live in _content/recipes/. Organize with subdirectories only if the user wants that — don't impose a taxonomy.

Frontmatter

Body

Markdoc-annotated markdown. Vocabulary:

Free-form markdown headings (## Notes, ## Equipment) work alongside the tags for sections that don't need structure.

Fidelity

When you structure a recipe from something the user wrote or saved, keep their measurements and wording exactly as given: unit="tbsp" and body text "1 tbsp", never "1 T"; "1/2 cup" stays "1/2 cup", not "½ c". Abbreviating units silently is a real cooking hazard ("1 T" vs "1 t" is a 3× error), and any silent edit to their quantities undermines trust in the whole card. Convert or normalize only when asked, and say that you did.

File naming

_content/recipes/Recipe_Name.recipe.card

The contains: field

Give this card a one-sentence contains: — the prime retrieval field for bbx search and listings. How to write a good one (carry the information when it's concise, never a list of parts, under 200 characters) is in the agent guide's ABOUT_CARDS section.

Templates

recipe

A recipe card with ingredients, steps, and scaling support

bbx create <path>.recipe.card -t recipe

Template: recipe Description: A recipe card with ingredients, steps, and scaling support Card types: recipe

Arguments: title: Recipe name description (optional): What the dish is servings (optional): Number of servings (default: 4)