aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/skills/debugging/SKILL.md
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-27 06:08:52 +0530
committerArpit Chakladar <arpit@chakladar.me>2026-09-29 23:42:32 +0530
commit0c4f95c8106e77abcbdd94917c4b7cf3c7a3c63f (patch)
tree7889d93ac9461b91ad4b0dbc137cc72eff4a8dd6 /modules/development/pi-coding-agent/skills/debugging/SKILL.md
parenta693ec73036cfe4c3aafb49bebd4480bcc1bc9ab (diff)
downloadhome-manager-config-0c4f95c8106e77abcbdd94917c4b7cf3c7a3c63f.tar.gz
home-manager-config-0c4f95c8106e77abcbdd94917c4b7cf3c7a3c63f.zip
feat(development/pi-coding-agent): added custom skills
Diffstat (limited to 'modules/development/pi-coding-agent/skills/debugging/SKILL.md')
-rw-r--r--modules/development/pi-coding-agent/skills/debugging/SKILL.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/skills/debugging/SKILL.md b/modules/development/pi-coding-agent/skills/debugging/SKILL.md
new file mode 100644
index 0000000..05c2de0
--- /dev/null
+++ b/modules/development/pi-coding-agent/skills/debugging/SKILL.md
@@ -0,0 +1,45 @@
+---
+name: debugging
+description: "A systematic workflow; reproduce -> inspect logs/errors -> isolate cause -> form hypothesis -> test -> fix -> regression test."
+---
+
+# Debugging Skill
+
+A systematic workflow: reproduce -> inspect logs/errors -> isolate cause -> form hypothesis -> test -> fix -> regression test.
+
+## Workflow
+
+### 1. Reproduce
+- Create minimal reproduction case
+- Document exact steps
+- Verify consistent failure
+
+### 2. Inspect
+- Read error messages fully
+- Check logs and stack traces
+- Examine relevant code paths
+
+### 3. Isolate
+- Narrow down the failing component
+- Use binary search if needed
+- Add temporary logging
+
+### 4. Hypothesize
+- Form specific, testable hypotheses
+- Prioritize by likelihood
+- Consider recent changes
+
+### 5. Test
+- Verify each hypothesis
+- Use debuggers, prints, or tests
+- Document findings
+
+### 6. Fix
+- Make minimal targeted change
+- Address root cause, not symptom
+- Follow existing patterns
+
+### 7. Regression Test
+- Run existing test suite
+- Add test for the bug
+- Verify fix doesn't break other things