Agent skill · software engineering · aiskillstore

route-tester

Test authenticated routes in the your project using cookie-based authentication. Use this skill when testing API endpoints, validating route functionality, or debugging authentication issues. Includes patterns for using test-auth-route.js and mock authentication.

Why this skill is useful

Adds an executable script for testing authenticated routes with cookie-based JWT authentication that automates the process of obtaining tokens and making requests.

What it needs

Requires node installed locally. Requires keycloak account access. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

your project Route Tester Skill Purpose This skill provides patterns for testing authenticated routes in the your project using cookie-based JWT authentication. When to Use This Skill Testing new API endpoints Validating route functionality after changes Debugging authentication issues Testing POST/PUT/DELETE operations Verifying request/response data your project Authentication Overview The your project uses: Keycloak for SSO (realm: yourRealm) Cookie-based JWT tokens (not Bearer headers) Cookie name: refreshtoken JWT signing: Using secret from config.ini Testing Methods Method 1: test-auth-route.js (RECOMMENDED) The test-auth-route.js script handles all authentication complexity automatically. Location: /root/git/your projectpre/scripts/test-auth-route.js Basic GET Request POST Request with JSON Data What the Script Does 1. Gets a refresh token from Keycloak Username: testuser Password: testpassword 2. Signs the token with JWT secret from config.ini 3. Creates cookie header: refreshtoken=<signed-token> 4. Makes the authenticated request 5. Shows the exact curl command to reproduce manually Script Output The script outputs: The request details The response status and body A curl command for manual reproduction Note: The script is verbose - look for the actual response in the output. Method 2: Manual curl with Token Use the curl command from the test-auth-route.js output: Method 3: Mock Authentication (Development Only - EASIEST) For development, bypass Keycloak entirely using mock auth. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/route-tester

View the source on GitHub

Browse the @skills marketplace