Fastify High-Performance API Patterns
Created by CodeCraft LLCBuild and review Node.js APIs with Fastify
Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.
by Jace (@jamick)v1.0.0 · updated 2026-10-16Report copyright infringement
Description
Build and review Node.js APIs with Fastify - app setup with Pino logging and graceful shutdown, route schemas for body, params, query and response with TypeBox and the type provider (validation via ajv, fast serialization, typed requests), the plugin system and encapsulation (fastify-plugin vs scoped plugins, decorators and their TypeScript declarations), lifecycle hooks (onRequest, preValidation, preHandler, onSend, onClose) and returning replies from async hooks, setErrorHandler for validation and application errors, per-request logging, and testing with app.inject(). Use whenever the project depends on fastify, the user builds or migrates an API to Fastify, adds plugins, hooks, schemas or auth, sees "Reply was already sent", decorators missing in routes, fields disappearing from responses, or asks Fastify vs Express.
Included with all-access
$9.00 value as a single download
AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.
All skills are included with the all-access subscription
Changelog
v1.0.0Oct 16, 2026Latest
Added
- First release.