Cursor Skills Node

CURSOR-SKILLS rules for Node.js (Express, NestJS, Next.js). ESLint, Prettier, tests.

agent-kit-startup aedb937 1.2 KB Updated

File contents

CURSOR-SKILLS - Node.js

Source: cursor-skills/node

CURSOR setup

  • ES6 snippets, Node Extension Pack, npm Intellisense, Prettier, ESLint, Thunder Client / REST Client.

Typical structure

project/
├── src/   ├── tests/   ├── docs/   ├── node_modules/
├── package.json   ├── package-lock.json   └── .env

Packages

  • npm or yarn; package-lock.json/yarn.lock; separate dev deps; semver; scripts in package.json.

By framework

  • Express: middleware, routes, error handling; source.fixAll.eslint, format on save.
  • NestJS: modules, services, controllers, DI; TypeScript, ESLint.
  • Next.js: pages, App Router, API routes, SSR/SSG/ISR; Emmet for javascriptreact.

Code

  • ES6+; TypeScript when it makes sense; error handling; JSDoc; standardization (Prettier, ESLint).
  • Tests: Jest or Mocha; coverage ≥ 80%.

Security, DB, and APIs

  • Validate inputs; OWASP; hashing; HTTPS. Sequelize/TypeORM; avoid N+1; transactions.
  • REST: HTTP codes, versioning, JSON; auth, rate limit, CORS.

agent-kit-startup/agent-kit/tree/main/.cursor/skills/community/cursor-skills-node commit aedb937ee6

Frequently asked questions

npx skillmds@latest add agent-kit-startup/cursor-skills-node