create-next-rest-framework-api

Installation
SKILL.md

Create Next REST Framework API

Implement Next.js APIs with next-rest-framework using schema-driven request validation, typed responses, and OpenAPI generation.

Workflow

  1. Pick router surface first: App Router (docsRoute, route, routeOperation, rpcRoute) or Pages Router (docsApiRoute, apiRoute, apiRouteOperation, rpcApiRoute).
  2. Load only the reference file needed for the task:
  • references/app-router.md
  • references/pages-router.md
  • references/forms-and-typed-responses.md
  • references/openapi-and-cli.md
  1. Define input and output schemas before handler logic.
  2. Add middleware only for cross-cutting concerns (auth, tracing, feature flags), and pass derived context through middleware return values.
  3. Wire docs and CLI (generate and validate) so OpenAPI stays current in CI.

Router Selection

Installs
7
GitHub Stars
213
First Seen
Feb 28, 2026
create-next-rest-framework-api — blomqma/next-rest-framework