/engineering-practices:fastify-best-practicesfrom engineering-practices
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-practices. 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()
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:
rules/authentication.md (opens in a new tab)rules/configuration.md (opens in a new tab)rules/content-type.md (opens in a new tab)rules/cors-security.md (opens in a new tab)rules/database.md (opens in a new tab)rules/decorators.md (opens in a new tab)rules/deployment.md (opens in a new tab)rules/error-handling.md (opens in a new tab)rules/hooks.md (opens in a new tab)rules/http-proxy.md (opens in a new tab)rules/logging.md (opens in a new tab)rules/performance.md (opens in a new tab)rules/plugins.md (opens in a new tab)rules/routes.md (opens in a new tab)rules/schemas.md (opens in a new tab)rules/serialization.md (opens in a new tab)rules/testing.md (opens in a new tab)rules/typescript.md (opens in a new tab)rules/websockets.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ai-agentic-engineering-neo/dev-digest-ai-marketplace --plugin engineering-practices12 skills in this plugin
/drizzle-orm-patternsProvides comprehensive Drizzle ORM patterns for schema definition, CRUD operations, relations, queries, transactions, and migrations. Proactively use for any Drizzle ORM development including defining database schemas, writing type-safe queries, implementing relations, managing transactions, and setting up migrations with Drizzle Kit. Supports PostgreSQL, MySQL, SQLite, MSSQL, and CockroachDB./frontend-architectureCode organization and architecture decisions for React 19 + Next.js 15 App Router (TypeScript). WHERE code lives, not HOW to write it. Covers: project folder structure, feature-based organization, component splitting rules, constants/utils/helpers/services placement, business logic separation, naming conventions, state colocation, and Next.js Server/Client Component boundary decisions. TRIGGER when: "where to put", "folder structure", "project structure", "how to organize", "where does X live", "code organization", "feature folder", "colocation", "business logic", "utils vs helpers", "constants", "component splitting", "Server Component or Client Component", "Server Action or Route Handler", "where do I place". Does NOT cover: React hooks API, component implementation style, Next.js caching/metadata features, state management APIs (use react-best-practices, next-best-practices, or typescript-expert for those).
/mermaid-diagramCreate Mermaid diagrams in markdown. Use when the user wants to visualize workflows, architectures, API flows, data models, state machines, or system designs. Covers flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, and more./next-best-practicesNext.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling/onion-architectureOnion Architecture enforcement for a Node.js backend stack such as Fastify 5, Drizzle ORM, Zod, TypeScript. Defines the four concentric layers (Domain, Application, Infrastructure, Presentation), the inward-only dependency rule, and how each tool maps to a layer. TRIGGER when: adding a new backend module, touching routes.ts / service.ts / repository.ts, "where does X go", "what layer", "can I import", adding new adapter, touching container.ts, service directly queries DB, route handler contains business logic, Drizzle schema imported in service. Does NOT cover: Fastify plugin API details (use fastify-best-practices), Drizzle query syntax (use drizzle-orm-patterns), Zod schema syntax (use zod), PostgreSQL schema design (use postgresql-table-design).
/postgresql-table-designUse this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features4 plugins ship this exact skill · first indexed Jul 9, 2026
Other plugins' skills for the same job