Skip to content

Commit 2f45cf1

Browse files
Random playtested (though not production harded) prompts
This is a colleciton of interesting ideas from around the internet. - /as-kent-beck came from Kent Beck himself <https://tidyfirst.substack.com/p/taming-the-genie-like-kent-beck> - /double-check came from u/VorionLightbringer <https://www.reddit.com/r/AskReddit/comments/1ghanwd/comment/luw4gxb/> - /80-20 came from u/S-M-C <https://www.reddit.com/r/AskReddit/comments/1ghanwd/comment/luvzlam/> - /as-dr-sues came from u/Serious-Community-56 <https://www.reddit.com/r/AskReddit/comments/1ghanwd/comment/luvzr6n/> - /retro-prev-session came from @mattpocock <https://www.youtube.com/watch?v=-QFHIoCo-Ko> The Uncle Bob one was mine and has worked suprisingly well. A few of these are really short, they exist as a reminder that it is possible.
1 parent 67edd9a commit 2f45cf1

8 files changed

Lines changed: 47 additions & 1 deletion

mappings/common.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
["glide.desktop", "~/.local/share/applications/glide.desktop"],
88
["scripts/*", "~/scripts"],
99
["nvim/*", "~/.config/nvim"],
10+
["pi/80-20-prompt.md", "~/.pi/agent/prompts/80-20.md"],
11+
["pi/as-dr-sues-prompt.md", "~/.pi/agent/prompts/as-dr-sues.md"],
12+
["pi/as-kent-beck-prompt.md", "~/.pi/agent/prompts/as-kent-beck.md"],
13+
["pi/as-uncle-bob-martin-prompt.md", "~/.pi/agent/prompts/as-uncle-bob-martin.md"],
14+
["pi/double-check-prompt.md", "~/.pi/agent/prompts/double-check.md"],
15+
["pi/retro-prev-session-prompt.md", "~/.pi/agent/prompts/retro-prev-session.md"],
1016
["pi/answer-extension.ts", "~/.pi/agent/extensions/answer-extension.ts"],
1117
["pi/cursor-rules-extension.ts", "~/.pi/agent/extensions/cursor-rules-extension.ts"],
1218
["pi/thinking-extension.ts", "~/.pi/agent/extensions/thinking-extension.ts"],

pi/80-20-prompt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: 20% content for 80% value
3+
argument-hint: <topic-to-learn>
4+
---
5+
6+
Tell me the most important 20% of $@ so that I understand 80% of it

pi/as-dr-sues-prompt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: As Dr. Sues
3+
argument-hint: <prompt>
4+
---
5+
6+
As Dr. Sues, $@

pi/as-kent-beck-prompt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: As Kent Beck
3+
argument-hint: <prompt>
4+
---
5+
6+
As Kent Beck, $@

pi/as-uncle-bob-martin-prompt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: As Uncle Bob Martin
3+
argument-hint: <prompt>
4+
---
5+
6+
As Uncle Bob Martin, $@

pi/double-check-prompt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: Double check your answer
3+
argument-hint:
4+
---
5+
6+
Evaluate your answer for possible mistakes and give me the corrected version

pi/retro-prev-session-prompt.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
description: Retro the previous session, what could have been better?
3+
argument-hint:
4+
---
5+
6+
Analyze the previous session. Find places where the agent went in a wrong
7+
direction, only to later figure out the right way.
8+
9+
Make recommendations on what could be added, changed or refactored so that the
10+
agent can reach its goal faster next time.

setups/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ mkdir -p ~/.config/nushell/scripts
4242
mkdir -p ~/.config/glide/
4343

4444
# Pi
45-
mkdir -p ~/.pi/agent/{extensions,skills}/
45+
mkdir -p ~/.pi/agent/{extensions,skills,prompts}/
4646

4747
# Nushell <https://www.nushell.sh/book/installation.html#pre-built-binaries>
4848
echo "[gemfury-nushell]

0 commit comments

Comments
 (0)