Api Test Generator
Helps with API, testing as part of agent workflows workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add jeremylongshore-api-test-generator npx -- -y @trustedskills/jeremylongshore-api-test-generator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"jeremylongshore-api-test-generator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/jeremylongshore-api-test-generator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The API Test Generator skill automatically creates test cases for APIs. It generates tests based on a provided OpenAPI specification (Swagger) or by analyzing API endpoint documentation. This allows users to quickly validate API functionality and ensure quality without manual test creation.
When to use it
- Automated Testing: Generate comprehensive test suites for new or existing APIs, reducing manual effort.
- API Documentation Validation: Verify that your API implementation aligns with its documented specification.
- Regression Testing: Quickly create tests after code changes to ensure no functionality is broken.
- Onboarding New Team Members: Provide a starting point for testing an unfamiliar API.
Key capabilities
- Generates test cases from OpenAPI specifications (Swagger).
- Analyzes API endpoint documentation to infer test scenarios.
- Automated test creation.
Example prompts
- "Generate tests for this API: [OpenAPI specification URL]"
- "Create a test suite for the
/usersendpoint, including GET and POST methods." - "Based on this API documentation, generate integration tests: [Documentation text]"
Tips & gotchas
- The quality of generated tests depends heavily on the accuracy and completeness of the provided OpenAPI specification or API documentation. Ensure these are up-to-date for best results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.