Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fernandogarzaaa-api-test-suite-builder
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
api-test-suite-builder- Description
- API Test Suite Builder
- License
- MIT
- Instructions
- 174 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- example-test-files.md · references/
SKILL.md (first lines)
# API Test Suite Builder
**Tier:** POWERFUL
**Category:** Engineering
**Domain:** Testing / API Quality
---
## Overview
Scans API route definitions across frameworks (Next.js App Router, Express, FastAPI, Django REST) and
auto-generates comprehensive test suites covering auth, input validation, error codes, pagination, file
uploads, and rate limiting. Outputs ready-to-run test files for Vitest+Supertest (Node) or Pytest+httpx
(Python).
---
## Core Capabilities
- **Route detection** — scan source files to extract all API endpoints
- **Auth coverage** — valid/invalid/expired tokens, missing auth header
- **Input validation** — missing fields, wrong types, boundary values, injection attempts
- **Error code matrix** — 400/401/403/404/422/500 for each route
- **Pagination** — first/last/empty/oversized pages
- **File uploads** — valid, oversized, wrong MIME type, empty
- **Rate limiting** — burst detection, per-user vs global limits
---
## When to Use
- New API added — generate test scaffold before writing implementation (TDD)
- Legacy API with no tests — scan and generate baseline coverage
- API contract review — verify existing tests match current route definitions
- Pre-release regression check — ensure all routes have at least smoke tests
- Security audit prep — generate adversarial input tests
---
## Route Detection
### Next.js App Router
```bash
# Find all route handlers
find ./app/api -name "route.ts" -o -name "route.js" | sort
# Extract HTTP methods from each route file
grep -rn "export async function\|export function" app/api/**/route.ts | \
grep -oE "(GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS)" | sort -u
# Full route map
find ./app/api -name "route.ts" | while read f; do
route=$(echo $f | sed 's|./app||' | sed 's|/route.ts||')
methods=$(grep -oE "export (async )?function (GET|POST|PUT|PATCH|DELETE)" "$f" | \
grep -oE "(GET|POST|PUT|PATCH|DELETE)")
echo "$methods $route"
done
```
### Express
```bash
# Find all router files
find ./src -name "*.ts" -o -name "*.js" | xargs grep -l "router\.\(get\|post\|put\|delete\|patch\)" 2>/dev/null
# Extract routes with line numbers
grep -rn "router\.\(get\|post\|put\|delete\|patch\)\|app\.\(get\|post\|put\|delete\|patch\)" \
src/ --include="*.ts" | grep -oE "(get|post|put|delete|patch)\(['\"][^'\"]*['\"]"
# Generate route map
grep -rn "router\.\|app\." src/ --include="*.ts" | \
grep -oE "\.(get|post|put|delete|patch)\(['\"][^'\"]+['\"]" | \
sed "s/\.\(.*\)('\(.*\)'/\U\1 \2/"
```
### FastAPI
```bash
# Find all route decorators
grep -rn "@app\.\|@router\." . --include="*.py" | \
grep -E "@(app|router)\.(get|post|put|delete|patch)"
# Extract with path and function name
grep -rn "@\(app\|router\)\.\(get\|post\|put\|delete\|patch\)" . --include="*.py" | \
grep -oE "@(app|router)\.(get|post|put|delete|patch)\(['\"][^'\"]*['\"]"
```
### Django REST Framework
```bash
# urlpatterns extraction
grep -rn "path\|re_path\|url(" . --include="*.py" | grep "urlpatterns" -A 50 | \
grep -E "path\(['\"]" | grep -oE "['\"][^'\"]+['\"]" | head -40
# ViewSet router registration
grep -rn "router\.register\|DefaultRouter\|SimpleRouter" . --include="*.py"
```
---
## Test Generation Patterns
### Auth Test Matrix
For every authenticated endpoint, generate:
| Test Case | Expected Status |
|-----------|----------------|
| No Authorization header | 401 |
| Invalid token format | 401 |
| Valid token, wrong user role | 403 |
| Expired JWT token | 401 |
| Valid token, correct role | 2xx |
| Token from deleted user | 401 |
### Input Validation Matrix
For every POST/PUT/PATCH endpoint with a request body:
| Test Case | Expected Status |
|-----------|----------------|
| Empty body `{}` | 400 or 422 |From fernandogarzaaa/OpenChimera_v1, MIT.
More from fernandogarzaaa/OpenChimera_v1
- 0.512score
api-design-reviewer
fernandogarzaaa
API Design Reviewer
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
astrbot
fernandogarzaaa
Bridge skill for the local AstrBot workspace mirrored under skills/AstrBot.
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
llamafactory
fernandogarzaaa
Bridge skill for the local LlamaFactory workspace mirrored under D:\openclaw\skills\LlamaFactory.
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
swe-agent
fernandogarzaaa
Bridge skill for the local SWE-agent workspace mirrored under D:\openclaw\skills\SWE-agent.
SkillCFreshness: C★ 4Claude Code +9 - 0.507score
agent-workflow-designer
fernandogarzaaa
Agent Workflow Designer
SkillCFreshness: C★ 4Claude Code +9 - 0.459score
aws-solution-architect
fernandogarzaaa
Design AWS architectures for startups using serverless patterns and IaC templates.
SkillDFreshness: D★ 4Claude Code +9 - 0.277score
appforge-mcp
fernandogarzaaa
No description from the publisher yet.
SkillCFreshness: C★ 4Claude Code +9 - 0.277score
advanced-memory
fernandogarzaaa
No description from the publisher yet.
SkillCFreshness: C★ 4Claude Code +9 - 0.235score
agentic-seek
fernandogarzaaa
No description from the publisher yet.
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Mar 20, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.542score
api-test-suite-builder
LeoYeAI
API Test Suite Builder
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.304score
api-test-suite-builder
10srav
API Test Suite Builder
SkillCFreshness: C★ 4Claude Code +9 - 0.238score
api-test-suite-builder
nickgallick
API Test Suite Builder
SkillDFreshness: DClaude Code +9 - 0.235score
api-test-suite-builder
brovzar-lab
API Test Suite Builder
SkillDFreshness: DClaude Code +9
More from fernandogarzaaa
- 0.622score
agent-as-model
fernandogarzaaa
A true MCP server where the agent is the model and the API key.
ConnectorAFreshness: ALocal↓ 467/wkClaude Code +5 - 0.512score
api-design-reviewer
fernandogarzaaa
API Design Reviewer
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
astrbot
fernandogarzaaa
Bridge skill for the local AstrBot workspace mirrored under skills/AstrBot.
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
swe-agent
fernandogarzaaa
Bridge skill for the local SWE-agent workspace mirrored under D:\openclaw\skills\SWE-agent.
SkillCFreshness: C★ 4Claude Code +9 - 0.510score
llamafactory
fernandogarzaaa
Bridge skill for the local LlamaFactory workspace mirrored under D:\openclaw\skills\LlamaFactory.
SkillCFreshness: C★ 4Claude Code +9 - 0.507score
agent-workflow-designer
fernandogarzaaa
Agent Workflow Designer
SkillCFreshness: C★ 4Claude Code +9
Cite this page
api-test-suite-builder skill. Agent Mart. https://agentmart.dev/skills/fernandogarzaaa-api-test-suite-builder (last updated 2026-10-24)