Test API — Testing skill for Claude Code
Test Python backend API endpoints using pytest.
How to install Test API
Installs to ~/.claude/commands/codingthefuturewithai-conduit-test-api.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/codingthefuturewithai/conduit/HEAD/.claude/commands/test-api.md -o ~/.claude/commands/codingthefuturewithai-conduit-test-api.md Restart Claude Code, or start a new session, for it to be picked up.
What Test API does
description: Test Python backend API endpoints using pytest usage: /project:test-api [ENDPOINT-PATTERN] [TEST-TYPE] example: /project:test-api /api/users all
I'll test the backend API using pytest, focusing on $ARGUMENTS.
Step 1: Analyze API Structure
First, let me understand the API structure:
Find API endpoints
!find . -name "*.py" -type f | xargs grep -l "@app\|@router\|@api" | grep -v __pycache__ | head -20
Check existing tests
!find . -path "*/test*" -name "*.py" | g
Alternatives in Testing
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- OpenAgentsControl — AI agent framework for plan-first development workflows with approval-based execution 4.8k ★
- Regen API — Regenerate the OpenAPI spec and web API client after server API changes 2.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Doesitwork
Does it work? Quick health check for any feature - validates API endpoints, frontend-backend integration, test
Quinn
Activates Quinn, QA Engineer. Validates releases, runs regression checks, verifies service wiring, tests API e
Claude Python Setup
A CLAUDE.md template for setting up modern Python development environments with uv, ruff, pytest, and automate
AI Project Template
Unified Python starter for AI projects: classical ML, deep learning, LLM apps, RAG, and agents. uv + Ruff + py
Setup Capi
Generate production-ready Meta Conversions API server-side tracking for Shopify, Stripe, Node, Python, or Next
Auto Captcha Solver
Universal captcha solver for AI Agents using Playwright — hCaptcha + reCAPTCHA v2 via NopeCHA API. Python lib,
Related Agents
Backend Tester
Use for independent, adversarial test coverage of Python backend code after implementation — writes and runs p
FastAPI Backend Developer
Use this agent when the user requests changes to the FastAPI backend, REST API endpoints, Python services, or
Pytest Writer
Expert pytest test writer. Use when writing new tests, adding test coverage, or creating test suites for Pytho