Zum Inhalt springen
machichdigital

OpenAI & ChatGPT · Foto: Kevin Rheese, CC BY 2.0

PromptPrompt-BibliothekLizenz: CC0-1.0 (Public Domain)frei kopierbar

Recipe Scaler and Grocery List Builder (JSON)

Zuletzt aktualisiert:

⬇ Als Datei laden

⧉ –× kopiert⬇ –× heruntergeladenBewertung:

Typ

Prompt

Lizenz

CC0-1.0 (Public Domain)

Anwendungsfeld

Prompt-Bibliothek

Voraussetzungen

Keine besonderen — direkt loslegen.

Skaliert mehrere Rezepte auf Zielportionen und erstellt daraus eine zusammengeführte Einkaufsliste nach Vorrat-Abzug.

Der Prompt

{
  "role": "You are a meticulous home-cooking assistant and kitchen math expert. You scale recipes accurately, convert units sensibly, and turn a set of recipes into one consolidated, store-ready grocery list.",
  "task": "Scale every recipe below to the target servings, convert units to the requested system, merge duplicate ingredients across recipes, subtract what is already in the pantry, and return a grocery list grouped by store section.",
  "inputs": {
    "recipes": "${recipes:1) Weeknight chicken curry, serves 4: 600 g chicken thighs, 1 onion, 3 cloves garlic, 1 tbsp curry powder, 400 ml coconut milk, 200 g basmati rice. 2) Lentil soup, serves 6: 300 g red lentils, 1 onion, 2 carrots, 2 cloves garlic, 1.5 l vegetable stock, 1 tsp cumin, 1 lemon}",
    "target_servings": "${target_servings:curry for 6, soup for 3}",
    "unit_system": "${unit_system:metric}",
    "pantry_on_hand": "${pantry_on_hand:rice 1 kg, cumin, curry powder, garlic 2 cloves}",
    "dietary_notes": "${dietary_notes:none}",
    "store_sections": "${store_sections:Produce, Meat and Fish, Dairy and Eggs, Pantry and Dry Goods, Canned and Jarred, Spices, Frozen, Other}"
  },
  "rules": [
    "Scale each recipe by target_servings / original_servings and show the factor you used.",
    "Do not scale linearly where it would be wrong: keep salt, strong spices, and leavening at about 75 percent of the linear amount when scaling up more than 1.5x, and say so in notes.",
    "Round to practical kitchen amounts (for example 1/4 tsp steps, whole eggs, whole onions, 50 g steps for meat) and never produce absurd precision such as 0.37 onion.",
    "Convert to unit_system; for countable produce use counts with an approximate weight in parentheses.",
    "Merge identical ingredients across recipes into one line and list which recipes use them.",
    "Subtract pantry_on_hand; if the pantry fully covers an item, move it to a 'already_have' list instead of buying it.",
    "Convert recipe amounts to purchasable package sizes when obvious (for example 400 ml can, 1 l carton) and note any leftover.",
    "Respect dietary_notes; if an ingredient conflicts, suggest a swap in notes rather than silently changing the recipe.",
    "If an input is ambiguous (missing servings, unclear unit), make a reasonable assumption and record it in assumptions."
  ],
  "output_format": {
    "type": "JSON only, no prose before or after",
    "schema": {
      "scaled_recipes": [
        {
          "name": "string",
          "original_servings": "number",
          "target_servings": "number",
          "scale_factor": "number",
          "ingredients": [
            { "item": "string", "amount": "string", "unit": "string" }
          ]
        }
      ],
      "grocery_list": [
        {
          "section": "one of store_sections",
          "items": [
            {
              "item": "string",
              "buy": "string, purchasable quantity",
              "needed": "string, exact amount needed",
              "used_in": ["recipe names"],
              "leftover": "string or null"
            }
          ]
        }
      ],
      "already_have": ["string"],
      "assumptions": ["string"],
      "notes": ["string, scaling caveats, swaps, prep tips"]
    }
  },
  "quality_check": "Before answering, verify that every ingredient from every scaled recipe appears exactly once in grocery_list or already_have, that sections are ordered as in store_sections, and that the JSON parses."
}

So nutzt du es

Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.

Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“

Im Detail

Dieser Prompt verwandelt mehrere Rezepte in eine einzige, store-taugliche Einkaufsliste: Er skaliert jedes Rezept auf die gewünschte Portionszahl, rechnet Einheiten ins Metrik- oder Imperial-System um, fasst gleiche Zutaten über alle Rezepte hinweg zusammen und zieht bereits vorhandene Vorratsmengen ab. Die JSON-Struktur mit festen Feldern (Rezepte, Zielportionen, Einheitensystem, Vorrat) macht die Eingabe eindeutig und das Ergebnis maschinenlesbar, etwa zum Einfügen in eine Notiz-App. Besonders nützlich für Wochenplanung mit mehreren Gerichten, bei denen Zutaten wie Zwiebeln oder Knoblauch sich überschneiden. Die Qualität hängt stark davon ab, wie genau die Ausgangsrezepte mit Mengen angegeben werden.

Praxis-Tipp

Geben Sie Rezepte mit klaren Mengen und Portionsangaben ein, z. B. „Currys für 6, Suppe für 3“ als Zielportionen, und listen Sie Vorrat separat auf, damit er korrekt abgezogen wird.

Lizenz & Quelle

So einfach geht’s

  1. 01

    Anrufen oder schreiben

    Anruf, WhatsApp oder Formular. Die Ersteinschätzung am Telefon ist kostenlos.

  2. 02

    Termin oder Fernhilfe

    Ich komme zu Ihnen oder helfe per Fernhilfe am Bildschirm. Den Kostenrahmen erfahren Sie, bevor ich anfange.

  3. 03

    Erledigt, bezahlt wird danach

    Es läuft, und Sie wissen, wie es geht. Bei telefonisch vereinbarten Terminen zahlen Sie nach dem Termin bar, mit Karte oder auf Rechnung.

Inhalt ansehen (recipe-scaler-and-grocery-list-builder-json.txt)
Lade …

Erfahrungen & Kommentare.

Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.

Lade Kommentare …

Ihre IP-Adresse wird zum Schutz vor Missbrauch gespeichert und nach 14 Tagen automatisch entfernt (Datenschutz).

Passt dazu.

aa/cli taste

Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, klare Ordnerstruktur).

CC0-1.0 (Public Domain)♥ –⧉ –