AI skills for Fastify
AI Coding Skills for Fastify
Browse the best AI coding skills for Fastify in 2026, TypeBox schemas, plugin scaffolding, OpenAPI generation, prisma + drizzle integration, and load testing. Works with every major AI coding tool.
Short answer
The best AI coding skills for Fastify are skills-hub's `code-review`, `unit-test` (Vitest + fastify.inject), `api-scaffold` (Fastify v5 + TypeBox), `api-docs` (OpenAPI 3.1), `db-schema` (Prisma / Drizzle), `secure`, and `load-test` (k6 / Artillery). All portable across major AI coding tools.
Fastify in 2026 means TypeBox schemas for validation, plugins-as-encapsulation, and OpenAPI 3.1 generation that actually matches the running code. The skills below detect your Fastify stack and emit idiomatic plugin patterns with proper hook ordering, decorators, and request/reply typing.
Top skills for Fastify
01api-review
5 installsReview API design against REST best practices and internal consistency. Audits naming conventions, HTTP method semantics, status code correctness, pagination and filtering patterns, error response format, versioning strategy, rate limiting, idempotency keys, HATEOAS links, and content negotiation. Works with Express, Fastify, Hono, Flask, Django REST, Spring, Rails, Gin, and any HTTP API framework. Use when you need to review an API, audit REST endpoints, check API consistency, fix HTTP status codes, add pagination, or prepare an API for public release.
Reviewfrom Skills Hub02api-docs
3 installsGenerate OpenAPI 3.1 documentation from your API codebase. Auto-detects Express, Fastify, NestJS, Django, FastAPI, Flask, Rails, Spring, Go, and more. Extracts routes, request/response schemas, auth requirements, and validation rules. Sets up interactive docs with Swagger UI, Redoc, or Scalar. Use when you need API documentation, OpenAPI spec, Swagger docs, endpoint reference, or REST API docs.
Docsfrom Skills Hub03api-scaffold
2 installsScaffold a production-ready backend REST API -- generate a complete server project with routes, controllers, service layer, repository pattern, database models with migrations, JWT authentication with RBAC, request validation, global error handling with custom error classes, structured JSON logging, rate limiting, CORS, health check endpoint, OpenAPI/Swagger documentation, multi-stage Dockerfile, and docker-compose with PostgreSQL and Redis. Supports Fastify 5, NestJS, Express, FastAPI, Django REST, Gin, Chi, Echo, and Rails -- auto-detects framework from context. Build a backend, create an API, generate server, scaffold REST service, new backend project.
Buildfrom Skills Hub04integration-test
1 installsGenerate integration tests for APIs, databases, and external services. Auto-detects backend stack (Express, Fastify, NestJS, Django, FastAPI, Rails, Go), ORM (Prisma, TypeORM, SQLAlchemy, GORM), and database (PostgreSQL, MongoDB, Firestore), then creates tests covering endpoint CRUD, auth flows, DB transactions, and external service failures with proper fixtures and mocks. Self-heals failing tests up to 3 iterations. Use when you need to test API endpoints end-to-end, verify database operations, test service interactions, or validate auth and error handling.
Testfrom Skills Hub05contract-test
1 installsGenerate consumer-driven contract tests for APIs. Auto-detects framework (Express, Fastify, NestJS, Django, FastAPI, Go), selects Pact, OpenAPI validation, or schema snapshots, verifies backward compatibility, catches breaking changes before deploy, and configures CI verification. Use when you need to validate API schemas, prevent breaking changes, verify backward compatibility, or set up consumer-driven contracts.
Testfrom Skills Hub06fastify-typescript
Guidelines for building high-performance APIs with Fastify and TypeScript, covering validation, Prisma integration, and testing best practices
Buildfrom Mindrally Skills07nestjs-performance
Optimize NestJS throughput with Fastify adapter, singleton scope enforcement, compression, and query projections. Use when switching to Fastify, diagnosing request-scoped bottlenecks, or profiling API overhead. (triggers: main.ts, FastifyAdapter, compression, SINGLETON, REQUEST scope)
Buildfrom Multi-Language Standards08fintech-api
Scaffold a production-ready financial services API -- generate a complete fintech backend with Plaid bank account linking and transaction sync, ACH/wire/card payment processing with payment orchestration, double-entry bookkeeping ledger with immutable entries and balance caching, KYC identity verification workflow with progressive tiers and document upload, idempotent request handling with deduplication windows, HMAC-signed outbound webhooks with retry and exponential backoff, append-only audit logging for compliance, multi-currency support with integer minor-unit arithmetic, and field-level encryption for sensitive data. Supports Fastify 5, NestJS, Express, FastAPI, Django REST, and Gin. Build a fintech API, create payment backend, scaffold banking API, financial services backend, money transfer service, neobank API, lending platform.
Buildfrom Skills Hub09migrate
Migrate between frameworks, libraries, or language versions — React class→hooks, JavaScript→TypeScript, Express→Fastify, and more. Preserves behavior with tests.
Build
Frequently asked questions
Do AI skills handle Fastify's plugin pattern?
Yes, the api-scaffold skill emits FastifyPluginAsync + fastify-plugin wrapping where encapsulation is wrong, proper register order, and decorators with TypeScript module augmentation.
Can AI generate TypeBox + OpenAPI?
Yes. TypeBox schemas are emitted with proper Type.Object / Type.Union / Type.Literal calls, attached to route definitions as schema, and the api-docs skill derives OpenAPI 3.1 directly from them.
What's the best AI tool for Fastify?
Cursor and Claude Code both handle TypeScript backend work strongly. Fastify-specific routing patterns are well represented in skills-hub's catalog.
Do AI skills test Fastify with fastify.inject?
Yes. The unit-test skill detects Fastify and emits tests using fastify.inject() for fast in-process tests rather than booting a real HTTP server.