fastify-best-practices

This skill triggers when developing Fastify services. It first provides a minimal server that can run directly, then specifies a reading order based on the scenario: for beginners, read about plugins, routing, and Schema; for adding authentication, read about plugins, hooks, and authentication; for performance tuning, read about Schema, serialization, and performance; for production deployment, read about logging, configuration, and deployment. The rules directory contains 19 topic files covering error handling, request lifecycle hooks, writing tests with inject, Pino logging, TypeScript type stripping, CORS and security headers, WebSocket, databases, and HTTP proxies. Core principles include effective plugin encapsulation, Schema-first design, using async/await throughout, and prioritizing Fastify's built-in features and official plugins.

This skill triggers when developing Fastify services. It first provides a minimal server that can run directly, then specifies a reading order based on the scenario: for beginners, read about plugins, routing, and Schema; for adding authentication, read about plugins, hooks, and authentication; for performance tuning, read about Schema, serialization, and performance; for production deployment, read about logging, configuration, and deployment. The rules directory contains 19 topic files covering error handling, request lifecycle hooks, writing tests with inject, Pino logging, TypeScript type stripping, CORS and security headers, WebSocket, databases, and HTTP proxies. Core principles include effective plugin encapsulation, Schema-first design, using async/await throughout, and prioritizing Fastify's built-in features and official plugins.

Why it matters Provides a reading order by scenario (beginner, adding authentication, performance tuning, writing tests, production deployment), allowing agents to read only the necessary rule files; pure documentation, no commands executed.

skills.sh installations 112025 (+769 / 24h)

Security Audit: Not audited

  • Not yet scanned

Reasoning

  • skills.sh shows 769 installations in the last 24 hours, with a cumulative total of 112025 (indicating attention only); this is Matteo Collina's skill repository, under the MIT license, with other skills for Node.js, TypeScript, OAuth, etc., in the same repository
  • SKILL.md only points to rule documents in the same directory and does not require an account or external services

Usage

  • Run npx skills add https://github.com/mcollina/skills --skill fastify-best-practices, then say "Add a /users endpoint with JSON Schema validation and tests using Fastify"

Risks

  • Not audited: not scanned on desktop, and the website does not display installation commands; the editor read SKILL.md, which contains no commands, network requests, or external services
  • Specific to Fastify; not applicable to projects using other frameworks like Express

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates