]> localhost Git - gists.git/commitdiff
Add OpenCode prompts
authormisomosi <[email protected]>
Mon, 29 Jun 2026 19:54:15 +0000 (15:54 -0400)
committermisomosi <[email protected]>
Mon, 29 Jun 2026 19:54:15 +0000 (15:54 -0400)
OpenCodePrompts/DEBUGGING-PREFIX.txt [new file with mode: 0644]
OpenCodePrompts/DEBUGGING-SUFFIX-ODIN-CRASH.txt [new file with mode: 0644]
OpenCodePrompts/README.md [new file with mode: 0644]

diff --git a/OpenCodePrompts/DEBUGGING-PREFIX.txt b/OpenCodePrompts/DEBUGGING-PREFIX.txt
new file mode 100644 (file)
index 0000000..15e42e6
--- /dev/null
@@ -0,0 +1,8 @@
+DO NOT READ ANYTHING GIT-RELATED LIKE THE .git DIRECTORY!
+DO NOT USE git UNDER ANY CIRCUMSTANCES!
+DO NOT MAKE ANY NETWORK REQUESTS!
+RUN ANY COMMAND IN THE QUESTION TO HELP YOU IN FINDING THE ISSUE!
+OTHERWISE, DO NOT EDIT OR DELETE ANY FILES, ESPECIALLY .odin AND .cpp FILES!
+YOU MAY EXPLAIN POTENTIAL FIXES, BUT DO NOT WRITE A FIX TO DISK!
+JUST EXPLAIN THE UNDERLYING ISSUE!
+
diff --git a/OpenCodePrompts/DEBUGGING-SUFFIX-ODIN-CRASH.txt b/OpenCodePrompts/DEBUGGING-SUFFIX-ODIN-CRASH.txt
new file mode 100644 (file)
index 0000000..54b0e35
--- /dev/null
@@ -0,0 +1,2 @@
+Why does running "./odin run reproduce -debug" cause a compiler crash?
+You may also use the lldb or gdb commands to debug this program
diff --git a/OpenCodePrompts/README.md b/OpenCodePrompts/README.md
new file mode 100644 (file)
index 0000000..3429a87
--- /dev/null
@@ -0,0 +1,9 @@
+# OpenCode Prompts
+
+Prompts, prefixes, and suffixes I use with the OpenCode AI coding agent.
+
+I usually use OpenCode for debugging issues in git repos rather than developing
+new software or even fixes for issues. As such, the prompts optimize for that case
+
+Because I debug a lot of native software, I also use the opencode-lldb-debug plugin,
+and some prompts assume it's installed, but the prompts will still work without it