SKILL

api-test-suite-builder

用户要求为 REST 端点编写 API、集成或契约测试时使用。根据路由构建套件,为每个端点覆盖正常流程、认证、校验错误和边界情况。

译文已校对
查看英文原文

Use when asked to write API, integration or contract tests for REST endpoints. Builds the suite from the routes: happy paths, auth, validation errors and edge cases per endpoint.

适用对象:软件开发与测试。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • API Test Suite Builder
  • Overview
  • Core Capabilities
  • When to Use
  • Route Detection
  • Next.js App Router
  • Express
  • FastAPI

Tier: POWERFUL Category: Engineering Domain: Testing / API Quality -- Scans API route definitions across frameworks (Next.js App Router, Express, FastAPI, Django REST) and auto-generates comprehensive test suites covering auth, input validation, error codes, pagination, file uploads, and rate limiting. Outputs ready-to-run test files for Vitest+Supertest (Node) or Pytest+httpx (Python). -- Route detection — scan source files to extract all API endpoints Auth coverage — valid/invalid/expired tokens, missing auth header Input validation — missing fields, wrong types, boundary values, injection attempts Error code matrix — 400/401/403/404/422/500 for each route Pagination — first/last/empty/oversized pages File uploads — valid, oversized, wrong MIME type, empty Rate limiting — burst detection, per-user vs global limits -- New API added — generate test scaffold before writing implementation (TDD) Legacy API with no tests — scan and generate baseline coverage API contract review — verify existing tests match current route definitions Pre-release regression check — ensure all routes have at least smoke tests Security audit prep — generate adversarial input tests -- -- For every authentic

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
alirezarezvani/claude-skills
源文件
engineering/skills/api-test-suite-builder/SKILL.md
固定版本
8f082544116fc0d014188e521ca40304cdfc86b0
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:alirezarezvani/claude-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:46.744Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。