aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/prompts/debug.md
diff options
context:
space:
mode:
authorArpit Chakladar <arpit@chakladar.me>2026-09-29 23:45:25 +0530
committerArpit Chakladar <arpit@chakladar.me>2026-09-29 23:45:25 +0530
commit33519df0fff478526d217d04190577b33c5bf7d0 (patch)
tree18f6ee9bb8101381212038d16099e59d250b7080 /modules/development/pi-coding-agent/prompts/debug.md
parent7975de6d03289bcc143137d5458486def5adc672 (diff)
parent871a29efd370088f669c4f2b9e20b8992406a444 (diff)
downloadhome-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.tar.gz
home-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.zip
Merge branch 'adding-pi-harness'
Diffstat (limited to 'modules/development/pi-coding-agent/prompts/debug.md')
-rw-r--r--modules/development/pi-coding-agent/prompts/debug.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/prompts/debug.md b/modules/development/pi-coding-agent/prompts/debug.md
new file mode 100644
index 0000000..19aafb4
--- /dev/null
+++ b/modules/development/pi-coding-agent/prompts/debug.md
@@ -0,0 +1,23 @@
+# Debug
+
+Investigate the reported problem and determine its root cause before making changes.
+
+## Instructions
+
+1. Understand the reported symptom.
+2. Inspect the relevant implementation and configuration.
+3. Reproduce the failure when practical.
+4. Collect evidence from errors, logs, state, and behavior.
+5. Form concrete hypotheses.
+6. Test the hypotheses systematically.
+7. Identify the most likely root cause.
+8. Make the smallest appropriate fix.
+9. Run targeted validation and regression tests.
+
+## Rules
+
+- Do not guess when evidence can be collected.
+- Do not make unrelated changes.
+- Distinguish symptoms from root causes.
+- Preserve existing user changes.
+- Report what was reproduced, what was tested, and what remains uncertain. \ No newline at end of file