提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款

食谱缩放与购物清单生成器(JSON)

围绕「食谱缩放与购物清单生成器(JSON)」的任务说明。

F
@f
1 天前2026年11月9日 02:31
生产力•PlanningJSONCookingProductivity

内容

变量
1# 食谱缩放与购物清单生成器(JSON)
2
3围绕「食谱缩放与购物清单生成器(JSON)」执行任务:先明确目标与约束,再给出可验证产出。
4
5以下保留原提示词正文供结构与占位符对齐:
6
7{
8 "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.",
9 "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.",
10 "inputs": {
11 "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",
12 "target_servings": "curry for 6, soup for 3",
13 "unit_system": "metric",
14 "pantry_on_hand": "rice 1 kg, cumin, curry powder, garlic 2 cloves",
15 "dietary_notes": "none",
16 "store_sections": "Produce, Meat and Fish, Dairy and Eggs, Pantry and Dry Goods, Canned and Jarred, Spices, Frozen, Other"
17 },
18 "rules": [
19 "Scale each recipe by target_servings / original_servings and show the factor you used.",
20 "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.",
21 "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.",
22 "Convert to unit_system; for countable produce use counts with an approximate weight in parentheses.",
23 "Merge identical ingredients across recipes into one line and list which recipes use them.",
24 "Subtract pantry_on_hand; if the pantry fully covers an item, move it to a 'already_have' list instead of buying it.",
25 "Convert recipe amounts to purchasable package sizes when obvious (for example 400 ml can, 1 l carton) and note any leftover.",
26 "Respect dietary_notes; if an ingredient conflicts, suggest a swap in notes rather than silently changing the recipe.",
27 "If an input is ambiguous (missing servings, unclear unit), make a reasonable assumption and record it in assumptions."
28 ],
29 "output_format": {
30 "type": "JSON only, no prose before or after",
31 "schema": {
32 "scaled_recipes": [
33 {
34 "name": "string",
35 "original_servings": "number",
36 "target_servings": "number",
37 "scale_factor": "number",
38 "ingredients": [
39 { "item": "string", "amount": "string", "unit": "string" }
40 ]
41 }
42 ],
43 "grocery_list": [
44 {
45 "section": "one of store_sections",
46 "items": [
47 {
48 "item": "string",
49 "buy": "string, purchasable quantity",
50 "needed": "string, exact amount needed",
51 "used_in": ["recipe names"],
52 "leftover": "string or null"
53 }
54 ]
55 }
56 ],
57 "already_have": ["string"],
58 "assumptions": ["string"],
59 "notes": ["string, scaling caveats, swaps, prep tips"]
60 }
61 },
62 "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."
63}

评论 (0)

相关技能

食谱缩放与单位换算

技能

按份数、倍数或烤盘尺寸缩放食谱,并做单位换算。

F@f
0

杂货膳食计划成本估算器

技能

估算杂货膳食计划成本。

F@f
0

活动座位表规划器

技能

根据宾客、桌型与约束生成座位表与冲突检查。

F@f
0

阅读计划与翻页节奏规划器

技能

按页数与截止日规划阅读节奏与每日进度。

F@f
0