automating-api-testing
について
このスキルは、RESTおよびGraphQL APIの包括的なテストスイートを自動生成・実行します。OpenAPI仕様に基づいてエンドポイントを検証し、CRUD操作、認証、セキュリティを網羅します。自動化されたAPIテスト、契約検証、またはOpenAPI準拠チェックが必要な場合にご利用ください。
クイックインストール
Claude Code
推奨/plugin add https://github.com/jeremylongshore/claude-code-plugins-plusgit clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/automating-api-testingこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Overview
This skill empowers Claude to automatically generate and execute comprehensive API tests for REST and GraphQL endpoints. It ensures thorough validation, covers various authentication methods, and performs contract testing against OpenAPI specifications.
How It Works
- Analyze API Definition: The skill parses the provided API definition (e.g., OpenAPI/Swagger file, code files) or infers it from usage.
- Generate Test Cases: Based on the API definition, it creates test cases covering different scenarios, including CRUD operations, authentication, and error handling.
- Execute Tests and Validate Responses: The skill executes the generated tests and validates the responses against expected status codes, headers, and body structures.
When to Use This Skill
This skill activates when you need to:
- Generate comprehensive API tests for REST endpoints.
- Create GraphQL API tests covering queries, mutations, and subscriptions.
- Validate API contracts against OpenAPI/Swagger specifications.
- Test API authentication flows, including login, refresh, and protected endpoints.
Examples
Example 1: Generating REST API Tests
User request: "Generate API tests for the user management endpoints in src/routes/users.js"
The skill will:
- Analyze the user management endpoints in the specified file.
- Generate a test suite covering CRUD operations (create, read, update, delete) for user resources.
Example 2: Creating GraphQL API Tests
User request: "Create GraphQL API tests for the product queries and mutations"
The skill will:
- Analyze the product queries and mutations in the GraphQL schema.
- Generate tests to verify the functionality and data integrity of these operations.
Best Practices
- API Definition: Provide a clear and accurate API definition (e.g., OpenAPI/Swagger file) for optimal test generation.
- Authentication Details: Specify the authentication method and credentials required to access the API endpoints.
- Contextual Information: Provide context about the API's purpose and usage to guide the test generation process.
Integration
This skill can integrate with other plugins to retrieve API definitions from various sources, such as code repositories or API gateways. It can also be combined with reporting tools to generate detailed test reports and dashboards.
GitHub リポジトリ
関連スキル
content-collections
メタThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
creating-opencode-plugins
メタThis skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.
evaluating-llms-harness
テストThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
sglang
メタSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
