route-tester
CommunityTest authenticated API routes, effortlessly.
AuthorAlexBaum-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies testing of authenticated API routes in your project, handling complex cookie-based JWT authentication automatically. It streamlines validation and debugging of API endpoints.
Core Features & Use Cases
- Automated Auth Testing: Uses a dedicated script (
test-auth-route.js) to handle Keycloak and JWT token management for authenticated requests. - Mock Authentication: Provides a development-only method to bypass Keycloak for quick local testing and role-based access.
- Comprehensive Debugging: Offers solutions for common API errors like 401 Unauthorized, 403 Forbidden, 404 Not Found, and 500 Internal Server Error.
- Use Case: After developing a new protected API endpoint, use this skill to automatically test it with valid and invalid authentication, ensuring it behaves as expected and handles errors gracefully.
Quick Start
Use the route-tester skill to test the POST /api/auth/register endpoint with valid user data and verify the 201 Created response.
Dependency Matrix
Required Modules
nodenpm
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: route-tester Download link: https://github.com/AlexBaum-ai/NEURM/archive/main.zip#route-tester Please download this .zip file, extract it, and install it in the .claude/skills/ directory.