A Fastify skill from Matteo Collina's personal skills repository: loaded when an agent uses Fastify to write Node.js backends and REST APIs. It follows principles of plugin encapsulation, schema-first design, full async/await usage, and minimal dependencies, reading 19 rule files based on the task (routing, JSON Schema validation, hooks, authentication, testing, Pino logging, CORS and security headers, WebSocket, database, deployment, etc.).
skills.sh install count 88524 (+986 / 24h)
Security Audit: Not audited
- Not yet scanned
Rationale
- Provides a reading order by scenario: beginners should start with plugins, routing, and Schema; read plugins, hooks, and authentication when adding auth; read Schema, serialization, and performance for speed optimization; read logging, configuration, and deployment for production.
- TypeScript uses Node's strip types approach, testing uses Fastify's inject(), and SKILL.md includes a minimal runnable server example.
- The SKILL.md body is short, with details loaded on demand from rules/, minimizing context usage; the same repository contains 10 other skills such as node, nodejs-core, oauth, and typescript-magician.
- The repository is MIT licensed; skills.sh shows 986 installs in the last 24 hours, with a cumulative total of 88524. Weekly installs over the last 8 weeks have risen from 3958 to 6291 (indicating attention only).
Usage
- The installation command will be displayed after the audit passes; triggered when mentioning Fastify, Node.js servers, REST APIs, server.ts / app.ts.
- No account or external services required, but Node.js is needed.
Risks
- Not audited in this period, fixed at Grade C, installation command not displayed; SKILL.md contains only descriptions, reading order, and one example, without instructing the agent to execute commands or connect to the network, which aligns with its purpose; the 19 rule files are outside the scan scope; audits by Gen Agent Trust Hub, Socket, and Snyk on skills.sh are all Pass.
- The name on skills.sh is fastify-best-practices, while the directory in the repository is skills/fastify; note this when manually locating files.
- The installation curve over the last 8 weeks is nearly synchronized with nx-workspace and design-doc-mermaid in this period (fastify-best-practices, nx-workspace, and design-doc-mermaid had daily installs of 986, 971, and 977 respectively), suggesting they may have been installed together as part of the same collection; install counts should not be treated as independent indicators of attention.