Add LLM prompts for converting web recipes to Cooklang

- prompts/cooklang-converter.md: Comprehensive guide with full syntax
  reference, examples, and 12 conversion guidelines
- prompts/system-prompt.md: Concise system prompt for direct API use
- prompts/user-prompt-template.md: Template with {{PLACEHOLDER}}s for
  injecting specific recipe text
- prompts/test-cases.md: 3 test cases with source recipes and expected
  Cooklang output covering fractions, multi-word ingredients, sections,
  timers, notes, and complex multi-component recipes
This commit is contained in:
2026-05-19 07:53:09 -04:00
parent d52de3679e
commit 6de6b6e2b2
4 changed files with 508 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
Convert the following recipe into Cooklang format. Follow the Cooklang specification exactly.
<recipe>
Title: {{TITLE}}
Source: {{URL}}
{{FULL_RECIPE_TEXT}}
</recipe>
Output ONLY the Cooklang formatted recipe, wrapped in ```cooklang code blocks. Do not include any other text, explanations, or commentary.