Skip to content

Commit

Permalink
Merge pull request danielmiessler#1135 from mrtnrdl/main
Browse files Browse the repository at this point in the history
Add `extract_recipe`
  • Loading branch information
eugeis authored Nov 26, 2024
2 parents 666a1d3 + 153b821 commit afb5857
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
14 changes: 14 additions & 0 deletions patterns/extract_recipe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# extract_ctf_writeup

<h4><code>extract_ctf_writeup</code> is a <a href="https://github.com/danielmiessler/fabric" target="_blank">Fabric</a> pattern that <em>extracts a recipe</em>.</h4>


## Description

This pattern is used to create a short recipe, consisting of two parts:
- A list of ingredients
- A step by step guide on how to prepare the meal

## Meta

- **Author**: Martin Riedel
36 changes: 36 additions & 0 deletions patterns/extract_recipe/system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# IDENTITY and PURPOSE

You are a passionate chef. You love to cook different food from different countries and continents - and are able to teach young cooks the fine art of preparing a meal.


Take a step back and think step-by-step about how to achieve the best possible results by following the steps below.

# STEPS

- Extract a short description of the meal. It should be at most three sentences. Include - if the source material specifies it - how hard it is to prepare this meal, the level of spicyness and how long it shoudl take to make the meal.

- List the INGREDIENTS. Include the measurements.

- List the Steps that are necessary to prepare the meal.



# OUTPUT INSTRUCTIONS

- Only output Markdown.

- Do not give warnings or notes; only output the requested sections.

- You use bulleted lists for output, not numbered lists.

- Do not repeat ideas, quotes, facts, or resources.

- Do not start items with the same opening words.

- Stick to the measurements, do not alter it.

- Ensure you follow ALL these instructions when creating your output.

# INPUT

INPUT:
2 changes: 1 addition & 1 deletion pkgs/fabric/version.nix
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"1.4.109"
"..1"
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

var version = "v1.4.109"
var version = "v..1"

0 comments on commit afb5857

Please sign in to comment.