route-tester

Diagnose and validate API routes with authenticated and unauthenticated requests.

1|3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/vobbilis/aigile --skill route-tester-vobbilis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: route-tester
Source: https://github.com/vobbilis/aigile/tree/main/.github/skills/route-tester
Command: npx skills add https://github.com/vobbilis/aigile --skill route-tester-vobbilis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API route testing and debugging can be tedious and error-prone. This Skill provides a repeatable workflow to verify route existence, authentication flows, and error handling, reducing manual debugging time.

Core Features & Use Cases

  • Systematic route testing including authentication flows, not-found cases, and error responses.
  • Guided debugging workflow with PM2 log inspection, route-registration checks, and curl command generation.
  • Reusable test patterns for common services and environments (local development and CI).

Quick Start

Run the recommended test command against a target route to reproduce the result and generate a curl command for manual verification.

Frequently Asked Questions about route-tester

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test API routes with authentication and verify error handling?

API route testing with authentication is streamlined by executing both authenticated and unauthenticated requests to validate correct responses and error handling. This provides a reproducible workflow using curl command generation to verify route behavior.

What is the best way to debug API routes using PM2 logs?

Debugging API routes using PM2 logs involves a guided workflow that inspects PM2 logs, checks route registration, and generates curl commands for manual verification. This reduces manual debugging time by providing a systematic testing workflow.

Can I use this route-testing workflow in both local development and CI environments?

Yes, the route-testing workflow applies across local development and CI environments. It offers reusable test patterns for common services and environments, ensuring route existence, authentication flows, and not-found cases are validated consistently.

How do I generate curl commands for manual API verification?

Curl commands for manual API verification are generated by running the recommended test command against a target route. This reproduces the result and outputs a curl command, allowing you to manually verify API behavior and error responses.

Why does my API route testing fail to catch not-found cases and authentication errors?

API route testing often misses not-found cases and authentication errors without a systematic workflow. This approach validates route registration and executes authenticated requests, ensuring error handling and not-found responses are correctly verified.