recipe-batch-components

Define batch grams and componentized recipes with validated yield sums.

10|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/benjaminshafii/digital-empire --skill recipe-batch-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recipe-batch-components
Source: https://github.com/benjaminshafii/digital-empire/tree/main/.opencode/skill/recipe-batch-components
Command: npx skills add https://github.com/benjaminshafii/digital-empire --skill recipe-batch-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes recipe development by requiring a defined batch size in grams and a decomposition into explicit, reusable components. It ensures consistent batch math and clear component boundaries for automated tooling and human reviewers.

Core Features & Use Cases

  • Define batch.totalGrams and batch.label in the recipe frontmatter.
  • Break recipes into atomic components (e.g., Base, Finish) each with its own ingredients and steps and a documented yieldGrams.
  • Validate that batch.totalGrams equals the sum of component yields and provide per-serving heuristics when applicable.
  • Use case: a chef or developer authors a new recipe, ensuring every batch produces a predictable weight and each component can be inspected or reused independently.

Quick Start

Create or update a recipe YAML frontmatter to include batch and components that define total grams and component yields, with each component including ingredients (gram amounts) and steps referencing those grams.

Frequently Asked Questions about recipe-batch-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure recipes by batch and components in grams?

To structure recipes by batch and components, you define a batch.totalGrams value in the recipe frontmatter and decompose the recipe into atomic components, each with explicit yieldGrams, ingredients, and steps in grams.

What does it mean to decompose a recipe into atomic components?

Decomposing a recipe into atomic components means breaking down a complete recipe into reusable parts, such as a Base or Finish, where each part has its own ingredients, steps, and a documented yieldGrams value.

How do I validate that recipe batch totalGrams equals the sum of component yields?

Validating batch totalGrams against component yields requires ensuring the batch.totalGrams value defined in the frontmatter exactly matches the sum of all individual component yieldGrams values combined.

Can I use recipe batch components for recipe development and data-tracking workflows?

Yes, recipe batch components are specifically designed for recipe development and data-tracking workflows, allowing chefs or developers to inspect, reuse, and track predictable batch weights and serving heuristics.

Do I need to include serving heuristics when defining recipe components?

You should include serving heuristics when defining recipe components if applicable, as the recipe structure requires each component to include ingredients and steps in grams plus notes on serving heuristics.

What format should recipe ingredients and steps follow for batch component design?

Recipe ingredients and steps for batch component design should follow a YAML frontmatter format, specifying gram amounts for ingredients and ensuring steps explicitly reference those gram measurements.