CommunityCodierung & Entwicklunggithub.com

Fastify Best Practices (Deutsch)

Leitet die Entwicklung von Fastify Node.js Backend-Servern und REST-APIs mit TypeScript oder JavaScript. Verwenden Sie dies beim Erstellen, Konfigurieren oder Debuggen einer Fastify-Anwendung.

Was ist Fastify Best Practices (Deutsch)?

Diese Fähigkeit (Skill) bietet eine umfassende Anleitung zur Entwicklung von Fastify-basierten Backend-Servern und REST-APIs. Sie behandelt die wichtigsten Aspekte der Fastify-Entwicklung, einschließlich der Definition von Routen, Implementierung von Plugins, JSON-Schema-Validierung, Fehlerbehandlung, Leistungsoptimierung, Authentifizierung, CORS und Sicherheitsheader, Datenbankintegration, WebSocket-Unterstützung und Produktionsdeployment. Der Skill erklärt außerdem den vollständigen Fastify-Request-Lebenszyklus (Hooks, Serialisierung, Logging mit Pino) sowie die TypeScript-Integration via Strip Types. Er ist ideal für Entwickler, die Fastify-Anwendungen mit TypeScript oder JavaScript bauen, konfigurieren oder debuggen möchten. Die dokumentierten Best Practices stammen aus dem Repository mcollina/fastify-best-practices und sind für alle gängigen Entwicklungsumgebungen (z. B. Claude Code, Cursor, Codex) geeignet, die Fastify als Backend-Framework einsetzen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mcollina/skills/tree/main/skills/fastify-best-practices

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht Fastify Best Practices (Deutsch)?

Leitet die Entwicklung von Fastify Node.js Backend-Servern und REST-APIs mit TypeScript oder JavaScript. Verwenden Sie dies beim Erstellen, Konfigurieren oder Debuggen einer Fastify-Anwendung – einschließlich der Definition von Routen, Implementierung von Plugins, Einrichtung der JSON-Schema-Validierung, Fehlerbehandlung, Leistungsoptimierung, Verwaltung der Authentifizierung, Konfiguration von CORS- und Sicherheitsheadern, Integration von Datenbanken, Arbeiten mit WebSockets und Bereitstellung in der Produktion. Deckt den vollständigen Fastify-Request-Lebenszyklus (Hooks, Serialisierung, Logging mit Pino) und die TypeScript-Integration via Strip Types ab. Triggerbegriffe: Fastify, Node.js Server, REST-API, API-Routen, Backend-Framework, fastify.config, server.ts, app.ts.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

mcollina/documentation

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure. Trigger terms include: documentation structure, Diátaxis, tutorials vs how-to guides, organize docs, user guide, reference docs, technical writing.

mcollina/node

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.

mcollina/nodejs-core

Debugs native module crashes, optimizes V8 performance, configures node-gyp builds, writes N-API/node-addon-api bindings, and diagnoses libuv event loop issues in Node.js. Use when working with C++ addons, native modules, binding.gyp, node-gyp errors, segfaults, memory leaks in native code, V8 optimization/deoptimization, libuv thread pool tuning, N-API or NAN bindings, build system failures, or any Node.js internals below the JavaScript layer.

mcollina/typescript-magician

Designs complex generic types, refactors `any` types to strict alternatives, creates type guards and utility types, and resolves TypeScript compiler errors. Use when the user asks about TypeScript (TS) types, generics, type inference, type guards, removing `any` types, strict typing, type errors, `infer`, `extends`, conditional types, mapped types, template literal types, branded/opaque types, or utility types like `Partial`, `Record`, `ReturnType`, and `Awaited`.

Verwandte Skills