Individual skill
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.
skills/fastify/SKILL.md
Source commit c75d70dbfbe991d8cec42aeda0b64ff14fbb9ac7
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,968
- Repository last updated
- Oct 27, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- fastify,-nodejs,-typescript,-backend,-api,-server,-http Declared skill tag
- security Derived category
- testing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 3,775 bytesrules/authentication.mddoc · 13,591 bytesrules/configuration.mddoc · 5,464 bytesrules/content-type.mddoc · 9,011 bytesrules/cors-security.mddoc · 9,710 bytesrules/database.mddoc · 7,863 bytesrules/decorators.mddoc · 10,316 bytesrules/deployment.mddoc · 9,589 bytesrules/error-handling.mddoc · 10,625 bytesrules/hooks.mddoc · 10,801 bytesrules/http-proxy.mddoc · 5,807 bytesrules/logging.mddoc · 8,706 bytesrules/performance.mddoc · 10,130 bytesrules/plugins.mddoc · 8,393 bytesrules/routes.mddoc · 10,667 bytesrules/schemas.mddoc · 12,899 bytesrules/serialization.mddoc · 10,605 bytesrules/testing.mddoc · 11,834 bytesrules/typescript.mddoc · 9,879 bytesrules/websockets.mddoc · 9,649 bytestile.jsonasset · 869 bytes
Read excerpt
## When to use
Use this skill when you need to:
- Develop backend applications using Fastify
- Implement Fastify plugins and route handlers
- Get guidance on Fastify architecture and patterns
- Use TypeScript with Fastify (strip types)
- Implement testing with Fastify's inject method
- Configure validation, serialization, and error handling
## Quick Start
A minimal, runnable Fastify server to get started immediately: