mcpbeat

API Testing

naodeng/awesome-qa-api-testing

Use this skill when you need to design API test plans or cases for REST, GraphQL, or gRPC interfaces; triggers include API 测试 and api testing.

31k tokens
context cost
the whole folder, loaded on every use
48
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
144
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/naodeng/awesome-qa-skills --skill api-testing

What comes with it

107 749 bytes besides the instruction
README.md
agents/openai.yaml
evals/cases/basic-success.yaml
evals/cases/edge-incomplete-input.yaml
evals/cases/edge-risk-priority.yaml
evals/eval.yaml
examples/postman-rest-api/API-Environment.postman_environment.json
examples/postman-rest-api/README.md
examples/postman-rest-api/User-API-Tests.postman_collection.json
examples/postman-rest-api/newman-run.sh
examples/rest-assured-java/README.md
examples/rest-assured-java/pom.xml
examples/rest-assured-java/src/test/java/com/example/UserApiTest.java
examples/supertest-nodejs/README.md
examples/supertest-nodejs/package.json
examples/supertest-nodejs/tests/users.test.js
output-formats.md
output-templates/template-csv.csv
output-templates/template-excel.tsv
output-templates/template-json.json
output-templates/template-markdown.md
output-templates/template-word.md
output-templates/template-xmind.md
prompts/api-testing.md
quick-start.md
references/local/testing-types-automation-testing-tutorial.md
references/local/testing-types-performance-testing-tutorial.md
references/troubleshooting.md
scripts/batch_convert_templates.py
scripts/convert_formats.py
scripts/convert_output_formats.py
scripts/convert_to_csv.py
scripts/convert_to_excel.py
scripts/convert_to_json.py
scripts/convert_to_markdown.py
scripts/convert_to_word.py
scripts/convert_to_xmind.py
scripts/parse_csv.py
scripts/parse_excel.py
scripts/parse_formats.py

The instruction itself

1 sections, as written by the author

API 测试(中文版)

英文版: 见对应英文技能。

何时使用

  • 需要 API 测试方案、API 用例或 API 风险分析。
  • 请求涉及 REST、GraphQL、SOAP、gRPC、WebSocket 或混合接口场景。

执行流程

  • 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
  • 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出。
  • 信息不全时先给可用初版,并显式标出假设与信息缺口。
  • 默认 Markdown;用户指定其他格式时再切换。

核心约束

  • 按风险/业务影响排优先级,不要平均摊铺。
  • 把「已确认事实」和「当前假设」分开写。
  • 不要编造用户未提供的接口、字段、环境或根因细节。
  • 结果必须可执行:场景具体、有优先级、能指导下一步。

按需加载

  • 产出前必须阅读并遵循 prompts/api-testing.md(最低覆盖清单、输出结构、质量要求)。
  • 需要 Excel/CSV/JSON/Word 等格式时:读 output-formats.md,并按用户格式要求输出。
  • 需要套用现成模板时:读 output-templates/ 中匹配的模板,不要自创冲突结构。
  • 用户要示例或对标现有资产时:读 examples/ 中相关样例。
  • 需要框架规范、排障、报告 schema 等深资料时:只读 references/ 里与当前问题相关的文件,不要整目录通读。
  • 需要格式转换或辅助校验时:优先使用 scripts/ 中已有脚本,而不是重写一遍。
  • 需要评测/回归本 skill 时:使用 evals/,并用 skill-up 校验与运行。
  • 用户只要最短上手路径时:读 quick-start.md

交付前自检

  • [ ] 已遵循主提示词的输出结构
  • [ ] 最低覆盖关注:本次纳入的接口或业务流程、优先级和风险等级、正向场景、异常场景、边界场景、鉴权和权限检查、请求与响应校验、错误处理…(细节以主提示词为准)
  • [ ] 已覆盖最低清单,或标明为何省略
  • [ ] 高风险项有明确优先级
  • [ ] 未编造用户未提供的细节
  • [ ] 假设与信息缺口已标明

常见误区

  • 范围和上下文都不清楚时,不要假装已经完整可用。
  • 不要把所有项写成同等重要。
  • 不要跳过假设与信息缺口。
  • 不要输出大段与当前工具链无关的空泛理论。

How to use it

Copy the folder

Take naodeng/awesome-qa-api-testing from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.