SKILL82.5K installs2.0K

Fastify Best Practices

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts.

Type
Skill
Author
mcollina
Category
Backend
GitHub stars
2.0K
Installs
82.5K
Last updated
October 27, 2026

Install

npx skills add https://github.com/mcollina/skills --skill fastify-best-practices

Use cases


Frequently Asked Questions

Does it cover TypeScript?

Yes, it covers TypeScript integration via strip types as well as JavaScript.

What parts of Fastify does it address?

Routes, plugins, JSON Schema validation, error handling, performance, authentication, CORS and security headers, databases, WebSockets, deployment, and the full request lifecycle.

What triggers this skill?

Terms like Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, and app.ts.


About this skill

Guides development of Fastify Node.js backend servers and REST APIs in TypeScript or JavaScript. It covers routes, plugins, JSON Schema validation, error handling, performance, authentication, CORS and security headers, databases, WebSockets, and deployment, along with the full request lifecycle and Pino logging. Use it when building, configuring, or debugging a Fastify application.

Summary written with AI assistance from the project's public description.


Categories


More from mcollina


Similar Skills