Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extract_recipe #1135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.100"
"..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.100"
var version = "v..1"
Loading