autorenew

SKILL DETAIL

API Negative Testing

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

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / DEV
LanguageChinese / English
EvalsEvals ✓
Synced2026-09-15

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

  • When you need API negative testing candidates from API contracts, authentication and authorization constraints, parameter rules, error codes, rate-limit rules, defects, and raw responses.
  • Do not execute tests, assume missing rules, versions, thresholds, data, or responses, or treat candidate counts as coverage proof.
  • File presence, names, design declarations, and Eval configuration are not runtime evidence.
  • Mark unknowns unassessed, blocked, or pending clarification instead of filling them with convention.
  • Do not turn a method name, file presence, or candidate count into test execution, coverage, pass, or release evidence when scope or evidence is incomplete.

When to use

Use this Skill
  • When you need API negative testing candidates from API contracts, authentication and authorization constraints, parameter rules, error codes, rate-limit rules, defects, and raw responses.
  • When you need selection rationale, applicability constraints, evidence gaps, and the smallest validation action.
  • When inputs are incomplete but a bounded first pass can preserve blocked or unassessed boundaries.
Common pitfalls
  • Do not turn a method name, file presence, or candidate count into test execution, coverage, pass, or release evidence when scope or evidence is incomplete.
  • Do not fill in missing rules, thresholds, data, environments, or results from convention; preserve unassessed, blocked, and pending items.
  • Do not expand this specialist design or review into a complete strategy, full test cases, runtime execution, or a release decision.

Input

Minimum Input
  • Read prompts/api-negative-testing.md and provide the objective, scope, material, environment, and evidence.
Recommended Input
  • Project goal
  • Test scope
  • Constraints
Optional Context
  • Relevant code or configuration
  • Historical results
  • Logs and metrics

Output

The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

Judge the output value before installing

  1. 01Read prompts/api-negative-testing.md and provide the objective, scope, material, environment, and evidence.
  2. 02Complete the known, missing, conflicting, stale, out_of_scope, and assumptions input audit before findings.
  3. 03Record ANT-## with the subject, preconditions, behavior of concern, source evidence, and validation, plus impact/priority, owner role, close condition, and evidence state.
  4. 04Preserve conflicts, unknown constraints, and open questions when evidence is incomplete.

How It Works

  1. 01Read prompts/api-negative-testing.md and provide the objective, scope, material, environment, and evidence.
  2. 02Complete the known, missing, conflicting, stale, out_of_scope, and assumptions input audit before findings.
  3. 03Record ANT-## with the subject, preconditions, behavior of concern, source evidence, and validation, plus impact/priority, owner role, close condition, and evidence state.
  4. 04Preserve conflicts, unknown constraints, and open questions when evidence is incomplete.

Install & Quick Start

Install command / SHELL
npx skills add \
  https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/api-negative-testing
  -g
api-negative-testing.prompt
@skill api-negative-testing

Using the current project context, produce an actionable result following this Skill.

Additional context:
[Paste project context or requirement]