Skip to content
Back to skills

Api Testing

ASecurity

Verify API contracts against a real controlled service. Triggers on "test API", "API 测试".

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 4, 2026
developmenttestingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --skill api-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/int2t05-api-testing/badge)](https://www.skillsdirectory.com/skills/int2t05-api-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-testing
description: Verify API contracts against a real controlled service. Triggers on "test API", "API 测试".
---

# API Testing Patterns

## When to use

- Verify API contracts against a real controlled service.

**Not for:** api-design for defining contracts; e2e-testing for UI journeys.

## Steps

1. Identify protocol, contracts, authorized environment, isolated data and tooling.

2. Exercise actual requests, authentication, ownership, invalid input and lifecycle; check GraphQL transport and operation errors.

3. Test relevant pagination, concurrency and repeated requests using the contract idempotency mechanism, not tracing headers.

4. Run, inspect logs and clean only test-owned state; determine whether failures violate tests or implementation from contract evidence.

## Verify

- Real service success and failure match contracts; cleanup is scoped and mock results are not labelled integration.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [references/templates/api-test-scaffold.md](references/templates/api-test-scaffold.md) — REST API test scaffold template (Jest/Supertest)

Files in this skill

  • SKILL.md4.9 KB
  • agents/openai.yaml156 B
  • references/templates/api-test-scaffold.md4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.