ข้ามไปยังเนื้อหาหลัก
เนื้อหานี้ยังไม่มีในภาษาของคุณ และกำลังแสดงเป็นภาษาอังกฤษ

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 ในเครื่อง และมี agent ที่รองรับ skills อย่างน้อยหนึ่งตัว (Claude Code, Cursor, Codex, …) ทั้งนี้สมมติว่า repo ใช้รูปแบบ agentskills.io

23 days ago
1.8k stars
MIT
อัปเดตเมื่อ 4 days ago
ดูซอร์สโค้ด