About w-api-test
w-api-test is a repository-specific skill for testing API endpoints through public interfaces, using the project’s API or Playwright harness. It guides developers through covering operations, authorization denials, and response contracts without using production.
Key features
- 01API tests through public interfaces
- 02API and Playwright harness guidance
- 03Coverage for authorization denials
- 04Contract-shaped response checks
- 05Sandbox or local server use
- 06Documented test command execution
Use cases
- 01Testing requested API operations
- 02Checking authorization denial behavior
- 03Verifying response contract shapes
- 04Running endpoint tests without production access
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic/ basilic-skills --skill w-api-testAfter installing, type/w-api-testin Claude Code to confirm it loaded.
Details
From the project READMETest 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.
Comments
Markdown supported