fastify-routes
Installation
SKILL.md
Fastify Route Development
This skill provides patterns for creating Fastify routes with TypeBox validation and OpenAPI documentation.
Directory Structure
Routes are located in app/src/routes/. Each route file exports a default async function that registers routes on a Fastify instance.
Route Template
import { type FastifyPluginAsyncTypebox, Type } from "@fastify/type-provider-typebox";
import { ErrorModelSchema } from "../schemas/index.js";