When to use this skill
Use this skill whenever the user wants to:
- Build high-performance Node.js HTTP services with Fastify, schema validation, and plugins
- Configure routing, serialization, logging, and TypeScript
How to use this skill
- Core: fastify(), get/post, request/reply; schema and serialization; plugins and decorators.
- Advanced: @fastify/cors, formbody, static; types and async/await.
- Reference:https://fastify.dev/docs/latest/
Best Practices
- Schema defines requests and responses; plugin encapsulation and order.
- Use logging and error handling in production; performance and security headers.
Keywords
fastify, Node.js, high performance, schema