api-negative-testing SKILL.md skillA

api-negative-testing from naodeng/awesome-qa-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add naodeng/awesome-qa-skills/api-negative-testing@git:20260915.f49090d

Pins git:20260915.f49090d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
naodeng/awesome-qa-skills
Path
skills/zh/testing-types/api-negative-testing/SKILL.md
Versions recorded
2
Latest version
git:20260915.f49090d, committed Sep 15, 2026
First version recorded
Sep 15, 2026
Size
3,422 bytes
Repository stars
301
License
a license file GitHub does not identify

Use this skill when you need to design evidence-bounded API failure and rejection scenarios; triggers include API 负向测试 and API negative testing.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# API 负向测试

从契约、约束和错误证据中设计非法输入、拒绝和降级候选,输出 ANT-## 发现。它只整理可追溯的 API 质量候选,不执行测试,也不把设计清单写成覆盖、通过或发布证据。

## 何时使用

- 需要从 API 契约、认证授权约束、参数规则、错误码、限流规则、历史缺陷和原始响应 中提取 API 负向测试 候选。
- 需要解释选择理由、适用约束、证据缺口和最小验证动作。
- 材料不完整但仍要交付受限初版,并明确 blocked 或 unassessed 边界。

不适用于直接执行测试、生成无来源的契约或行为、替代完整测试策略,或替 Human 接受风险。

## 输出格式选项

- 默认输出 Markdown;表格、JSON 或 CSV 仅在用户明确需要或现有交付格式要求时使用。
- 把静态分析、未执行项、证据状态和 Human 决策分开;没有运行证据时保持 unassessed、blocked 或 NOT_RUN。

## 如何使用

1. 阅读 prompts/api-negative-testing.md,并提供目标、范围、材料、环境和已有证据。
2. 先完成 known、missing、conflicting、stale、out_of_scope、assumptions 六类输入审计。
3. 用 ANT-## 记录对象、前置条件、关注行为、来源证据和验证方法,保留影响/优先级、责任角色、关闭条件和证据状态。
4. 材料冲突、缺少约束或没有执行证据时,保留双方和待确认问题。

## 核心约束

- 不执行测试,不假设未提供的规则、版本、阈值、数据或响应,不把候选数量当作覆盖证明。
- 文件存在、名称匹配、设计声明或 Eval 配置不等于真实执行证据。
- 未知项标为 unassessed、blocked 或待确认,不用常识补齐。
- 不修改需求、代码、测试资产或目标系统。

## 交付前自检

- [ ] 已记录 known、missing、conflicting、stale、out_of_scope、assumptions 六类输入审计。
- [ ] 每条 ANT-## 有来源、证据状态、影响/优先级、责任角色、关闭条件和验证方法。
- [ ] 已区分事实、推断、建议、未执行和 Human 决策。
- [ ] 未把设计候选写成执行结果、覆盖证明或发布结论。

## 参考文件

- 回归时读取 evals/eval.yaml 和匹配用例;配置不证明真实项目结果。
- 触发验证使用 evals/trigger-prompts.csv 和 evals/local-rules.json;缺少 skill.selection 证据时报告 BLOCKED。

## 常见误区
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add naodeng/awesome-qa-skills/api-negative-testing@sha256:94c6fc246b0e1459

The line at the top of this page pins the label git:20260915.f49090d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zyngw32si5colvtp.svg)](https://markdownregistry.com/a/art_zyngw32si5colvtp)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Sep 15, 2026.

versioncommittedcommitsizeaudit
git:20260915.f49090d latest2026-09-15 f49090d 3,422 BA view · diff
git:20260915.d1274c92026-09-15 d1274c9 2,381 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3422 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

naodeng/awesome-qa-skills · 301 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zyngw32si5colvtp
GET https://markdownregistry.com/api/v1/resolve?ref=naodeng/awesome-qa-skills/api-negative-testing
GET https://markdownregistry.com/api/v1/blob/94c6fc246b0e145972cb810a6a0bb260dc46f71a7f461b4c21a025980728e3ad

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from naodeng/awesome-qa-skills

AGENTS.md AGENTS.md file
naodeng/awesome-qa-skills · AGENTS.md
git:20261029.dc831fe · audit A · 301 stars
sqet-judge-calibration SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/calibration/SKILL.md · Offline answer fixtures for calibrating an experimental semantic judge; not a Pilot Skill or runtime result.
git:20261016.61d7e3c · audit A · 301 stars
parent SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/fixture-skills/parent/SKILL.md · Fixture only.
git:20261016.61d7e3c · audit B · 301 stars
nested SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/fixture-skills/parent/fixtures/nested/SKILL.md · Fixture only.
git:20261016.61d7e3c · audit B · 301 stars
functional-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/functional-testing-en/SKILL.md · Use this skill when you need to design functional test plans or cases for business flows, UI, data, and integrations…
git:20261016.61d7e3c · audit A · 301 stars
functional-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/functional-testing-zh/SKILL.md · Use this skill when you need to design functional test plans or cases for business flows, UI, data, and integrations…
git:20261016.61d7e3c · audit A · 301 stars
performance-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/performance-testing-en/SKILL.md · Use this skill when you need to design performance testing for load, stress, spike, endurance, or capacity objectives…
git:20261016.61d7e3c · audit A · 301 stars
performance-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/performance-testing-zh/SKILL.md · Use this skill when you need to design performance testing for load, stress, spike, endurance, or capacity objectives…
git:20261016.61d7e3c · audit A · 301 stars
skill-change-verification SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-change-verification-en/SKILL.md · Use this skill when selecting and reporting verification for Skill changes; triggers include Skill change verification…
git:20261016.61d7e3c · audit A · 301 stars
skill-change-verification SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-change-verification-zh/SKILL.md · Use this skill when selecting and reporting verification for Skill changes; triggers include Skill 变更验证、质量门禁、evidence…
git:20261016.61d7e3c · audit A · 301 stars
skill-evaluation SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-evaluation-en/SKILL.md · Use this skill when designing, running, interpreting, or reporting Agent Skill evaluations, selecting cases or judges…
git:20261016.61d7e3c · audit A · 301 stars
skill-evaluation SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-evaluation-zh/SKILL.md · Use this skill when designing, running, interpreting, or reporting Agent Skill evaluations, selecting cases or judges…
git:20261016.61d7e3c · audit A · 301 stars

Every file in naodeng/awesome-qa-skills

Other files named api-negative-testing

api-negative-testing SKILL.md skill
naodeng/awesome-qa-skills · skills/en/testing-types/api-negative-testing/SKILL.md · Use this skill when you need to design evidence-bounded API failure and rejection scenarios; triggers include API 负向测试…
v1.0.0 · audit A · 301 stars

Browse by kind, by grade A, or by owner.