メインコンテンツへスキップ
このコンテンツはお使いの言語にまだ対応していないため、英語で表示されています。

Fastify Best Practices

Skill 検証済み
98

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.

AI サマリー

This skill offers detailed explanations and code examples for building Fastify applications, covering core concepts like plugins, routing, validation, error handling, authentication, and deployment. It leverages TypeBox for schema validation and provides insights into performance optimization and security headers.

インストール

npx skills add mcollina/skills

Vercel skills CLI(skills.sh)を npx 経由で実行します。ローカルに Node.js と、skills 対応のエージェント(Claude Code、Cursor、Codex など)が少なくとも 1 つインストールされている必要があります。リポジトリが agentskills.io 形式に従っていることを前提としています。

21 days ago
1.8k stars
MIT
2 days ago に更新
ソースコードを表示