forked from danielmiessler/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request danielmiessler#1135 from mrtnrdl/main
Add `extract_recipe`
- Loading branch information
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"1.4.109" | ||
"..1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |