What problem does it solve? Testing a React Server Components router is hard because the correct test layer depends on what the behavior touches — a pure predicate needs a one-line vitest test, while a real async Server Component cannot run in a plain node test at all. This Skill maps each behavior (loaders, middleware, server actions, handles, client components, response routes, cache/prerender, navigation) to the right testing primitive and import entry so tests are neither too slow nor silently asserting nothing. ## Core Features & Use Cases - Layer decision tree: Routes each behavior to the correct primitive — runLoader/runMiddleware/runInRequestContext for node unit tests, renderRoute for DOM client components, renderServerTree/renderToFlightString/renderHandler for real Flight renders, and dispatch for response routes. - Dev/prod and progressive-enhancement e2e parity: parityDescribe generates both dev and production describes from one body, and expectParity asserts JS and no-JS flows produce identical observable results. - Cache, SWR, and prerender assertions: assertCacheStatus reads the X-Rango-Cache header while createCacheSink/assertCacheDecision capture telemetry events with zero production surface. - Use Case: You need to test a loader that reads env.DB, sets a cookie, and throws a redirect. Use runLoaderResult with a D1 double injected via the env option, then assert the thrown redirect's Location header and the Set-Cookie output. ## Quick Start Ask the assistant to write a unit test for a loader or middleware in your @rangojs/router app, or to set up a dev-and-production e2e test for a route using parityDescribe.