fastify
Guides AI agents to write correct, idiomatic Fastify code using plugins, routes, schemas, and lifecycle hooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guides AI agents to write correct, idiomatic Fastify code using plugins, routes, schemas, and lifecycle hooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Guides AI agents to produce accurate, well-structured technical documentation in Markdown with Mermaid diagrams.
Guides AI agents to write idiomatic, correct Node.js JavaScript code.
Guides AI agents to use Pino logging correctly — levels, structured logs, child loggers, and Fastify integration.
Guides AI agents to write secure Fastify/Node.js code — input validation, authentication, injection prevention, and safe error handling.
SOC 직업 분류 기준
| name | fastify |
| description | Guides AI agents to write correct, idiomatic Fastify code using plugins, routes, schemas, and lifecycle hooks. |
| metadata | {"tags":["fastify","nodejs","http","api"]} |
Use this skill when writing or reviewing any Fastify server code: route definitions, plugins, request validation, error handling, or server lifecycle.
onRequest, preHandler, onSend, etc.)fastify-plugin, encapsulation, registration order.$ref.setErrorHandler, httpErrors, and safe error propagation.// Minimal idiomatic server
import Fastify from 'fastify';
const app = Fastify({ logger: true });
app.register(import('./routes/users.js'));
await app.listen({ port: 3000, host: '0.0.0.0' });
// Route with schema
app.post('/users', {
schema: {
body: { $ref: 'CreateUserBody#' },
response: { 201: { $ref: 'User#' } },
},
handler: async (request, reply) => {
const user = await createUser(request.body);
return reply.code(201).send(user);
},
});