Commit 7bb6003
authored
feat(skills): add writing-unit-tests and writing-integration-tests skills (#37)
* feat(skills): add writing-unit-tests skill for integration test authoring
Covers file structure, 6 test categories (happy path, request verification,
error paths, edge cases, response shape, business logic), mocking patterns,
coverage expectations, and common gotchas.
* feat(skills): add writing-integration-tests skill for e2e API testing
* fix(skills): scope mock_context auth examples to platform OAuth vs custom auth
* docs(skills): update upgrading-sdk-v2 with ActionError cost_usd and output schema cleanup
- Add ActionError with cost_usd example for cost-bearing error paths
- Add conversion pattern for preserving cost_usd during migration
- Add step to remove 'error' property from output schemas in config.json
- Add output schema cleanup to checklist
Addresses feedback from Ninos.1 parent 313077d commit 7bb6003
4 files changed
Lines changed: 880 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
249 | 254 | | |
250 | 255 | | |
251 | 256 | | |
| 257 | + | |
252 | 258 | | |
253 | 259 | | |
254 | 260 | | |
| |||
0 commit comments