comparar · Code quality
Both work with Node.js. In a kit you pick one, and your agent gets the rule to use only that one.
| Husky + lint-staged | NestJS Swagger UI | |
|---|---|---|
| What it is | Formats the changed files on every commit. | Generate interactive API documentation and an OpenAPI JSON document from NestJS controllers. |
| Frameworks | React, Vue, Svelte, Solid, Vanilla, Next.js, Node.js, Bun, Expo, Nuxt, SvelteKit, Astro, Angular, React Native | Node.js |
| Paquetes | — | @nestjs/swagger@^12.1.2 |
| Skill oficial | — | — |
| How your agent uses it | Every commit runs through `lint-staged` (`.husky/pre-commit`). Don't use `--no-verify` to skip it: if it fails, fix what it reports. | Run the API and open /docs for Swagger UI or /docs-json for its contract. Document request and response DTOs using @nestjs/swagger decorators. |
| Kits that offer it | api-elysia, api-express, api-fastify, api-hono, api-nestjs, blog-astro, chrome-extension, cli-node, desktop-electron, desktop-tauri, discord-bot, docs-fumadocs, docs-starlight, docs-vitepress, github-action, landing-astro, landing-next, landing-nuxt, landing-sveltekit, mcp-server-ts, mobile-expo, mobile-expo-supabase, mobile-ignite, mobile-ionic-react, portfolio-astro, saas-ai-next, saas-next-better-auth, saas-next-supabase, saas-nuxt, saas-sveltekit, saas-t3, saas-tanstack-start, slack-app, spa-vite-react, vscode-extension, web-angular, web-astro, web-next, web-nuxt, web-react-router, web-sveltekit, web-tanstack-start, web-vue-vite | api-nestjs |
| Chosen in | 0 installs | 0 installs |