ao92265/claude-code-playbook/api-test
Claude Code and agent skill by ao92265/claude-code-playbook
- community
Checking that the SKILL.md file is still in the repository.
Test API endpoints interactively: send requests, validate responses, check status codes, headers, and response shapes. Useful for manual API verification. Triggers: "test api", "api test", "test endpoint", "check endpoint", "curl". Do NOT use this skill for: writing automated test suites (use /test-first), load testing, or testing third-party APIs you don't control.
Install
npx vskill@latest install ao92265/claude-code-playbook/api-testSKILL.md
The same SKILL.md was published earlier as ao92265/claude-code-playbook/api-test.
API Endpoint Testing
Interactive testing of API endpoints with validation of responses.
Steps
- Identify the endpoint:
- URL, HTTP method, required headers
- Authentication: Bearer token, API key, cookie, or none
- Request body format: JSON, form data, multipart
- Expected response: status code, content type, shape
- Test the happy path:
- Send a request with valid inputs
- Verify: status code matches expected (200, 201, etc.)
- Verify: response body shape matches API contract
- Verify: response headers are correct (Content-Type, CORS, caching)
- Record the response time
- Test error cases:
- Missing required fields → expect 400 Bad Request
- Invalid data types → expect 400 or 422
- Missing authentication → expect 401 Unauthorized
- Insufficient permissions → expect 403 Forbidden
- Non-existent resource → expect 404 Not Found
- Verify error response includes helpful message
- Test edge cases:
- Empty strings, null values, zero, negative numbers
- Very long strings (boundary testing)
- Special characters and unicode
- Empty arrays and objects
- Pagination boundaries (page 0, page beyond last)
- Test idempotency (for mutating endpoints):
- Send the same POST/PUT request twice
- Does it create duplicates? (it shouldn't for idempotent operations)
- Does the response change on the second call?
- Report results:
``` ## API Test Results — [ENDPOINT]
| Test | Expected | Actual | Status | |
|---|---|---|---|---|
| Happy path | 200 | 200 | PASS | |
| Missing auth | 401 | 401 | PASS | |
| Invalid body | 400 | 500 | FAIL | |
| ... | ... | ... | ... |
Response time: Xms Issues found: Y ```
Important
- Use `curl` or the project's HTTP client — don't install extra tools.
- Don't test against production unless the user explicitly says to.
- Mask sensitive data in output (tokens, passwords, PII).
- Test one endpoint at a time — keep the scope focused.
- Record response times but don't treat them as benchmarks — local testing != production performance.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-test/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ao92265/claude-code-playbook/api-test)