Community코딩 & 개발github.com

mcollina/fastify-best-practices

Fastify Node.js 백엔드 서버 및 REST API 개발을 TypeScript 또는 JavaScript로 안내합니다. Fastify 애플리케이션을 구축, 구성, 디버깅할 때 사용하세요.

fastify-best-practices란 무엇인가요?

이 스킬은 Fastify Node.js 백엔드 서버와 REST API를 TypeScript 또는 JavaScript로 개발하는 데 필요한 모범 사례와 구체적인 지침을 제공합니다. 라우트 정의, 플러그인 구현, JSON 스키마 검증 설정, 오류 처리, 성능 최적화, 인증 관리, CORS 및 보안 헤더 구성, 데이터베이스 통합, WebSocket 작업, 프로덕션 배포 등 Fastify 애플리케이션의 전체 수명 주기를 다룹니다. 특히 Fastify의 요청 라이프사이클(훅, 직렬화, Pino 로깅)과 'strip types'를 통한 TypeScript 통합을 상세히 설명합니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 AI 에이전트가 Fastify 관련 작업을 수행할 때 트리거 용어(Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts)를 인식하여 개발자에게 실용적이고 일관된 코드 작성 방법을 안내합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mcollina/skills/tree/main/skills/fastify-best-practices

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

fastify-best-practices은(는) 무엇을 하나요?

Fastify Node.js 백엔드 서버 및 REST API 개발을 TypeScript 또는 JavaScript로 안내합니다. Fastify 애플리케이션을 구축, 구성, 디버깅할 때 사용하세요. 라우트 정의, 플러그인 구현, JSON 스키마 검증 설정, 오류 처리, 성능 최적화, 인증 관리, CORS 및 보안 헤더 구성, 데이터베이스 통합, WebSocket 작업, 프로덕션 배포 등을 포함합니다. Fastify 요청 라이프사이클(훅, 직렬화, Pino 로깅)과 'strip types'를 통한 TypeScript 통합을 다룹니다. 트리거 용어: Fastify, Node.js server, REST API, API routes, 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`.

관련 스킬