aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/skills/testing
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/pi-coding-agent/skills/testing')
-rw-r--r--modules/development/pi-coding-agent/skills/testing/SKILL.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/skills/testing/SKILL.md b/modules/development/pi-coding-agent/skills/testing/SKILL.md
new file mode 100644
index 0000000..4b1b6eb
--- /dev/null
+++ b/modules/development/pi-coding-agent/skills/testing/SKILL.md
@@ -0,0 +1,35 @@
+---
+name: testing
+description: "Figure out the project's existing test strategy, add targeted tests, run the smallest useful test set, then broaden validation."
+---
+
+# Testing Skill
+
+Figure out the project's existing test strategy, add targeted tests, run the smallest useful test set, then broaden validation.
+
+## Process
+
+### 1. Discover
+- Find test framework and conventions
+- Locate existing test files
+- Understand test organization
+
+### 2. Target
+- Write tests for the specific change
+- Focus on behavior, not implementation
+- Cover edge cases and error paths
+
+### 3. Run Small
+- Execute only affected tests first
+- Use test filtering if available
+- Verify new tests pass
+
+### 4. Broaden
+- Run full test suite
+- Check for flaky tests
+- Validate integration points
+
+### 5. Report
+- Document what was tested
+- Note any skipped tests
+- Report coverage gaps \ No newline at end of file