develop-typebox-fastify

Installation
SKILL.md

TypeBox + Fastify Development

Scope

  • Fastify v5+ with TypeBox schemas and @fastify/type-provider-typebox
  • Type-safe route definitions with automatic request/response type inference
  • OpenAPI 3.0 generation from TypeBox schemas via @fastify/swagger
  • Plugin architecture, hooks lifecycle, decorators
  • Testing with inject(), database integration, auth, deployment

Does NOT cover: Frontend frameworks, GraphQL, Express migration (beyond basic guidance), non-TypeBox schema libraries as primary.

When to use

  • Building or modifying Fastify REST APIs
  • Defining TypeBox schemas for validation or serialization
  • Configuring Fastify plugins, hooks, or decorators
  • Writing tests for Fastify routes
  • Setting up OpenAPI/Swagger documentation
Related skills
Installs
1
GitHub Stars
6
First Seen
Mar 29, 2026