一键导入
api-testing
Create and execute API test suites for REST APIs. Use when asked to test endpoints, validate API responses, or create API test plans.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and execute API test suites for REST APIs. Use when asked to test endpoints, validate API responses, or create API test plans.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | api-testing |
| description | Create and execute API test suites for REST APIs. Use when asked to test endpoints, validate API responses, or create API test plans. |
| license | MIT |
| metadata | {"author":"claude-php-agent","version":"1.0.0","tags":["api","testing","rest","http"]} |
| dependencies | ["phpunit/phpunit","guzzlehttp/guzzle"] |
Create comprehensive API test suites for REST APIs. Covers endpoint testing, response validation, authentication flows, error handling, and performance benchmarks.
use GuzzleHttp\Client;
$client = new Client([
'base_uri' => 'https://api.example.com',
'timeout' => 30,
'headers' => ['Accept' => 'application/json'],
]);
Generate PHPUnit test classes with:
Review PHP code for quality, security, performance, and best practices. Use when asked to review, audit, or analyze code quality.
Analyze datasets, generate statistics, create data pipelines, and produce insights. Use when asked to analyze data, create reports, or process CSV/JSON data.
Generate comprehensive documentation for PHP projects including API docs, README files, and inline documentation. Use when asked to document code or create project documentation.
Refactor PHP code to improve structure, readability, and maintainability. Use when asked to refactor, restructure, improve code design, or apply design patterns.