Compare commits

..

2 Commits

Author SHA1 Message Date
tlg
0056946e8a Added Shell-Scripts.md 2026-02-24 14:11:09 +01:00
tlg
3548dfd1d3 Added LLM-Instructions.md for general LLM instruction tricks 2026-02-23 20:19:20 +01:00
2 changed files with 26 additions and 0 deletions

17
LLM-Instructions.md Normal file
View File

@@ -0,0 +1,17 @@
# Results as raw Markdown
## Tildes (~~~) (very high reliability)
"Provide your results as raw Markdown. Wrap the entire output inside a triple-tilde (~~~) code block. Do not use backticks for the outer wrapper."
## 4 Backticks (high reliability)
"Please provide your results again as raw Markdown. Wrap the entire response in a fenced code block using four backticks (````) so that the internal triple-backtick code blocks do not break the formatting."
## Not good
"Please provide your results again as raw Markdown in a fenced code block."
Only works with Gemini; Perplexity and ChatGPT fail at the first source code block.

9
Shell-Scripts.md Normal file
View File

@@ -0,0 +1,9 @@
# Insert line(s) at certain position in existing file
## Motivation
A Debian 12 Linux bash shell script is needed which inserts line(s) of text at a certain position in an existing file. The position is defined by text of the existing file.
## Task
Generate an example shell script and explain in detail what it is doing.