w-api-test
Add API tests that exercise public HTTP behavior against existing harnesses.
Install
npx skills add https://github.com/blockmatic/basilic-skills --skill w-api-testSKILL.md
Test endpoints through the public interface using this repo's API or Playwright harness. Do not hit production. Do not hardcode secrets.
- Read the API testing MDX and existing
*.test.tsor e2e specs. - Cover the requested operations, authz denials, and contract-shaped responses.
- Use sandbox or local servers from package scripts. Clean up created resources.
- Run the documented API or e2e command for those tests.
- Docs:
/w-docsif behavior or commands changed.
Related skills
tddmattpocock979KTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.diagnosing-bugsmattpocock678KDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.migrate-to-shoehornmattpocock388KMigrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.systematic-debuggingobra275KUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes