AGENT SKILL

api-smoke-tests

Create API smoke tests for auth, CRUD, pagination, empty states, and error paths.

适用职业开发工程师
使用场景后端与接口
License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
api-smoke-tests
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "testing", "api", "smoke" ] } }
description
Create API smoke tests for auth, CRUD, pagination, empty states, and error paths.

03 SKILL.md 正文

API Smoke Tests

Use this skill when validating backend endpoints manually or through scripts.

Workflow

  1. Authenticate through the same flow as the UI.
  2. Test list, detail, create, update, delete, and empty states as applicable.
  3. Include tenant or product entitlement headers when required.
  4. Check status code and response shape.
  5. Record reproducible commands.

Checks

  • A 304 or empty body should not be treated as a successful list response unless documented.

04 同仓库更多 Skills