跳到正文
cccskills
免费在 GitHub 公开

web-api-tester

Test API endpoints for correctness, edge cases, auth handling, and OpenAPI contract compliance.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md1.2 KB
  • agents/openai.yaml306 B
  • references/tools.md514 B
  • scripts/api_tester.py6.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Web API Tester

Objective

Run endpoint-level testing against openapi.yaml and produce API quality coverage artifacts.

Required Workflow

  1. Read openapi.yaml from web-backend-builder.
  2. Build API collections for Bruno or Hoppscotch.
  3. Optionally generate automated tests in Vitest, Jest, or pytest.
  4. For each endpoint test:
    • happy path
    • edge cases (missing fields, invalid types, max payloads)
    • auth failures (401, 403)
    • rate limiting behavior
  5. Validate response contracts against OpenAPI using Zod (TS) or Pydantic (Python).
  6. Add frontend-backend contract tests for API call compatibility.
  7. Generate endpoint and edge-case coverage percentages.
  8. Output api-test-report.json.

Execution

python skills/web-api-tester/scripts/api_tester.py --input <workspace> --output <out.json> --format json

References

  • references/tools.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Scaffold MCP server projects and baseline tool contract checks. Use for defining tool schemas, generating starter server layouts, and validating MCP-ready structure.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Generate reusable multi-step agent workflow blueprints. Use for trigger/action orchestration, deterministic workflow definitions, and automation handoff artifacts.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Build incident response timelines and report packs from event logs. Use for detection-to-recovery reporting, phase tracking, and stakeholder-ready incident summaries.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Prioritize vulnerability remediation using KEV-style exploitation context plus asset criticality. Use for CVE triage, patch order decisions, and remediation reporting.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Map application security findings to OWASP Top 10 categories and generate remediation checklists. Use for normalized AppSec review outputs and category-level prioritization.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Build transformer fine-tuning run plans with task settings, hyperparameters, and model-card outputs. Use for repeatable Hugging Face or PyTorch finetuning workflows.

中文简介正在准备中。当前显示原文说明。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

查看 0x-Professor 的全部技能

报告此技能的问题