/engineering-paved-path:fastify-best-practicesfrom Engineering Paved Path
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.
Ships in Engineering Paved Path. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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()
references/plugins.md → references/routes.md → references/schemas.mdreferences/plugins.md → references/hooks.md → references/authentication.mdreferences/schemas.md → references/serialization.md → references/performance.mdreferences/routes.md → references/testing.mdreferences/logging.md → references/configuration.md → references/deployment.mdRead individual rule files for detailed explanations and code examples:
references/authentication.md (opens in a new tab)references/configuration.md (opens in a new tab)references/content-type.md (opens in a new tab)references/cors-security.md (opens in a new tab)references/database.md (opens in a new tab)references/decorators.md (opens in a new tab)references/deployment.md (opens in a new tab)references/error-handling.md (opens in a new tab)references/hooks.md (opens in a new tab)references/http-proxy.md (opens in a new tab)references/logging.md (opens in a new tab)references/performance.md (opens in a new tab)references/plugins.md (opens in a new tab)references/routes.md (opens in a new tab)references/schemas.md (opens in a new tab)references/serialization.md (opens in a new tab)references/testing.md (opens in a new tab)references/typescript.md (opens in a new tab)references/websockets.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syukpublic/ai-dev-toolkit --plugin engineering-paved-path8 skills in this plugin
/next-best-practicesNext.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling/onion-architectureEnforces Onion Architecture (dependencies point inward) on a TypeScript backend (a Fastify + Drizzle + Zod server/ package and a pure domain core, reviewer-core in the reference layout). Use this skill whenever you add or change a backend route, service, repository, adapter, DB query, contract, or DI wiring — and whenever deciding WHERE a piece of logic, an external-tool call (LLM/OpenAI/Anthropic/OpenRouter, GitHub/octokit, git, ripgrep/ast-grep, Postgres), a type, or a validation belongs across layers. Also use when reviewing layering, an import that crosses package/layer boundaries, a leaked Drizzle query, a directly-instantiated SDK client, or business logic creeping into a route. Trigger terms: onion architecture, layer, dependency direction/rule, ports and adapters, repository, service, adapter, composition root, container, dependency inversion, where should this live, layering violation./react-best-practicesModern React best practices and anti-pattern catalog (2025-26). Use when writing, reviewing, or refactoring React components, hooks, and state management. Covers component design, state patterns, hooks misuse, performance, data fetching, and code organization.