Help us improve
Share bugs, ideas, or general feedback.
From ak-coding
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.
npx claudepluginhub akallabet/akallabeth-cc-marketplace --plugin ak-codingHow this skill is triggered — by the user, by Claude, or both
Slash command
/ak-coding:fastifyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when you need to:
rules/authentication.mdrules/configuration.mdrules/content-type.mdrules/cors-security.mdrules/database.mdrules/decorators.mdrules/deployment.mdrules/error-handling.mdrules/hooks.mdrules/http-proxy.mdrules/logging.mdrules/performance.mdrules/plugins.mdrules/routes.mdrules/schemas.mdrules/serialization.mdrules/testing.mdrules/typescript.mdrules/websockets.mdGuides Fastify framework usage: routing, plugins, JSON schema validation, hooks, serialization, and performance optimization. Activate when working with Fastify or building high-performance Node.js APIs.
Provides Fastify 5 best practices, API reference, and patterns for routes, plugins, hooks, validation, error handling, and TypeScript. Use for writing routes/plugins/hooks, looking up APIs, debugging lifecycle/validation issues, or reviewing anti-patterns.
Builds performant Fastify APIs with schema validation, plugins, decorators, and hooks. Includes TypeBox type-safe routes and modular plugin architecture.
Share bugs, ideas, or general feedback.
Use this skill when you need to:
A minimal, runnable Fastify server to get started immediately:
import Fastify from 'fastify'
const app = Fastify({ logger: true })
app.get('/health', async (request, reply) => {
return { status: 'ok' }
})
const start = async () => {
await app.listen({ port: 3000, host: '0.0.0.0' })
}
start()
plugins.md → routes.md → schemas.mdplugins.md → hooks.md → authentication.mdschemas.md → serialization.md → performance.mdroutes.md → testing.mdlogging.md → configuration.md → deployment.mdRead individual rule files for detailed explanations and code examples: