From mcollina-skills-1
Guides Fastify backend development with TypeScript/JavaScript, covering routes, plugins, validation, error handling, authentication, testing, and deployment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcollina-skills-1: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.mdtile.jsonUse 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:
npx claudepluginhub mcollina/skillsProvides 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.
Builds REST APIs with Fastify and TypeScript, including route creation, TypeBox schema validation, request handling, and plugin architecture.