api-test-postman · git:20260807.3bfc411 · 2026-08-07 · sha256 f7215ae1d6bfba46

api-test-postman git:20260807.3bfc411A

Immutable. This exact content never changes and is served at /api/v1/blob/f7215ae1d6bfba46.

---
name: api-test-postman
description: Use this skill when you need design Postman collections, environments, scripts, and Newman-ready API regression plans.; triggers include API Test Postman, API testing, and api-test-postman.
---

# API 测试 Postman

**English version:** see the matching English skill.

## 何时使用

- 需要输出面向 API 测试 Postman 工作流的测试方案或自动化设计。
- 项目已经使用相关工具,或希望得到可直接落地的工具专项方案。

## 输出格式选项

默认使用 Markdown。除非请求明确要求其他格式,不额外扩展输出格式。

## 如何使用

1. 打开 `prompts/api-test-postman.md`,将其作为主提示词。
2. 补充真实项目上下文:范围、环境、约束、风险、依赖和期望交付物。
3. 如果输入不完整,先返回可用的第一版,并标出缺失信息和假设。

## 参考文件

- `prompts/api-test-postman.md`:本技能主提示词。
- `references/framework-spec.md`:工具专项结构和覆盖说明。
- `references/setup-and-ci.md`:安装、执行和 CI 说明。
- `examples/sample-context.md`:示例请求上下文。
- `scripts/run-tests.sh`:轻量本地执行入口。

## 常见误区

- 不要在范围模糊且缺少上下文时直接给泛泛方案。
- 不要把所有模块和场景视为同等重要。
- 不要跳过假设和缺失信息说明。

## 最佳实践

- 从 prompt 文件开始,只补充真正影响结果的上下文。
- 输出保持风险驱动,并能直接用于执行或评审。
- 信息不完整时,先给可用版本,再标清缺口。