fastify-best-practices: a Claude Code skill by Matteo Collina
For Node.js developers building REST APIs on Fastify who want rules for plugins, schemas and hooks. Skip it if your server is not built on Fastify.
- Score
- 75of 100
- Rank
- #116of 239
- Installs
- 96.5Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~175tokens always
Install
npx skills add https://github.com/mcollina/skills --skill fastify-best-practices Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does fastify-best-practices do?
fastify-best-practices is a Claude skill that guides Claude when it builds or debugs a Fastify server in TypeScript or JavaScript. It opens with a small runnable server that has a /health route, then points to nineteen rule files, such as plugins.md, routes.md, schemas.md, hooks.md, authentication.md, testing.md and deployment.md. It suggests reading orders for common goals, for example plugins, then hooks, then authentication when adding login. Its core ideas are plugin encapsulation, JSON Schema for validation and serialization, async handlers, logging with Pino, testing with inject(), and TypeScript through type stripping.
When should you use fastify-best-practices?
Use it when
- Starting a new REST API on Fastify
- Adding JSON Schema validation to routes
- Writing route tests with inject()
Skip it when
- Your backend is not built on Fastify
- You need frontend help, not server code
What it needs and what it can touch
You need
- Node.js
From reading its instructions, not from running it.
Why it scores 75
Strongest on upkeep (100 of 100), weakest on adoption (57).
Is fastify-best-practices safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Sep 15, 2026 |
| Socket | Passed | Sep 15, 2026 |
| Snyk | Low risk | Sep 15, 2026 |
| Runlayer | Medium risk | Mar 14, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 96,511
- Repository stars
- 1,963
- Last repository change
- Tokens always loaded
- about 175
- Tokens when used
- about 737
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to fastify-best-practices
All skills for this job-
Get nodejs-backend-patternsnodejs-backend-patterns
For developers starting a Node.js API on Express or Fastify who want a checklist of production habits.
-
Get nestjs-best-practicesnestjs-best-practices
For NestJS developers who want Claude to follow set rules on modules, injection and security.
-
Get mcp-buildermcp-builder
For developers turning an API or service into tools Claude can call through MCP.
-
Get mastramastra
For TypeScript developers building agents and workflows with Mastra who want Claude to check current APIs first.