api-testing
Skill13 starsChanged 7 months agoMITView on GitHub
REST/GraphQL API testing with automated validation — test endpoints, validate responses, check status codes, and ensure API contracts
- Sends data out
17 other projects use a version of this.
Adopted by
Most recently taken up by
- HACK-WU/skillstheir own version, first seen Sep 23, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- Strategic-Automation/violintheir own version, first seen Sep 22, 2026
- fishzjp/qa-skillstheir own version, first seen Sep 7, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Aug 13, 2026
- int2t05/engineering-skillstheir own version, first seen Aug 13, 2026
Used with
Projects with it also use visual-testing, mobile-testing and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
petrkindlmannSkillvisual-testing
Implement visual regression testing with Playwright screenshots, Chromatic, Percy, and Argos CI. Covers baseline management, diff threshold tuning, dynamic content masking, responsive viewport testing, and review/approval workflows. Use when: "visual test," "screenshot," "visual regression," "pixel diff," "snapshot diff," "update baselines," "Chromatic," "percy snapshot," "argos screenshot." Not for: bulk baseline regeneration after a redesign broke many tests — use selector-drift-recovery; cross-browser rendering matrices — use cross-browser-testing; general Playwright test structure — use playwright-automation. Related: playwright-automation, ci-cd-integration, cross-browser-testing.
Also in 3 projects that use this
petrkindlmannSkillmobile-testing
Test native, React Native, hybrid, and Flutter mobile apps with Appium 3.x, Detox, Maestro, and Patrol. Covers device farm setup (BrowserStack, Sauce Labs), gesture simulation, deep link and cold-start testing, push notifications, biometric (Face ID) auth, offline/poor-network simulation, and iOS/Android permission dialog handling. Use when: "mobile test," "Appium," "Detox," "Maestro," "Patrol," "Flutter test," "iOS test," "Android test," "device farm," "deep link," "biometric," "Face ID," "permission dialog," "React Native test." Not for: device/browser matrix strategy in the abstract — use cross-browser-testing; app startup/memory/battery profiling depth — use performance-testing; mobile screenshot diffing — use visual-testing. Related: ci-cd-integration, cross-browser-testing, performance-testing, test-data-management, test-reliability.
Also in 3 projects that use this
belokonmSkillperformance-testing
Performance testing specialist for load testing, stress testing, and performance optimization across applications and infrastructure
Also in 3 projects that use this
Svenja-devSkille2e-testing
Also in 3 projects that use this
BlockSkilldebugging
Debugging guidelines and best practices
Also in 4 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 5 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- fugazi/test-automation-skills-agents★ 245same name
- idavidov13/agentic-playwright★ 222same name
- petrkindlmann/qa-skills★ 160same name
- Strategic-Automation/violin★ 145same name
- fishzjp/qa-skills★ 35same name
- mindfortai/security-skills★ 16same name
- vikisingh23/neuraforge-ai★ 4same name
- int2t05/engineering-skills★ 3same name
- ironbee-ai/ironbee-devtools-skills★ 3same name
- HACK-WU/skills★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository143 other files it gives its agents.
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- frontend-ui-engineeringSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incremental-implementationSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- addyosmani-tddSkill
- using-agent-skillsSkill
- apple-notesSkill
- apple-remindersSkill
- findmySkill
- imessageSkill
- claude-codeSkill
- codexSkill
- hermes-agentSkill
- opencodeSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-comicSkill
- baoyu-infographicSkill
- claude-designSkill
- comfyuiSkill
- creative-ideationSkill
- design-mdSkill
- drawio-headlessSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- p5jsSkill
- pixel-artSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- social-media-slideshow-videoSkill
- songwriting-and-ai-musicSkill
- touchdesigner-mcpSkill
- visual-assets-generationSkill
- jupyter-live-kernelSkill
- api-monitoring-botsSkill
- cloud-browser-automationSkill
- docker-composeSkill
- kanban-orchestratorSkill
- kanban-workerSkill
- tinyfish-integrationSkill
- vps-cleanupSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Test REST and GraphQL APIs with automated validation.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Testing — Automated Endpoint Validation
Test REST and GraphQL APIs with automated validation. Verify endpoints, status codes, response schemas, performance, and security. Ensure API contracts are maintained across changes.
When to Use
- Testing REST/GraphQL endpoints
- Validating API responses
- Contract testing between services
- Performance testing APIs
- Security testing endpoints
- CI/CD API validation
Testing Approaches
1. Manual Testing (curl)
# GET request
curl -X GET https://api.example.com/users
# POST with JSON
curl -X POST https://api.example.com/users \
-H "Content-Type: application/json" \
-d '{"name": "John", "email": "john@example.com"}'
# With authentication
curl -X GET https://api.example.com/profile \
-H "Authorization: Bearer YOUR_TOKEN_HERE"
# Save response
curl -X GET https://api.example.com/users -o response.json
# Show headers
curl -i https://api.example.com/users
# Verbose output
curl -v https://api.example.com/users2. Automated Testing (Python + requests + pytest)
import requests
import pytest
BASE_URL = "https://api.example.com"
def test_get_users():
response = requests.get(f"{BASE_URL}/users")
# Status code
assert response.status_code == 200
# Response structure
data = response.json()
assert isinstance(data, list)
assert len(data) > 0
# First user structure
user = data[0]
assert "id" in user
assert "name" in user
assert "email" in user
def test_create_user():
payload = {
"name": "John Doe",
"email": "john@example.com"
}
response = requests.post(
f"{BASE_URL}/users",
json=payload
)
assert response.status_code == 201
data = response.json()
assert data["name"] == payload["name"]
assert data["email"] == payload["email"]
assert "id" in data
def test_authentication_required():
response = requests.get(f"{BASE_URL}/profile")
assert response.status_code == 401
def test_invalid_data():
payload = {"name": ""} # Invalid: empty name
response = requests.post(
f"{BASE_URL}/users",
json=payload
)
assert response.status_code == 400
assert "error" in response.json()
def test_not_found():
response = requests.get(f"{BASE_URL}/users/99999")
assert response.status_code == 4043. Schema Validation (jsonschema)
import requests
from jsonschema import validate
user_schema = {
"type": "object",
"properties": {
"id": {"type": "integer"},
"name": {"type": "string"},
"email": {"type": "string", "format": "email"},
"created_at": {"type": "string", "format": "date-time"}
},
"required": ["id", "name", "email"]
}
def test_user_schema():
response = requests.get(f"{BASE_URL}/users/1")
data = response.json()
# Validate against schema
validate(instance=data, schema=user_schema)4. GraphQL Testing
def test_graphql_query():
query = """
query {
users {
id
name
email
}
}
"""
response = requests.post(
f"{BASE_URL}/graphql",
json={"query": query}
)
assert response.status_code == 200
data = response.json()
assert "data" in data
assert "users" in data["data"]
assert len(data["data"]["users"]) > 0Testing Patterns
1. Setup/Teardown
import pytest
@pytest.fixture
def test_user():
"""Create test user, cleanup after test"""
# Setup
response = requests.post(
f"{BASE_URL}/users",
json={"name": "Test User", "email": "test@example.com"}
)
user = response.json()
yield user
# Teardown
requests.delete(f"{BASE_URL}/users/{user['id']}")
def test_with_fixtures(test_user):
response = requests.get(f"{BASE_URL}/users/{test_user['id']}")
assert response.status_code == 2002. Parametrized Tests
@pytest.mark.parametrize("endpoint,expected_status", [
("/users", 200),
("/posts", 200),
("/comments", 200),
("/invalid", 404),
])
def test_endpoints(endpoint, expected_status):
response = requests.get(f"{BASE_URL}{endpoint}")
assert response.status_code == expected_status3. Performance Testing
import time
def test_response_time():
start = time.time()
response = requests.get(f"{BASE_URL}/users")
duration = time.time() - start
assert response.status_code == 200
assert duration < 1.0 # Must respond within 1 second4. Contract Testing
def test_api_contract():
"""Ensure API contract hasn't changed"""
response = requests.get(f"{BASE_URL}/users/1")
user = response.json()
# Required fields must exist
required_fields = ["id", "name", "email", "created_at"]
for field in required_fields:
assert field in user, f"Missing required field: {field}"
# Field types must match
assert isinstance(user["id"], int)
assert isinstance(user["name"], str)
assert isinstance(user["email"], str)Best Practices
1. Test Error Cases
def test_error_cases():
# Invalid data
response = requests.post(f"{BASE_URL}/users", json={})
assert response.status_code == 400
# Unauthorized
response = requests.get(f"{BASE_URL}/profile")
assert response.status_code == 401
# Not found
response = requests.get(f"{BASE_URL}/users/99999")
assert response.status_code == 4042. Test Pagination
def test_pagination():
response = requests.get(f"{BASE_URL}/users?page=1&limit=10")
data = response.json()
assert "items" in data
assert "total" in data
assert "page" in data
assert len(data["items"]) <= 10Running Tests
# Run all tests
pytest tests/api/
# Run with coverage
pytest tests/api/ --cov
# Run specific test
pytest tests/api/test_users.py::test_get_users
# Run with verbose output
pytest tests/api/ -vReferences
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

