Co-Pilot
Updated a month ago

recipe-generator

Ccclank
0.1k
cclank/recipe-generator
80
Agent Score

💡 Summary

An AI skill that generates detailed, professionally structured recipes with image generation prompts based on web-searched authoritative culinary sources.

🎯 Target Audience

Home cooks seeking professional-grade recipesFood bloggers and content creatorsCooking instructors and educatorsAI art enthusiasts interested in food imagery

🤖 AI Roast:This recipe generator is so thorough it might ask the AI to julienne its own fries before outputting a single step.

Security AnalysisLow Risk

Risk: The `search_web` tool introduces network access to arbitrary URLs, potentially leading to SSRF or exposure to malicious content. Mitigation: Implement strict allow-lists for domains (e.g., only the listed authoritative sources) and sanitize all search query inputs.


name: recipe-generator description: 自动生成高品质菜谱的技能。当用户需要创建详细的菜谱、烹饪教程、食谱配方时使用。输入菜品名称后,检索权威来源(米其林、舌尖上的中国等)的制作工艺,生成包含完整准备工作、详细制作步骤、注意事项和专业技巧的菜谱文档,并最终生成传统中式风格的菜谱海报生图提示词。

菜谱生成器 (Recipe Generator)

核心功能

根据用户输入的菜品名称,生成一份专业级详细菜谱,并附带高质量的生图提示词。

工作流程

步骤1:接收菜品名称

获取用户输入的菜品名称,确认是否有特殊要求(如地方风味、特定做法等)。

步骤2:权威来源检索

使用 search_web 工具检索以下权威来源的菜品制作信息:

优先级A(顶级权威):

  • 米其林指南 / Michelin Guide
  • 舌尖上的中国
  • 中国烹饪协会
  • 国宴大师配方

优先级B(专业来源):

  • 王刚美食作家
  • 美食台
  • 日食记
  • 下厨房(评分9.0以上菜谱)

搜索关键词模板:

{菜品名称} 正宗做法 米其林
{菜品名称} 舌尖上的中国 配方
{菜品名称} 大厨 专业做法 技巧
{菜品名称} site:xiachufang.com 评分高

步骤3:内容整合与菜谱生成

根据检索结果,按照以下结构生成详细菜谱:

# 《{菜品名称}》顶级配方 ## 菜品简介 - 菜品来源/流派 - 风味特点 - 适合场景 ## 食材清单 ### 主料 | 食材 | 用量 | 备注 | |------|------|------| | ... | ... | ... | ### 辅料 | 食材 | 用量 | 备注 | |------|------|------| | ... | ... | ... | ### 调味料 | 调料 | 用量 | 备注 | |------|------|------| | ... | ... | ... | ## 准备工作 ### 食材处理 1. [具体处理步骤,如切法、腌制等] 2. ... ### 调味汁/酱料准备 1. [预调酱汁配方] 2. ... ### 工具准备 - [需要的锅具、刀具等] ## 制作步骤 ### 第一阶段:[阶段名称] **火候**:[火力大小] **时长**:[预计时间] 1. [详细操作] - 关键点:[...] - 判断标准:[如何判断这一步完成] 2. [详细操作] ... ### 第二阶段:[阶段名称] ... ## ⚠️ 注意事项 1. [关键注意点] 2. [容易出错的地方] 3. [食材选择要点] ## 💡 大厨技巧 1. **[技巧名称]**:[详细说明] 2. **[技巧名称]**:[详细说明] 3. **[技巧名称]**:[详细说明] ## 🎯 成品标准 - 外观:[描述] - 口感:[描述] - 香气:[描述] ## 常见问题 **Q:[常见问题1]** A:[解答] **Q:[常见问题2]** A:[解答]

步骤4:生成生图提示词

将菜谱内容与生图提示词模板结合。参考 references/image-prompt-template.md 中的模板格式。

风格选择: | 风格 | 名称 | 特点 | |------|------|------| | 风格C(默认) | 现代写实风 | 横版16:9,现代、写实、教育感强 | | 风格A | 传统海报风 | 竖版2:3,装饰丰富,视觉冲击强 | | 风格B | 文人卷轴风 | 横版16:9,素雅内敛,以文字为主 |

生成步骤

  1. 读取 references/image-prompt-template.md 模板
  2. 根据用户指定选择风格(默认C)
  3. {{菜名}} 替换为实际菜品名称
  4. 填充菜谱的关键信息摘要
  5. 输出完整的生图提示词

步骤5:最终输出

向用户提供:

  1. 完整菜谱文档(Markdown格式)
  2. 生图提示词(可直接用于AI绘图)

输出质量要求

菜谱内容要求

  • ✅ 食材用量必须精确(克、毫升、个等)
  • ✅ 火候和时间必须明确
  • ✅ 每个步骤必须可操作
  • ✅ 技巧必须是实用的非显而易见的知识
  • ✅ 注意事项必须是真正容易出错的点

禁止事项

  • ❌ 不要使用模糊用量(如"适量"、"少许")除非确实因人而异
  • ❌ 不要省略关键步骤
  • ❌ 不要遗漏食材安全相关信息
  • ❌ 不要使用未经验证的来源

资源文件

  • references/image-prompt-template.md - 生图提示词模板
  • references/authoritative-sources.md - 权威来源说明
5-Dim Analysis
Clarity8/10
Novelty7/10
Utility9/10
Completeness9/10
Maintainability7/10
Pros & Cons

Pros

  • Structured, high-quality output with clear sourcing guidelines.
  • Integrates recipe generation with image prompt creation for visual content.
  • Detailed workflow reduces ambiguity and aims for professional results.

Cons

  • Relies heavily on external web search, making results variable and potentially slow.
  • Complex multi-step process may be overkill for simple recipe requests.
  • No clear error handling for missing sources or failed searches.

Related Skills

pytorch

S
toolCode Lib
92/ 100

“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”

agno

S
toolCode Lib
90/ 100

“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”

nuxt-skills

S
toolCo-Pilot
90/ 100

“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author cclank.