mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 08:59:04 +08:00
Add skill triggering test framework
Creates tests/skill-triggering/ to validate skills trigger correctly from naive prompts (without explicitly naming the skill). Tests 6 skills: - systematic-debugging - test-driven-development - writing-plans - dispatching-parallel-agents - executing-plans - requesting-code-review All 6 tests pass - skills trigger correctly based on their descriptions.
This commit is contained in:
11
tests/skill-triggering/prompts/systematic-debugging.txt
Normal file
11
tests/skill-triggering/prompts/systematic-debugging.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
The tests are failing with this error:
|
||||
|
||||
```
|
||||
FAIL src/utils/parser.test.ts
|
||||
● Parser › should handle nested objects
|
||||
TypeError: Cannot read property 'value' of undefined
|
||||
at parse (src/utils/parser.ts:42:18)
|
||||
at Object.<anonymous> (src/utils/parser.test.ts:28:20)
|
||||
```
|
||||
|
||||
Can you figure out what's going wrong and fix it?
|
||||
Reference in New Issue
Block a user