recipe-batch-components
Define batch grams and componentized recipes for the recipes app
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Define batch grams and componentized recipes for the recipes app
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create and manage isolated git worktrees safely.
Opinionated workflow for submodule development + PRs + control-center pointer bumps.
Store Apple notarization IDs in Keychain and notarize/staple OpenWork DMGs locally.
Sync control-center master and update submodule pointers safely.
Require every OpenCode plugin to expose get_skills and get_version tools.
Use client.app.log() instead of console.log in OpenCode plugins
| name | recipe-batch-components |
| description | Define batch grams and componentized recipes for the recipes app |
Use this skill when adding or updating recipes so every recipe defines a batch size in grams and is decomposed into explicit components. The app is read-only; UI changes only simulate adjustments in-memory.
Always include:
batch.label (string, usually "batch")batch.totalGrams (number, total output for 1 batch)components (array of components, even if there is only one)Keep yield for servings, cookies, etc. if it is meaningful.
ingredients and steps array.g).batch.totalGrams should equal the sum of component yields for 1 batch.component.yieldGrams for each component to make the batch math explicit.---
title: "Recipe Title"
slug: recipe-slug
description: "Short description"
tags: [tag1, tag2]
image: "/images/recipe-slug.png"
yield:
amount: 4
unit: servings
batch:
label: batch
totalGrams: 1200
components:
- name: Base
description: "Primary component description."
yieldGrams: 900
ingredients:
- id: ingredient-id
name: Ingredient Name
amount: 200
unit: g
steps:
- "**Action** - Instruction with **200g ingredient name**."
- name: Finish
description: "Secondary component description."
yieldGrams: 300
ingredients:
- id: finish-ingredient
name: Finish Ingredient
amount: 300
unit: g
steps:
- "**Finish** - Add **300g finish ingredient**."
notes: |
- Optional prep tips
createdAt: 2026-01-11
updatedAt: 2026-01-11
author: Family
---
batch.totalGrams matches component totalsyield reflects servings or output units