api-test-plan
仓库创建 2026年1月29日最近提交 14 小时前SkillHot 收录 20 天前
▸ 精选理由
系统性覆盖错误路径与契约回归,便于保证接口稳定性。
这个 Skill 做什么
为API端点生成覆盖功能、异常与契约的系统化测试计划。
为 API 端点列出全面的测试计划,覆盖功能用例、负面/边界情形和契约(contract)检查,包含状态码、schema、认证、校验和错误路径。适合在开发、回归或需要确保与客户端契约一致时使用。特别关注不仅仅是“200 OK”,还会给出错误处理、边界条件和非功能性注意点,方便落地自动化测试。
▸ 展开 SKILL.md 英文原文
Plan tests for an API endpoint or service — functional, negative, and contract. Use when asked to test an API, write API test cases, plan REST/GraphQL endpoint testing, or validate an API contract. Produces an API test plan — per-endpoint cases (status codes, schema, auth, validation, errors), boundary/negative cases, contract checks, and non-functional notes — so the API is verified beyond the happy 200.
1.2k
Stars
220
Forks
40
仓库内 Skill
+74
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/mohitagw15856/pm-claude-skills/main/skills/api-test-plan/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/mohitagw15856/pm-claude-skills/main/skills/api-test-plan/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# API Test Plan Skill APIs fail in specific, testable ways: wrong status codes, schema drift, missing auth checks, sloppy validation, unhelpful errors. This skill plans the tests that catch them — per endpoint, across the response codes and the error paths, with contract checks so the API keeps its promises to clients. It tests the whole behaviour, not just the happy `200`. ## Working from a brief Given an endpoint or an API description, **produce the test plan anyway** — infer the likely parameters, responses, auth model, and error cases, labelling assumptions. Always include auth, validation, and negative cases. Never hand back a question instead of a plan. ## Required Inputs Ask for
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有