← 返回 Skills 市场
API Test Automation
作者
huahuaweiwei
· GitHub ↗
· v1.0.0
· MIT-0
98
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install my-api-test-automation
功能描述
Generate complete automated API test cases from interface documentation such as OpenAPI, Swagger exports, Postman collections, Markdown API docs, or endpoint...
安全使用建议
This skill appears to do what it says: generate test workspaces, run tests (when asked), and build reports. Before using it: (1) review generated test cases and pre-request/post-assert scripts so they don't send unintended mutating calls or reveal secrets; (2) avoid running tests against production-like endpoints unless you explicitly want to and have confirmed safety; (3) supply credentials (tokens) via environment files or CI secrets rather than embedding them into cases; (4) ensure the chosen runner (newman/node/python/pytest) is installed in the target environment; and (5) inspect any modifications you make to templates for custom network targets — there are no hidden endpoints in the provided files, but generated cases will use whatever base_url you or the input spec provide.
功能分析
Type: OpenClaw Skill
Name: my-api-test-automation
Version: 1.0.0
The skill bundle provides a legitimate framework for automating API testing, supporting both Python (pytest) and Postman (newman) environments. The included Python scripts, `prepare_test_workspace.py` and `build_test_report.py`, perform standard file system operations and data aggregation for test orchestration and reporting without any signs of malicious logic, obfuscation, or unauthorized data exfiltration. While the `agents/openai.yaml` file contains some non-ASCII/garbled characters in the display fields, the functional instructions and code logic are entirely consistent with the stated purpose of API test automation.
能力评估
Purpose & Capability
Name/description match the provided files and scripts: workspace generator, test templates, and report builder are all appropriate for an API test automation skill. There are no unrelated requested binaries, env vars, or config paths in the manifest.
Instruction Scope
SKILL.md explicitly instructs the agent to generate tests, wire pre/post scripts, execute runs, and produce reports. This legitimately requires checking local environment and optionally running mutating API calls. The skill includes a safety note to confirm before running against production-like environments — users should heed that. No instructions attempt to read unrelated system files or exfiltrate data.
Install Mechanism
This is an instruction-only skill with small included Python scripts and templates; there is no install spec that downloads or executes remote artifacts. Risk from install mechanism is low.
Credentials
The skill does not declare required environment variables or credentials. Templates and workspace defaults reference common tokens (e.g., API_TOKEN, access_token) which are expected and proportional for running API tests. There are no requests for unrelated or excessive secrets.
Persistence & Privilege
always is false and the skill does not request permanent platform-level privileges or modify other skills. Normal autonomous invocation (disable-model-invocation: false) is preserved and appropriate for this type of plugin.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install my-api-test-automation - 安装完成后,直接呼叫该 Skill 的名称或使用
/my-api-test-automation触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of api-test-automation skill
- Converts API/interface documentation into executable automated API test suites.
- Supports input docs in OpenAPI, Swagger, Postman, Markdown, tables, and more.
- Generates endpoint-specific tests with configurable pre-request and post-response scripts.
- Adapts suites for user-specified runners (Postman/Newman, pytest, or custom).
- Executes tests in user-defined environments and produces detailed pass/fail reports.
- Documents environment setup, assumptions, blockers, and coverage in final reports.
元数据
常见问题
API Test Automation 是什么?
Generate complete automated API test cases from interface documentation such as OpenAPI, Swagger exports, Postman collections, Markdown API docs, or endpoint... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 API Test Automation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install my-api-test-automation」即可一键安装,无需额外配置。
API Test Automation 是免费的吗?
是的,API Test Automation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
API Test Automation 支持哪些平台?
API Test Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 API Test Automation?
由 huahuaweiwei(@huahuaweiwei)开发并维护,当前版本 v1.0.0。
推荐 Skills