Infinity Recipe Generator (MVP)
Create one tiny, useful, not-yet-listed Poke recipe quickly and safely.
MVP scope
- - One narrow domain only (do not broaden scope in v1).
- Produce Kitchen-ready fields:
- name
- description
- onboarding.inputContext
- onboarding.prefilledFirstText
- integrations (template-ready)
- optional automations
- sandbox test prompts
- - Produce a simple iteration loop document (Ralph loop v1).
Workflow
- 1. Pick a micro-domain idea
- Must be specific and useful in daily life.
- Reject broad categories ("fitness", "productivity", "travel planner").
- 2. Run lightweight listing check
- Fetch
https://poke.com/recipes.
- Compare idea keywords against visible categories/listings.
- If likely duplicate, pivot to next micro-domain.
- 3. Generate recipe draft
- Use
references/recipe-template.json.
- Keep onboarding concise and action-oriented.
- Keep first message immediately useful.
- 4. Generate integration draft
- Use
references/integration-template.json.
- If endpoint unknown, set placeholder and explicit TODO.
- 5. Create sandbox pack
- Add 5 prompts: happy path, edge case, ambiguous input, failure mode, concise summary.
- 6. Add Ralph loop v1
- Add weekly review steps:
- collect failures
- classify
- patch
- regression test
- release note
Output format
When asked to generate an MVP, produce files under:
INLINECODE3
Required files:
- - INLINECODE4
- INLINECODE5
- INLINECODE6
- INLINECODE7
- INLINECODE8
- INLINECODE9
Upload-assist mode (Phase 2)
When the user already has recipe specs in docs/repo files and wants help uploading in Kitchen:
- 1. Read the source-of-truth spec file(s) first.
- Produce a strict Kitchen field mapping (Basics, Onboarding, Integrations, Automations, Sandbox checks, Publish gate).
- Use exact copy text for
prefilledFirstText and automation actionText. - Include CLI integration bootstrap commands (
npx poke@latest login, npx poke@latest mcp add ...). - If an MCP endpoint can be
/mcp or /sse, provide primary + fallback clearly.
Scripted helpers
Use scripts/generate_mvp.py to scaffold the folder quickly.
Example:
CODEBLOCK0
Then run a publish-readiness verdict and refine the generated files.
无限Poke配方生成器(MVP)
快速安全地创建一个微小、有用且尚未列出的Poke配方。
MVP范围
- - 仅限一个狭窄领域(v1版本不扩大范围)。
- 生成厨房就绪字段:
- 名称
- 描述
- 入门引导.inputContext
- 入门引导.prefilledFirstText
- 集成(模板就绪)
- 可选自动化
- 沙盒测试提示
- - 生成简单的迭代循环文档(Ralph循环v1)。
工作流程
- 1. 选择微领域创意
- 必须具体且在日常生活中有用。
- 拒绝宽泛类别(健身、生产力、旅行规划器)。
- 2. 执行轻量级列表检查
- 获取 https://poke.com/recipes。
- 将创意关键词与可见类别/列表进行比较。
- 如果可能重复,转向下一个微领域。
- 3. 生成配方草稿
- 使用 references/recipe-template.json。
- 保持入门引导简洁且以行动为导向。
- 保持第一条消息立即可用。
- 4. 生成集成草稿
- 使用 references/integration-template.json。
- 如果端点未知,设置占位符和明确的TODO。
- 5. 创建沙盒包
- 添加5个提示:快乐路径、边缘情况、模糊输入、失败模式、简洁摘要。
- 6. 添加Ralph循环v1
- 添加每周审查步骤:
- 收集失败
- 分类
- 修补
- 回归测试
- 发布说明
输出格式
当要求生成MVP时,在以下路径下生成文件:
recipes/poke//
必需文件:
- - recipe.json
- integration.json
- sandbox-prompts.md
- ralph-loop.md
- verdict.md
- README.md
上传辅助模式(第二阶段)
当用户已在文档/仓库文件中拥有配方规格,并希望帮助在Kitchen中上传时:
- 1. 首先读取真实来源规格文件。
- 生成严格的Kitchen字段映射(基础信息、入门引导、集成、自动化、沙盒检查、发布门控)。
- 对 prefilledFirstText 和自动化 actionText 使用精确复制文本。
- 包含CLI集成引导命令(npx poke@latest login、npx poke@latest mcp add ...)。
- 如果MCP端点可以是 /mcp 或 /sse,明确提供主要和备用方案。
脚本辅助工具
使用 scripts/generate_mvp.py 快速搭建文件夹结构。
示例:
bash
python3 skills/infinity-poke-recipe-generator/scripts/generate_mvp.py \
--idea 过期提醒 \
--slug expiry-ping \
--out recipes/poke/expiry-ping
然后运行发布就绪判定并优化生成的文件。