Skip to main content
Run any Skill in Manus
with one click

test-api

Stars84
Forks3
UpdatedApril 18, 2026 at 08:42

Auto-generate Vitest request/response tests for every handler in `src/api/`. Each test instantiates a `Request`, calls the exported HTTP method handler directly, and asserts on the returned `Response` — no server boot required. Use when asked to "test my API routes", "scaffold API tests", "generate tests for src/api", or "add tests for this endpoint".

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly