API Negative Tests — Testing skill for Claude Code
Generate and run negative and boundary tests for an API operation from its spec.
How to install API Negative Tests
Installs to ~/.claude/skills/k11-software-solutions-k11techlab-api-functional-qa-mcp-api-negative-tests/SKILL.md
mkdir -p ~/.claude/skills/k11-software-solutions-k11techlab-api-functional-qa-mcp-api-negative-tests && curl -fsSL https://raw.githubusercontent.com/K11-Software-Solutions/k11techlab-api-functional-qa-mcp/HEAD/commands/api-negative-tests.md -o ~/.claude/skills/k11-software-solutions-k11techlab-api-functional-qa-mcp-api-negative-tests/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What API Negative Tests does
description: Generate and run negative and boundary tests for an API operation from its spec argument-hint: [environment]
Generate and run negative and boundary tests for the operation below, using the api-functional-qa MCP tools.
Input: $ARGUMENTS
- Call
list_environments. The tests send invalid requests and a few valid boundary ones that create records, so use an environment that allows writes. Never run them against production. - If valid reques
Alternatives in Testing
- Regen API — Regenerate the OpenAPI spec and web API client after server API changes 2.5k ★
- Inkline — by inkline - Structures development workflow using pnpm with emphasis on TypeScript and Vue 3 Composition API 1.4k ★
- API Rbac Test — API RBAC Test — GenAI IDP Accelerator 295 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
AI Test Agent Playwright
I layer on Playwright (JavaScript): a Writer Agent that writes tests from plain English and a Healer Agent tha
Aegis Coverage Screen
Tool-boundary screen — warn user about ANY project where AEGIS coverage < 100%, list every gap. Mandatory at /
Distill Context
Synthesise Pass 1 context into a minimal context.md, then spawn a clean subagent for the build phase with only
Generator
Generator Prompt (tests/e2e/.spec.ts & tests/api/.spec.ts)
QA Phase
Run QAPhase — the autonomous acceptance-and-ship QA gauntlet. Proves a finished story end-to-end (spec-gap/gri
Generate API Tests From Swagger
Sinh API test cases và automation scripts từ Swagger/OpenAPI specification. Hỗ trợ 2 mode — SPEC (chỉ test cas
Related Agents
Security Testing
Security Testing Agent (SSDF PW.8). Read-only w.r.t. product code. Derives tests from requirements + threat mo
Absolute Test Engineer
Strict TDD RED phase — writes failing unit/integration tests that define a task's acceptance boundary (happy p
Pwauto Scenario Designer
Designs risk-based BDD scenarios in Gherkin from the knowledge base (happy, negative, boundary, role and state